Closed
Bug 884925
Opened 12 years ago
Closed 10 years ago
Align navigator.battery with spec
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 1047119
People
(Reporter: bzbarsky, Unassigned)
References
Details
Per spec, this never returns null, but we return null if we have no window or it has no docshell.
Comment 1•12 years ago
|
||
Hmm, maybe the DocShell check is there for no-longer-valid reasons...
Olli, what would happen if BindToOwner() is called with nullptr? I mean, according to the code, it will be handled correctly but what would be the side effects here?
OS: Mac OS X → All
Hardware: x86 → All
Version: unspecified → Trunk
Comment 2•12 years ago
|
||
Events would be handled on an event target which isn't bound to anything.
(I believe there won't be security bugs anymore after bholley's changes, but it used to lead to sg-crit problems)
Updated•12 years ago
|
Keywords: dev-doc-needed
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Updated•10 years ago
|
Keywords: dev-doc-needed
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•