Skip to content

Remove definitions of MutationEvent and friends - #381

Merged
domenic merged 1 commit into
w3c:mainfrom
mfreed7:mutation_events
Sep 4, 2024
Merged

domenic merged 1 commit into
w3c:mainfrom
mfreed7:mutation_events

Conversation

@mfreed7

@mfreed7 mfreed7 commented Aug 26, 2024 •

Copy link
Copy Markdown
Contributor

Please see this WHATWG/dom issue for more details:

whatwg/dom#305 (comment)

Mutation events have now been disabled for most all users of the Chrome browser. While there are still a few sites opted back in to the events via origin trial tokens, those are time limited and we've committed to end-date them as soon as possible. However, it feels appropriate to remove the definition of these deprecated events from the standard at this point.

The following tasks have been completed:

Implementation commitment:

Please see this WHATWG/dom issue for more details:

whatwg/dom#305 (comment)

Mutation events have now been disabled for most all users of
the Chrome browser. While there are still a few sites opted
back in to the events via origin trial tokens, those are time
limited and we've committed to end-date them as soon as possible.
However, it feels appropriate to remove the definition of these
deprecated events from the standard at this point.

@domenic domenic left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I might have merge permissions on this repository? Let's give it a shot...

@domenic
domenic merged commit acbbc29 into w3c:main Sep 4, 2024
@mfreed7

mfreed7 commented Sep 4, 2024

Copy link
Copy Markdown
Contributor Author

Hmm, I might have merge permissions on this repository? Let's give it a shot...

Guess you do! Thanks!

@domenic

domenic commented Sep 5, 2024

Copy link
Copy Markdown

Hmm it's still appearing in https://w3c.github.io/uievents/ though. I think maybe because there are actually many files in this repo, several of which still mention MutationEvent? https://github.com/search?q=repo%3Aw3c%2Fuievents+mutationevent&type=code

@mfreed7

mfreed7 commented Sep 6, 2024

Copy link
Copy Markdown
Contributor Author

Hmm it's still appearing in https://w3c.github.io/uievents/ though. I think maybe because there are actually many files in this repo, several of which still mention MutationEvent? https://github.com/search?q=repo%3Aw3c%2Fuievents+mutationevent&type=code

Weird - I definitely left some references to mutation events there, and I'll put up another PR to remove those. But I'm guessing something else needs to get run to re-publish, since none of my removals seem to be published. E.g. this section doesn't exist in the source, at least that I can see.

@mfreed7

mfreed7 commented Sep 6, 2024

Copy link
Copy Markdown
Contributor Author

Hmm it's still appearing in https://w3c.github.io/uievents/ though. I think maybe because there are actually many files in this repo, several of which still mention MutationEvent? https://github.com/search?q=repo%3Aw3c%2Fuievents+mutationevent&type=code

Weird - I definitely left some references to mutation events there, and I'll put up another PR to remove those. But I'm guessing something else needs to get run to re-publish, since none of my removals seem to be published. E.g. this section doesn't exist in the source, at least that I can see.

No, that's not necessarily true. I think github search maybe just missed them. I'll put up another PR and let's see what it looks like after that one.

@mfreed7

mfreed7 commented Sep 6, 2024

Copy link
Copy Markdown
Contributor Author

Ok, #382. I really don't get how this repo is supposed to be built, because it seems like build.py doesn't generate all of the seemingly-generated files, such as TR.html. Which is also committed to the repo. Anyway, LMK if that looks better!

@garykac

garykac commented Sep 6, 2024

Copy link
Copy Markdown
Member

The build script only generates the .bs files from the .txt files. The final .html files are generated by an auto-publish process, so they are not checked in.

The files in the split directory were an experiment from earlier this year that are not active. I will be removing them.

@mfreed7

mfreed7 commented Sep 10, 2024

Copy link
Copy Markdown
Contributor Author

Hmm it's still appearing in https://w3c.github.io/uievents/ though. I think maybe because there are actually many files in this repo, several of which still mention MutationEvent? https://github.com/search?q=repo%3Aw3c%2Fuievents+mutationevent&type=code

Just to confirm - looks like they're all gone now.

The build script only generates the .bs files from the .txt files. The final .html files are generated by an auto-publish process, so they are not checked in.

This explains my confusion. I'm used to editing .bs files, not having those be build targets. Perhaps it'd be a good idea not to include the .bs files in the repo, since they're generated? Either way, thanks for the help getting this landed, to both of you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants