Closed Bug 909863 Opened 8 years ago Closed 8 years ago
Add support for Web
IDL [Same Object]
WebIDL now has an official [SameObject] thing that we can use and specs are starting to use it.
Actually, [SameObject] is more restricted than [Constant], so we're going to allow both for now....
Summary: Rename [Constant] to [SameObject] → Add support for WebIDL [SameObject]
Note https://www.w3.org/Bugs/Public/show_bug.cgi?id=21271 for an actual spec use.
Attachment #796171 - Flags: review?(khuey) → review+
Whiteboard: [need review]
Target Milestone: --- → mozilla26
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
There's no description of [SameObject] on the MDN WebIDL page.
We generally only document Gecko extensions to the spec, since otherwise we'd have to throw the whole spec in there. What documentation did you expect to see?
Ah, that makes sense. From the name, I just assume it was some information for the benefit of the JITs. Sorry, I should have checked the spec.
It _might_ make sense to add something pointing out that the same restrictions apply to [SameObject] as to [Constant]... Hard to say.
You need to log in before you can comment on or make changes to this bug.