Open Bug 854598 Opened 12 years ago Updated 2 years ago

AlarmsManager's init method should return a non-XPCOM object

Categories

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

x86
All
defect

Tracking

()

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.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven't been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.