[webkit-dev] DOM Mutation Events. WAS: Fwd: webkit editing rewrite?

Timothy Hatcher timothy at apple.com
Mon Aug 9 20:21:08 PDT 2010


On Aug 9, 2010, at 7:52 PM, Dimitri Glazkov wrote:

> I am very, very tempted to just get rid of them. As Ojan indicated,
> the use cases for DOM Mutation events are extremely limited and to me,
> most of them feel like we should be solving them differently anyway.
> 
> However, with the introduction of extensions into Chromium and Safari,
> DOM Mutation events experience a sort of renaissance, being used to
> sense the DOM changes to re-apply modifications (rewrite URLs, text,
> etc.).
> 
> So I think we will upset a bunch of extensions developers if we just
> go cold turkey, which is probably not the right thing -- regardless of
> whether techniques they employ are sound or not.
> 
> With this in mind, I think we should do #1 and #3, then #2 after some
> time and loud over-communication (like Inspector warnings, blog posts,
> billboards on Hwy 101 etc.).


Adding input/beforeinput events (#3) wont solve the need of most extension developers that use mutation events today (the examples you cite). So that makes it hard to remove them, especially over time, no matter how much warning you give.

— Timothy Hatcher



More information about the webkit-dev mailing list