Skip to content
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

Remove more types from document.createEvent() #489

Merged
merged 1 commit into from
Aug 7, 2017

Conversation

ayg
Copy link
Contributor

@ayg ayg commented Aug 6, 2017

Fixes #362. All of the removed event types except WheelEvent are
unsupported or are supported but cannot be properly initialized in
Blink, Gecko, and WebKit. WheelEvent is supported in WebKit with a
vendor-prefixed initializer, but WebKit is willing to try dropping it.


Preview | Diff

Fixes whatwg#362.  All of the removed event types except WheelEvent are
unsupported or are supported but cannot be properly initialized in
Blink, Gecko, and WebKit.  WheelEvent is supported in WebKit with a
vendor-prefixed initializer, but WebKit is willing to try dropping it.
ayg added a commit to ayg/web-platform-tests that referenced this pull request Aug 6, 2017
@annevk annevk merged commit 5a532da into whatwg:master Aug 7, 2017
annevk pushed a commit to web-platform-tests/wpt that referenced this pull request Aug 7, 2017
@annevk
Copy link
Member

annevk commented Aug 7, 2017

(FWIW, there's no longer a need for you to fork this repository. You should be able to create branches directly on whatwg/dom.)

@ayg ayg deleted the createEvent branch August 7, 2017 11:55
@ayg
Copy link
Contributor Author

ayg commented Aug 7, 2017

Is that preferred? My GitHub workflow in general is to fork, and it's easier for me to not have a different workflow for different repos, but if there's some advantage I could do it.

@annevk
Copy link
Member

annevk commented Aug 7, 2017

It's a little easier for me to push fixups to local branches, but that's about it. No strong preference, just thought it might be more convenient for you to have less repositories to track.

@ayg
Copy link
Contributor Author

ayg commented Aug 7, 2017

@ayg
Copy link
Contributor Author

ayg commented Aug 7, 2017

Actually, that bug is the opposite (adding a type that we don't yet support). Removing the two we do support that were removed in this commit is here: https://bugzilla.mozilla.org/show_bug.cgi?id=1388119

(It turns out ErrorEvent support was added to Firefox six months ago to match the spec, but now I think we should remove it again given that Chrome is willing to drop it.)

moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Aug 8, 2017
…t"); r=smaug

They were just dropped from the spec:

whatwg/dom#362
whatwg/dom#489

ErrorEvent we never supported anyway until it was added recently to
match the spec.  PopStateEvent is not supported by WebKit, Blink is
planning to try dropping support, our telemetry shows usage is
basically zero, and we never supported any way to initialize it anyway.

The changes to Document-createEvent.html and Document-createEvent.js are
taken from upstream.  The other wpt changes are new in this commit.

MozReview-Commit-ID: A6GzhLwL08l

--HG--
extra : rebase_source : 4bdcd605b179ea787985845e9b1c53f76ebc179a
weilonge pushed a commit to weilonge/gecko that referenced this pull request Aug 8, 2017
…t"); r=smaug

They were just dropped from the spec:

whatwg/dom#362
whatwg/dom#489

ErrorEvent we never supported anyway until it was added recently to
match the spec.  PopStateEvent is not supported by WebKit, Blink is
planning to try dropping support, our telemetry shows usage is
basically zero, and we never supported any way to initialize it anyway.

The changes to Document-createEvent.html and Document-createEvent.js are
taken from upstream.  The other wpt changes are new in this commit.

MozReview-Commit-ID: A6GzhLwL08l
jgraham pushed a commit to web-platform-tests/wpt that referenced this pull request Aug 11, 2017
They were just dropped from the spec:

whatwg/dom#362
whatwg/dom#489

ErrorEvent we never supported anyway until it was added recently to
match the spec.  PopStateEvent is not supported by WebKit, Blink is
planning to try dropping support, our telemetry shows usage is
basically zero, and we never supported any way to initialize it anyway.

The changes to Document-createEvent.html and Document-createEvent.js are
taken from upstream.  The other wpt changes are new in this commit.

MozReview-Commit-ID: A6GzhLwL08l

Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1388119 [ci skip]
JerryShih pushed a commit to JerryShih/gecko-dev that referenced this pull request Aug 14, 2017
…t"); r=smaug

They were just dropped from the spec:

whatwg/dom#362
whatwg/dom#489

ErrorEvent we never supported anyway until it was added recently to
match the spec.  PopStateEvent is not supported by WebKit, Blink is
planning to try dropping support, our telemetry shows usage is
basically zero, and we never supported any way to initialize it anyway.

The changes to Document-createEvent.html and Document-createEvent.js are
taken from upstream.  The other wpt changes are new in this commit.

MozReview-Commit-ID: A6GzhLwL08l
aethanyc pushed a commit to aethanyc/gecko-dev that referenced this pull request Aug 15, 2017
…t"); r=smaug

They were just dropped from the spec:

whatwg/dom#362
whatwg/dom#489

ErrorEvent we never supported anyway until it was added recently to
match the spec.  PopStateEvent is not supported by WebKit, Blink is
planning to try dropping support, our telemetry shows usage is
basically zero, and we never supported any way to initialize it anyway.

The changes to Document-createEvent.html and Document-createEvent.js are
taken from upstream.  The other wpt changes are new in this commit.

MozReview-Commit-ID: A6GzhLwL08l
rachelandrew pushed a commit to rachelandrew/web-platform-tests that referenced this pull request Nov 8, 2017
rachelandrew pushed a commit to rachelandrew/web-platform-tests that referenced this pull request Nov 8, 2017
They were just dropped from the spec:

whatwg/dom#362
whatwg/dom#489

ErrorEvent we never supported anyway until it was added recently to
match the spec.  PopStateEvent is not supported by WebKit, Blink is
planning to try dropping support, our telemetry shows usage is
basically zero, and we never supported any way to initialize it anyway.

The changes to Document-createEvent.html and Document-createEvent.js are
taken from upstream.  The other wpt changes are new in this commit.

MozReview-Commit-ID: A6GzhLwL08l

Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1388119 [ci skip]
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 1, 2019
…t"); r=smaug

They were just dropped from the spec:

whatwg/dom#362
whatwg/dom#489

ErrorEvent we never supported anyway until it was added recently to
match the spec.  PopStateEvent is not supported by WebKit, Blink is
planning to try dropping support, our telemetry shows usage is
basically zero, and we never supported any way to initialize it anyway.

The changes to Document-createEvent.html and Document-createEvent.js are
taken from upstream.  The other wpt changes are new in this commit.

MozReview-Commit-ID: A6GzhLwL08l

UltraBlame original commit: b668f3429c7f1ec6da0df694e75dbebb6c59533a
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 1, 2019
…t"); r=smaug

They were just dropped from the spec:

whatwg/dom#362
whatwg/dom#489

ErrorEvent we never supported anyway until it was added recently to
match the spec.  PopStateEvent is not supported by WebKit, Blink is
planning to try dropping support, our telemetry shows usage is
basically zero, and we never supported any way to initialize it anyway.

The changes to Document-createEvent.html and Document-createEvent.js are
taken from upstream.  The other wpt changes are new in this commit.

MozReview-Commit-ID: A6GzhLwL08l

UltraBlame original commit: b668f3429c7f1ec6da0df694e75dbebb6c59533a
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 1, 2019
…t"); r=smaug

They were just dropped from the spec:

whatwg/dom#362
whatwg/dom#489

ErrorEvent we never supported anyway until it was added recently to
match the spec.  PopStateEvent is not supported by WebKit, Blink is
planning to try dropping support, our telemetry shows usage is
basically zero, and we never supported any way to initialize it anyway.

The changes to Document-createEvent.html and Document-createEvent.js are
taken from upstream.  The other wpt changes are new in this commit.

MozReview-Commit-ID: A6GzhLwL08l

UltraBlame original commit: b668f3429c7f1ec6da0df694e75dbebb6c59533a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

document.createEvent() supports lots of events that most UAs do not support initializers for
2 participants