Closed
Bug 1270083
Opened 8 years ago
Closed 8 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•8 years ago
|
||
How urgently do we need to fix this, Anne?
Flags: needinfo?(annevk)
Whiteboard: btpp-followup-2016-05-11
Updated•8 years ago
|
Whiteboard: btpp-followup-2016-05-11 → btpp-backlog [tw-dom]
Assignee | ||
Comment 3•8 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•8 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•8 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•8 years ago
|
Whiteboard: btpp-backlog [tw-dom] → btpp-active [tw-dom]
Assignee | ||
Comment 6•8 years ago
|
||
Assignee | ||
Comment 7•8 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•8 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•8 years ago
|
Keywords: checkin-needed
Comment 9•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/91d119eb3e94
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Assignee | ||
Updated•8 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
•