Closed
Bug 1480236
Opened 7 years ago
Closed 6 years ago
Implement queueMicrotask()
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla69
People
(Reporter: d, Assigned: smaug)
Details
(Keywords: dev-doc-complete)
Attachments
(1 obsolete file)
Updated•7 years ago
|
Priority: -- → P3
Comment 1•7 years ago
|
||
What is the status in other engines? It looked like the Blink intent to implement was withdrawn?
Comment 2•7 years ago
|
||
Yeah, I think that was mostly due to it not being in the standard, where it landed a couple days later. I suspect they'll intent again once https://github.com/w3ctag/design-reviews/issues/294 is closed. We could wait for that.
Reporter | ||
Comment 3•7 years ago
|
||
Yeah, working on the new intent now in Chrome.
Also worth noting WebKit seems to have implemented: https://bugs.webkit.org/show_bug.cgi?id=188212 (although only on Window for now due to infra issues with microtasks in workers).
Microsoft supports the API, in a sense strong enough to count as "implementer interest", although it's unclear what their prioritization would be: https://github.com/whatwg/html/issues/512#issuecomment-403555829
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → bugs
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Whoever ends up reviewing this, https://searchfox.org/mozilla-central/source/xpcom/base/CycleCollectedJSContext.cpp#201,249-252 is possibly useful.
Assignee | ||
Comment 6•6 years ago
|
||
Assignee | ||
Comment 7•6 years ago
|
||
aha, missing one MOZ_KnownLive annotation.
Assignee | ||
Comment 8•6 years ago
|
||
Assignee | ||
Comment 9•6 years ago
|
||
And more annotations, MOZ_CAN_RUN_SCRIPT_BOUNDARY
https://treeherder.mozilla.org/#/jobs?repo=try&revision=64967c74706762858dc14e75424a4fe244ad240e
Comment 10•6 years ago
|
||
Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9a5f590f5f75
Implement queueMicrotask(), r=baku
Comment 11•6 years ago
|
||
Backed out for breaking android builds at nsIGlobalObject.cpp
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=248093979&repo=autoland&lineNumber=21158
Backout: https://hg.mozilla.org/integration/autoland/rev/d451bd35ca1c95f6392cea158332c34e4729ee22
Flags: needinfo?(bugs)
Comment 12•6 years ago
|
||
There should be an intent sent somewhere for this, right?
Comment 14•6 years ago
|
||
Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/574e6b299f2d
Implement queueMicrotask(), r=baku
Updated•6 years ago
|
Attachment #9067090 -
Attachment is obsolete: true
Comment 15•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox69:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Updated•6 years ago
|
Keywords: dev-doc-needed
Updated•5 years ago
|
Comment 16•2 years ago
|
||
Docs exist for this feature
https://developer.mozilla.org/docs/Web/API/queueMicrotask
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•