Closed
Bug 1161950
Opened 10 years ago
Closed 10 years ago
Remove support for createEvent("CloseEvent") / initCloseEvent
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla41
People
(Reporter: Ms2ger, Assigned: baku)
References
Details
(Keywords: dev-doc-complete, site-compat)
Attachments
(2 files)
2.79 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
856 bytes,
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → amarchesini
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8602781 -
Flags: review?(bugs)
Comment 2•10 years ago
|
||
Comment on attachment 8602781 [details] [diff] [review]
closeEvent.patch
blink supports createEvent("CloseEvent"), but doesn't seem to have
initCloseEvent. Bizarre.
Also IE supports createEvent("CloseEvent"). It seems to have also initCloseEvent
So, no, I don't think I'm ready for this change. Could easily break something.
Attachment #8602781 -
Flags: review?(bugs) → review-
Comment 3•10 years ago
|
||
Anne, any opinion on this. The spec doesn't follow any implementation, and it is not quite clear to me why.
But maybe we could try to remove createEvent("CloseEvent"); very early next cycle.
Flags: needinfo?(annevk)
Comment 4•10 years ago
|
||
Well the main reason is that we don't want new createEvent() arguments or new init*Event() methods. They're entirely redundant with the constructors we introduced some time ago. I suppose we can add those we cannot remove, but I'd rather stick to the small list we have in the specifications today.
We might want to have some preventive checks in the IDL generator to ensure nobody adds new nonsense?
Flags: needinfo?(annevk)
Comment 5•10 years ago
|
||
Comment on attachment 8602781 [details] [diff] [review]
closeEvent.patch
Ok, let's try to remove early next cycle.
Attachment #8602781 -
Flags: review- → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Reporter | ||
Updated•10 years ago
|
Keywords: dev-doc-needed,
site-compat
Assignee | ||
Comment 6•10 years ago
|
||
Keywords: checkin-needed
Assignee | ||
Comment 7•10 years ago
|
||
Attachment #8605806 -
Flags: review?(Ms2ger)
Reporter | ||
Updated•10 years ago
|
Attachment #8605806 -
Flags: review?(Ms2ger) → review+
Assignee | ||
Comment 8•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/dc5dd3099b46
https://hg.mozilla.org/mozilla-central/rev/ef806bb00e1f
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Comment 10•9 years ago
|
||
Updated docs:
https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/initCloseEvent
https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent
and
https://developer.mozilla.org/en-US/Firefox/Releases/41#Events
Keywords: dev-doc-needed → dev-doc-complete
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•