Bug 85161 - Unprefix mutation observers API and add a warning about the use of mutation events
Summary: Unprefix mutation observers API and add a warning about the use of mutation e...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Elliott Sprehn
URL:
Keywords: WebExposed
Depends on: 78290 89231 89351
Blocks: 68729
  Show dependency treegraph
 
Reported: 2012-04-29 11:56 PDT by Ryosuke Niwa
Modified: 2013-02-13 17:44 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.