Closed
Bug 854594
Opened 12 years ago
Closed 6 years ago
WebappsRegistry's init method should return a non-XPCOM object
Categories
(Core Graveyard :: DOM: Apps, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
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: Apps
Product: Web Apps → Core
Version: unspecified → Trunk
Updated•7 years ago
|
Product: Core → Core Graveyard
Comment 1•6 years ago
|
||
Core Graveyard / DOM: Apps is inactive. Closing all bugs in this component.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•