[Bug 24725] New: Use the microtask queue for MutationObserver

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: annevk@annevk.nl
          Reporter: philipj@opera.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org

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.

Received on Wednesday, 19 February 2014 07:24:33 UTC