Open Bug 906899 Opened 11 years ago Updated 2 years ago

Propagate OverrideBuiltins to derived interfaces

Categories

(Core :: DOM: Bindings (WebIDL), defect)

defect

Tracking

()

People

(Reporter: mccr8, Unassigned)

References

(Blocks 1 open bug)

Details

      No description provided.
I'm not sure this makes sense.  [OverrideBuiltins] is meaningless unless the interface has a named/indexed getter....
This was something Peter mentioned.  I may be confusing the particulars.
Then we should probably propagate the extended attribute to derived interfaces in the parser.
Assignee: nobody → continuation
We can also remove the OverrideBuiltins from ImageData.
Summary: Require that interfaces derived from an OverrideBuiltins interface also be OverrideBuiltins → Propagate OverrideBuiltins to derived interfaces
I don't remember what this was supposed to be and I'm not working on it.
Assignee: continuation → nobody
Peter, do you recall what the idea here was?  Is it just so we can avoid listing overridebuiltins on things like ImageDocument?
Flags: needinfo?(peterv)
Component: DOM → DOM: Core & HTML

(In reply to Boris Zbarsky [:bzbarsky, bz on IRC] from comment #6)

Peter, do you recall what the idea here was? Is it just so we can avoid
listing overridebuiltins on things like ImageDocument?

Well, if you don't set OverrideBuiltins on a derived interface then we don't get the same behaviour as for the base interface, and that would be a bug. And we don't detect if someone forgets to set it on a derived interface.

This is low priority, given we don't expect anything except ImageDocument to use this, but I still think it makes sense to propagate.

Flags: needinfo?(peterv)
Component: DOM: Core & HTML → DOM: Bindings (WebIDL)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.