Closed
Bug 854589
Opened 12 years ago
Closed 11 years ago
SettingsManager's init method should return a non-XPCOM object
Categories
(Core :: DOM: Device Interfaces, defect)
Core
DOM: Device Interfaces
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: ggp, Unassigned)
References
Details
The object returned from init() in an implementation of nsIDOMGlobalPropertyInitializer should be a different object implementing only the API to be exposed, and nothing more.
If the XPCOM object itself is returned -- and note that returning nothing from init() also causes the XPCOM object to be used -- it is possible to QI into that object and, for example, call init() again, which might not be safe.
Updated•12 years ago
|
Component: General → DOM: Device Interfaces
Hardware: x86 → All
Version: unspecified → Trunk
Comment 1•11 years ago
|
||
Fixed by bug 889503.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•