Closed Bug 909863 Opened 12 years ago Closed 12 years ago

Add support for WebIDL [SameObject]

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(1 file, 1 obsolete file)

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]
Attachment #796165 - Attachment is obsolete: true
Attachment #796165 - Flags: review?(khuey)
Flags: in-testsuite+
Whiteboard: [need review]
Target Milestone: --- → mozilla26
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
There's no description of [SameObject] on the MDN WebIDL page.
Keywords: dev-doc-needed
Whiteboard: dev
Whiteboard: dev
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?
Flags: needinfo?(continuation)
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.
Flags: needinfo?(continuation)
Keywords: dev-doc-needed
It _might_ make sense to add something pointing out that the same restrictions apply to [SameObject] as to [Constant]... Hard to say.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: