Closed
Bug 1358893
Opened 8 years ago
Closed 8 years ago
Stop using nsDocument::CreateEvent("beforeunloadevent") internally
Categories
(Core :: DOM: Events, enhancement)
Core
DOM: Events
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: ayg, Assigned: ayg)
References
Details
Attachments
(1 file)
We're trying to see if
Chrome says they see almost zero usage of document.createEvent("beforeunloadevent"), so they're willing to drop support:
https://github.com/whatwg/dom/issues/362#issuecomment-295723397
We can't assess our usage, because we use it internally from C++ code instead of directly constructing the event. We should stop doing that so we can figure out if webpages are actually using this event.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 3•8 years ago
|
||
Comment on attachment 8860749 [details]
Bug 1358893 - Stop using document.createEvent("beforeunloadevent") internally;
Requesting data review.
Attachment #8860749 -
Flags: feedback?(benjamin)
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8860749 [details]
Bug 1358893 - Stop using document.createEvent("beforeunloadevent") internally;
https://reviewboard.mozilla.org/r/132676/#review135520
Attachment #8860749 -
Flags: review?(bugs) → review+
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Attachment #8860749 -
Flags: feedback?(benjamin)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 7•8 years ago
|
||
Comment on attachment 8860749 [details]
Bug 1358893 - Stop using document.createEvent("beforeunloadevent") internally;
Apparently I didn't actually try to compile this locally. This makes me sad. Sorry for the spam, but MozReview doesn't carry forward feedback flags.
Attachment #8860749 -
Flags: feedback?(benjamin)
Comment 8•8 years ago
|
||
Comment on attachment 8860749 [details]
Bug 1358893 - Stop using document.createEvent("beforeunloadevent") internally;
data-r=me
Attachment #8860749 -
Flags: feedback?(benjamin) → feedback+
Pushed by ayg@aryeh.name:
https://hg.mozilla.org/integration/autoland/rev/eb2b2dec98d1
Stop using document.createEvent("beforeunloadevent") internally; r=smaug
Comment 10•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•