Rob Wu 7986b34f92 Bug 1983138 - Fix use of winLastError in subprocess a=RyanVM
Before this patch, an attempt to read from a program that closed its
stdout would result in a never-resolving read promise on Windows.

Before this patch, an attempt to write to a program that closed its
stdin would result in a never-resolving write promise on Windows.

This patch fixes both issues by fixing the typo that prevented the
implementation from detecting errors, and adds test coverage.

Original Revision: https://phabricator.services.mozilla.com/D261332

Differential Revision: https://phabricator.services.mozilla.com/D267841
2025-10-09 12:11:53 +00:00
2025-05-10 01:55:32 +00:00

Firefox Browser

Firefox is a fast, reliable and private web browser from the non-profit Mozilla organization.

Contributing

To learn how to contribute to Firefox read the Firefox Contributors' Quick Reference document.

We use bugzilla.mozilla.org as our issue tracker, please file bugs there.

Resources

If you have a question about developing Firefox, and can't find the solution on Firefox Source Docs, you can try asking your question on Matrix at chat.mozilla.org in the Introduction channel.

Description
Preconfigured browser for YouTube's TV interface
Readme 5.5 GiB
Languages
JavaScript 32.6%
C++ 25.1%
HTML 20.9%
C 10.6%
Python 2.8%
Other 7.6%