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

[Bug 16092] New: MutationObserver.disconnect() should cancel any pending deliveries

From: <bugzilla@jessica.w3.org>
Date: Thu, 23 Feb 2012 18:25:02 +0000
To: www-dom@w3.org
Message-ID: <bug-16092-4009@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16092

           Summary: MutationObserver.disconnect() should cancel any
                    pending deliveries
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
        AssignedTo: annevk@opera.com
        ReportedBy: adamk@chromium.org
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, Olli.Pettay@gmail.com, jonas@sicking.cc,
                    rniwa@webkit.org, www-dom@w3.org, rafaelw@chromium.org


>From rafaelw, in https://bugs.webkit.org/show_bug.cgi?id=78639:

"It's pretty strange to call disconnect() and still *possibly* get one
invocation of your callback. We should just clear any pending deliveries.

It's possible that script way want to know immediately prior to calling
disconnect() *what* mutation records are pending delivery. If this happens in
practice, we can add a method to synchronously retrieve & clear pending
mutation records."

This is easy for WebKit to change, but want to make sure it makes sense and get
it fixed in the spec first.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Thursday, 23 February 2012 18:25:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:09 GMT