Closed
Bug 1270083
Opened 9 years ago
Closed 9 years ago
HashChangeEvent members are not nullable
Categories
(Core :: DOM: Events, defect)
Core
DOM: Events
Tracking
()
RESOLVED
FIXED
mozilla49
| Tracking | Status | |
|---|---|---|
| firefox49 | --- | fixed |
People
(Reporter: annevk, Assigned: ben.tian)
Details
(Whiteboard: btpp-close [tw-dom])
Attachments
(1 file)
|
1.39 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
It seems this has been a longstanding issue with the standard that only ended up being copied by Firefox. See https://github.com/whatwg/html/issues/1178 for more context.
Comment 1•9 years ago
|
||
How urgently do we need to fix this, Anne?
Flags: needinfo?(annevk)
Whiteboard: btpp-followup-2016-05-11
Updated•9 years ago
|
Whiteboard: btpp-followup-2016-05-11 → btpp-backlog [tw-dom]
| Assignee | ||
Comment 3•9 years ago
|
||
Anne,
I'm confused. What should we do on gecko? The standard [1] says HashChangeEvent members are default to empty string and so does gecko implementation [2].
[1] https://html.spec.whatwg.org/multipage/browsers.html#the-hashchangeevent-interface
[2] http://mxr.mozilla.org/mozilla-central/source/dom/webidl/HashChangeEvent.webidl
Flags: needinfo?(annevk)
| Reporter | ||
Comment 4•9 years ago
|
||
Sorry for the vague description. "DOMString?" needs to become "DOMString" throughout (so four times). We could also change it to "USVString" but I'm not sure that's needed as part of this bug.
Flags: needinfo?(annevk)
| Assignee | ||
Comment 5•9 years ago
|
||
Ah I see. I was focusing on HashChangeEventInit mentioned in comment 0 link.
I'll work on this bug.
Assignee: nobody → btian
| Assignee | ||
Updated•9 years ago
|
Whiteboard: btpp-backlog [tw-dom] → btpp-active [tw-dom]
| Assignee | ||
Comment 6•9 years ago
|
||
| Assignee | ||
Comment 7•9 years ago
|
||
Comment on attachment 8749589 [details] [diff] [review]
[final] Patch 1: Make HashChangeEvent members non-nullable, r=khuey
Kyle,
Can you review my patch that makes HashChangeEvent members non-nullable per comment 0 and comment 4? The try result is in
https://treeherder.mozilla.org/#/jobs?repo=try&revision=66aba1f24246
Attachment #8749589 -
Flags: review?(khuey)
Attachment #8749589 -
Flags: review?(khuey) → review+
| Assignee | ||
Updated•9 years ago
|
Attachment #8749589 -
Attachment description: Patch 1 (v1): Make HashChangeEvent members non-nullable → [final] Patch 1: Make HashChangeEvent members non-nullable, r=khuey
| Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Keywords: checkin-needed
Comment 9•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
| Assignee | ||
Updated•9 years ago
|
Whiteboard: btpp-active [tw-dom] → btpp-close [tw-dom]
You need to log in
before you can comment on or make changes to this bug.
Description
•