Closed
Bug 1048437
Opened 10 years ago
Closed 10 years ago
Allow '-' in IDL identifiers (after the first character) and implement support for dictionaries whose members have a '-' in the name
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(1 file)
3.20 KB,
patch
|
khuey
:
review+
heycam
:
feedback+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
This has come up a few times now. I'm changing the definition of IDENTIFIER, but I could also just add a new DASHEDIDENTIFIER thing that's used as a dictionary member name, if preferred. Cameron, thoughts? I definitely think we want this for dictionaries; we've had several requests for it now.
Flags: needinfo?(cam)
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8467237 -
Flags: feedback?(cam)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Comment 2•10 years ago
|
||
Comment on attachment 8467237 [details] [diff] [review] Allow dictionary members with '-' in the name That seems fine. The only place we use dashes in IDL syntax currently are for number literals and -Infinity, so we don't have any problem with ambiguity.
Attachment #8467237 -
Flags: feedback?(cam) → feedback+
Flags: needinfo?(cam)
Comment 3•10 years ago
|
||
https://github.com/heycam/webidl/commit/4e6ef1f92d47ed9f962de5b63e263f0cc1ad2cbf
Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8467237 [details] [diff] [review] Allow dictionary members with '-' in the name Cameron, thanks! I'm not likely to land this before the 19th, but people should feel free to do it ealier than that if it gets reviewed.
Attachment #8467237 -
Flags: review?(khuey)
Comment 5•10 years ago
|
||
(In reply to On vacation Aug 5-18. Please do not request review. from comment #4) > Comment on attachment 8467237 [details] [diff] [review] > Allow dictionary members with '-' in the name > > Cameron, thanks! > > I'm not likely to land this before the 19th, but people should feel free to > do it ealier than that if it gets reviewed. Since my patch is relying on this patch, I will make sure it lands as soon as I get the green lights from khuey.
Attachment #8467237 -
Flags: review?(khuey) → review+
Comment 6•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/dadbbe7b22f1
Target Milestone: --- → mozilla34
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/dadbbe7b22f1
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 8•10 years ago
|
||
Comment on attachment 8467237 [details] [diff] [review] Allow dictionary members with '-' in the name Approval Request Comment [Feature/regressing bug #]: Dependency of bug 1033423 [User impact if declined]: see uplift request in bug 1033423 [Describe test coverage new/current, TBPL]: Landed on inbound on 2014-08-06 09:44:43 PDT: https://hg.mozilla.org/integration/mozilla-inbound/rev/dadbbe7b22f1 [Risks and why]: Low risk because it additionally allows '-' in the names for dictionaries. [String/UUID change made/needed]: none
Attachment #8467237 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
status-firefox33:
--- → affected
status-firefox34:
--- → fixed
Updated•10 years ago
|
Attachment #8467237 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•10 years ago
|
Flags: in-testsuite+
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•