Bug 85161

Summary: Unprefix mutation observers API and add a warning about the use of mutation events
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: DOMAssignee: Elliott Sprehn <esprehn>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: adamk, annevk, ericbidelman, Ms2ger, paulirish, syoichi
Priority: P2 Keywords: WebExposed
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 78290, 89231, 89351    
Bug Blocks: 68729    

Description Ryosuke Niwa 2012-04-29 11:56:36 PDT
We should try to get rid of mutation events ASAP. In order to do so, we need an unprefixed alternative.

Mozilla is removing the prefix in https://bugzilla.mozilla.org/show_bug.cgi?id=749920 so we should do the same after making sure our implementation matches the spec.

As far as I know, the bug 83496 is the only blocker for this bug for ports that use V8. For ports that use JSC, we also need to fix bug 71865 and bug 78290.
Comment 1 Adam Klein 2012-04-30 08:57:54 PDT
(In reply to comment #0)
> We should try to get rid of mutation events ASAP. In order to do so, we need an unprefixed alternative.
> 
> Mozilla is removing the prefix in https://bugzilla.mozilla.org/show_bug.cgi?id=749920 so we should do the same after making sure our implementation matches the spec.
> 
> As far as I know, the bug 83496 is the only blocker for this bug for ports that use V8. For ports that use JSC, we also need to fix bug 71865 and bug 78290.

Just marked 83496 as a dup (it was fixed in bug 83706), and bug 71865 was fixed in http://trac.webkit.org/changeset/107008, so the only difference in behavior I know of between WebKit and Mozilla is due to bug 78290 (only affecting JSC-using ports, it boils down to a lack of proper timing for DOM mutations due to editing).
Comment 2 Adam Klein 2012-05-02 14:07:20 PDT
A correction: bug 78290 affects not just non-V8 ports, but any non-Chromium port.
Comment 3 Adam Klein 2012-06-18 09:24:16 PDT
Found a major interoperability difference between the WebKit and Firefox implementations: FF notifies of mutations done by the parser. We'll want to resolve that before unprefixing. See bug 89351.
Comment 4 Anne van Kesteren 2023-08-27 23:55:19 PDT
This happened at some point, except for the warning for mutation events. That probably warrants a new bug at this point though if we want to pursue it.