Closed
Bug 949888
Opened 11 years ago
Closed 11 years ago
Rooting hazard in Navigator::HasDataStoreSupport
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 940765
People
(Reporter: bzbarsky, Unassigned)
References
Details
(Keywords: regression)
Bug 942639 introduced a rooting hazard: the unrooted aGlobal is used after the preference gets, and we have no guarantee that the preference gets won't GC.
I recommend moving this line:
nsCOMPtr<nsPIDOMWindow> win = GetWindowFromGlobal(aGlobal);
to before the preference gets.
![]() |
Reporter | |
Comment 1•11 years ago
|
||
I guess bug 940765 fixes this too.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
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
•