Closed
Bug 456912
Opened 16 years ago
Closed 15 years ago
crash [@ nsDocShell::GetSessionStorageForURI]
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
People
(Reporter: zeniko, Unassigned)
References
()
Details
(Keywords: crash)
Crash Data
Steps to Reproduce:
1. Evaluate the following JavaScript code in the Error Console:
> Application.activeWindow.tabs[0]._browser.docShell.getSessionStorageForURI(null)
Crash data:
0384c4b0-8a5b-11dd-815b-0013211cbf8a
a288ecd9-8a9e-11dd-89e3-001cc4e2bf68
9b494640-8a9e-11dd-b226-0013211cbf8a
Affects at least Firefox 3.0.1 and the latest Trunk nightlies.
Flags: wanted1.9.0.x?
Flags: blocking1.9.1?
Reporter | ||
Comment 1•16 years ago
|
||
aURI is supposed to be non-null at this point, even though XPCOM allows to pass null pointers...
Updated•16 years ago
|
Severity: major → critical
Comment 2•16 years ago
|
||
Already fixed here: https://bugzilla.mozilla.org/attachment.cgi?id=339854&action=diff#a/docshell/base/nsDocShell.cpp_sec2 Patch waits for review, not sure how the bug is prioritized, IMO should go as P1 or 2 in hand with localStorage implementation to Fx3.1b1.
Updated•16 years ago
|
Comment 3•16 years ago
|
||
Not blocking as this can't be triggered by content code. Bug 455070 comment #10 is also relevant here.
Flags: wanted1.9.1+
Flags: blocking1.9.1?
Flags: blocking1.9.1-
Comment 4•16 years ago
|
||
This can easily be fixed with just adding a non-null check. The patch from bug 455070 doesn't do anything smarter.
Reporter | ||
Comment 5•15 years ago
|
||
This was FIXED by bug 458091.
Assignee | ||
Updated•13 years ago
|
Crash Signature: [@ nsDocShell::GetSessionStorageForURI]
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•