Closed
Bug 1388119
Opened 8 years ago
Closed 8 years ago
Drop support for ErrorEvent and PopStateEvent in createEvent
Categories
(Core :: DOM: Events, enhancement)
Core
DOM: Events
Tracking
()
RESOLVED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: ayg, Assigned: ayg)
References
Details
Attachments
(1 file)
https://github.com/whatwg/dom/issues/362
https://github.com/whatwg/dom/pull/489
ErrorEvent is certainly safe to drop, since we only added it in bug 1333901, because the spec didn't indicate that the list had been under discussion for months and was likely to change. :(
PopStateEvent is not supported by WebKit in createEvent (according to my testing last November), and we and Blink support it but have no means to initialize it. Edge does support it, with an initializer. IIRC, Telemetry showed ~0 uses, although the telemetry page is taking many minutes to load, so I can't provide a working link right now.
Assignee | ||
Comment 1•8 years ago
|
||
Oh, yes, and foolip intends to try dropping support for these events in Blink as well, and thinks he'll succeed because the usage is very low.
https://www.chromestatus.com/metrics/feature/timeline/popularity/1170
https://www.chromestatus.com/metrics/feature/timeline/popularity/1176
PopStateEvent for Chrome is hit by less than 0.000001% of pages.
Comment hidden (mozreview-request) |
Comment 3•8 years ago
|
||
mozreview-review |
Comment on attachment 8894608 [details]
Bug 1388119 - Drop support for createEvent("ErrorEvent"/"PopStateEvent");
https://reviewboard.mozilla.org/r/165772/#review170858
Attachment #8894608 -
Flags: review?(bugs) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Pushed by ayg@aryeh.name:
https://hg.mozilla.org/integration/autoland/rev/b668f3429c7f
Drop support for createEvent("ErrorEvent"/"PopStateEvent"); r=smaug
Comment 7•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in
before you can comment on or make changes to this bug.
Description
•