Closed Bug 869014 Opened 7 years ago Closed 7 years ago

External interface declarations should not be allowed to name-collide with other objects

Categories

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

x86
macOS
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla23

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Right now this:

  [OverrideBuiltins]
  interface Foo {};
  interface Foo;

causes us to clear the overridebuiltins from foo, because we end up calling addExtendedAttributes to it twice and that clears self._extendedAttrDict.

Patch coming up.
> and that clears self._extendedAttrDict.

Which is, of course, arguably a bug, but I'm waiting on spec clarification before worrying about it.
https://hg.mozilla.org/integration/mozilla-inbound/rev/013fd226403e
Flags: in-testsuite+
Whiteboard: [need review]
Target Milestone: --- → mozilla23
https://hg.mozilla.org/mozilla-central/rev/9f7d1f298a2a
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.