Closed
Bug 1814644
Opened 2 years ago
Closed 2 years ago
Remove GetIncumbentGlobal use in dom/streams
Categories
(Core :: DOM: Streams, task)
Core
DOM: Streams
Tracking
()
RESOLVED
FIXED
111 Branch
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: saschanaz, Assigned: saschanaz)
Details
Attachments
(1 file)
One may want to create a stream in an async C++ callback for example, in which case there won't be any relevant JS context in the call stack.
Assignee | ||
Comment 1•2 years ago
|
||
That was the only case that Promise::CreateInfallible may possibly get nullptr in dom/streams case, so it now just asserts the existence of nsIGlobalObject.
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cb1d91993dd1
Remove GetIncumbentGlobal use in SetUpReadableByteStreamController r=smaug
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox111:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•