-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecation / Removal of Mutation Events #807
Comments
This is great, thanks for driving this! I suggest position Your ideas sound reasonable to me. Maybe a reverse origin trial could make sense here to allow for a longer grace period where needed. |
MutationEvents have been deprecated in Gecko since 2012. Thanks a ton for driving this work! And yes, very strong positive position. |
Thanks!
Yep, that's definitely on my list of things to add. I did that with Web Components v0, and it was quite helpful.
Great! I agree the usage is (still) quite high, but let's see what we can do about that.
Thanks, much appreciated! @zcorpan or @smaug----, would one of you be willing to co-author a blog post on this topic, to show joint support? I've got one drafted, and I can share the draft with you for edits and input, if you're interested. It would be published on developer.chrome.com, but we'd show your Mozilla affiliation prominently. |
Sure |
Awesome, thanks! I need to figure out the process for this, and see if I can line up a WebKit person also, so I'll be in touch. |
FYI: Some google apps still use DOM mutation event listeners if running in Firefox. So I'd be really happy if Google would fix them on this occasion. I guess that they are in Closure: |
Thanks for pointing that out! I actually noticed the same thing last week and was talking to someone about that, but I really appreciate the bug link with a lot more context. That'll help me. I'll pick that up and make sure it gets removed ASAP. |
It took some time to verify nothing breaks, but we've landed a change (from this to this) to hard-code If you notice any other similar things in Google code, please do call them out to me and I'll work on getting them removed. |
Request for Mozilla Position on an Emerging Web Specification
Other information
I am going to make a push to remove Mutation Events from Chromium. This will not be easy, and success is definitely not guaranteed. The timeline is >= 1 year, if things go well. It's possible we might need to fall back to "delayed" mutation events that run at microtask or CEReactions timing. It's possible we might not be able to remove all of the events.
However, whatever happens, I'm hoping to get the support of Gecko (and WebKit), which will help convince developers who own existing usage to migrate to Mutation Observer. Some ideas, if you're supportive, might include:
The text was updated successfully, but these errors were encountered: