Closed
Bug 854543
Opened 13 years ago
Closed 8 years ago
MozKeyboard init method should return a non-XPCOM object
Categories
(Firefox OS Graveyard :: General, 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 anything 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.
| Reporter | ||
Comment 1•13 years ago
|
||
Sorry, the description above should read "...and note that returning _nothing_ from init() also causes...". So returning undefined is also a problem.
Comment 2•8 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•