Closed Bug 459829 Opened 16 years ago Closed 6 years ago

Always or never expose nsIDOMNSEditableElement's properties

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.1b2

People

(Reporter: peterv, Assigned: peterv)

References

(Depends on 1 open bug)

Details

If chrome or extension code has QI'ed an input/textarea element to this interface its properties will magically appear on the element. Only chrome code can use these properties. In bug 303727, comment 15 jst seems to argue that it won't happen much, but we already have browser chrome QIing to this interface.

I think we should either always expose this interface (adding it to the list of interfaces for input and textarea in DOMCI) or add code to somehow always hide its properties for content code (maybe like we do for baseURIObject/nodePrincipal/...).
For what it's worth, I'm not sure baseURIObject/nodePrincipal are necessarily hidden after chrome accesses them...
Blocks: 461567
Fixed by webidl bindings.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Depends on: ParisBindings
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.