W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2014

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 19 Feb 2014 07:24:31 +0000
To: www-dom@w3.org
Message-ID: <bug-24725-4009@http.www.w3.org/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: 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

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:22 UTC