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

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 UTC