[Bug 24725] New: Use the microtask queue for MutationObserver
| Newsgroups | gmane.comp.web.dom.general |
|---|---|
| Message-ID | <[email protected]/Bugs/Public/> |
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24725
Bug ID: 24725
Summary: Use the microtask queue for MutationObserver
Product: WebAppsWG
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: DOM
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
http://www.whatwg.org/specs/web-apps/current-work/#perform-a-microtask-checkpoint
There's a note there that says "This will be removed once mutation observers
have been updated to use the microtask queue."
Make it so!
The reason I want this is that if one is able to queue two MutationObserver
microtasks before and after another microtask that doesn't run scripts, it
would be possible to test with precision that the microtask in the middle runs
exactly when it should and does what it should. (For this to work, each
MutationObserver must queue a microtask separately, they can't be batched as
they currently are.)
--
You are receiving this mail because:
You are on the CC list for the bug.