Open
Bug 854586
Opened 12 years ago
Updated 2 years ago
NetworkStatsManager's init method should return a non-XPCOM object
Categories
(Core :: Networking, defect, P5)
Tracking
()
NEW
People
(Reporter: ggp, Unassigned)
References
Details
(Whiteboard: [necko-would-take])
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•9 years ago
|
Whiteboard: [necko-would-take]
Comment 1•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•