Closed Bug 1407191 Opened 3 years ago Closed 5 months ago
Event loop message queue processing: incorrect description
:: Developer Documentation Request Request Type: Correction Gecko Version: unspecified Technical Contact: :: Details Section 'Queue' says: "When the stack has enough capacity, a message is taken out of the queue and processed." This contradicts subsequent section which shows event loop pseudo code that simply processes messages one at a time. Processing of a message seems only to wait for the previous one to finish, not for some check of stack space. (I assume that the single JS thread has its own stack. If instead the stack is shared, so that some other process can fill it... then that needs to be mentioned.) Conversely there also seems not to be the capability to process multiple messages at once if there is a lot of stack space available. Indeed, the latter would violate the later statement "Each message is processed completely before any other message is processed." My conclusion is that the quoted sentence is just plain wrong.
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: UNCONFIRMED → RESOLVED
Closed: 5 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.