Closed
Bug 1480236
Opened 5 years ago
Closed 4 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)
Spec: https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#microtask-queuing Tests: https://github.com/web-platform-tests/wpt/pull/6334
Updated•5 years ago
|
Priority: -- → P3
![]() |
||
Comment 1•5 years ago
|
||
What is the status in other engines? It looked like the Blink intent to implement was withdrawn?
Comment 2•5 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•5 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•4 years ago
|
Assignee: nobody → bugs
Assignee | ||
Comment 4•4 years ago
|
||
Assignee | ||
Comment 5•4 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•4 years ago
|
||
Assignee | ||
Comment 7•4 years ago
|
||
aha, missing one MOZ_KnownLive annotation.
Assignee | ||
Comment 8•4 years ago
|
||
Assignee | ||
Comment 9•4 years ago
|
||
And more annotations, MOZ_CAN_RUN_SCRIPT_BOUNDARY
https://treeherder.mozilla.org/#/jobs?repo=try&revision=64967c74706762858dc14e75424a4fe244ad240e
Comment 10•4 years ago
|
||
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9a5f590f5f75 Implement queueMicrotask(), r=baku
Comment 11•4 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•4 years ago
|
||
There should be an intent sent somewhere for this, right?
Comment 14•4 years ago
|
||
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/574e6b299f2d Implement queueMicrotask(), r=baku
Updated•4 years ago
|
Attachment #9067090 -
Attachment is obsolete: true
Comment 15•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox69:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Updated•4 years ago
|
Keywords: dev-doc-needed
Updated•4 years ago
|
Comment 16•5 months 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
•