Closed
Bug 1333901
Opened 9 years ago
Closed 9 years ago
document.createEvent("ErrorEvent") should work
Categories
(Core :: DOM: Events, defect)
Core
DOM: Events
Tracking
()
RESOLVED
FIXED
mozilla54
| Tracking | Status | |
|---|---|---|
| firefox54 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: smaug)
References
Details
Attachments
(1 file)
|
2.91 KB,
patch
|
masayuki
:
review+
|
Details | Diff | Splinter Review |
Per https://dom.spec.whatwg.org/#dom-document-createevent it's in the table, right?
We don't have a case for it in EventDispatcher::CreateEvent and have a comment about how new things should not be added there, but seems like either we should add it or push for a spec change or something.
Flags: needinfo?(bugs)
| Assignee | ||
Comment 1•9 years ago
|
||
Well, supported in Edge and Chrome at least, so I don't think there is reason to fight against in this trivial case.
Assignee: nobody → bugs
Flags: needinfo?(bugs)
| Assignee | ||
Comment 2•9 years ago
|
||
I use the same email for alert_emails as in other cases
wpt has a test for this
https://treeherder.mozilla.org/#/jobs?repo=try&revision=87a1828542e31fcd3aa83cefd007cfa330888006
Attachment #8830568 -
Flags: review?(masayuki)
Updated•9 years ago
|
Attachment #8830568 -
Flags: review?(masayuki) → review+
Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/fe6d35a774ed
support document.createEvent(ErrorEvent), r=masayuki
Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/0fb98449c43b
fix unexpected passes, r=me
Comment 5•9 years ago
|
||
seems this caused also https://treeherder.mozilla.org/logviewer.html#?job_id=72190702&repo=mozilla-inbound for some reason and so i had to backout the changes
Flags: needinfo?(bugs)
Backout by cbook@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b0a82bb74362
Backed out changeset fe6d35a774ed for causing hazard warnings after landing
Backout by cbook@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b14696671dcb
Backed out changeset 0fb98449c43b need also backed out to due to inital patch-backout
Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/42112710614b
support document.createEvent(ErrorEvent), r=masayuki
https://hg.mozilla.org/integration/mozilla-inbound/rev/e2957aeef3ed
fix hazard issue, r=me
Pushed by philringnalda@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/668f68822c19
fix unexpected passes, r=me
Comment 10•9 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/42112710614b
https://hg.mozilla.org/mozilla-central/rev/e2957aeef3ed
https://hg.mozilla.org/mozilla-central/rev/668f68822c19
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
Comment 11•9 years ago
|
||
Please note that all new data collection requires data review:
https://wiki.mozilla.org/Firefox/Data_Collection
| Assignee | ||
Comment 12•9 years ago
|
||
This was really just a modification to the existing collection of createEvent usage.
Flags: needinfo?(bugs)
Comment 13•9 years ago
|
||
Sign-off from data-review should be rather trivial in this case then.
FWIW, this seems like it might be more useful to use one categorical histogram with the labels "dragevents", "errorevent", etc.
That would show up like this: https://mzl.la/2jK2S5n
You need to log in
before you can comment on or make changes to this bug.
Description
•