Closed
Bug 917009
Opened 11 years ago
Closed 11 years ago
Assertion failure: aFirst && aSecond (Don't pass null pointers!), at caps/src/nsScriptSecurityManager.cpp:941
Categories
(Core :: Security: CAPS, defect)
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: dbaron, Unassigned)
Details
(Keywords: assertion, crash)
Attachments
(2 files)
24.46 KB,
text/plain
|
Details | |
5.71 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
While using https://twitter.com/ (I think I was trying to search for a user in the box at the top), I hit the fatal assertion:
Assertion failure: aFirst && aSecond (Don't pass null pointers!), at /home/dbaron/builds/ssd/mozilla-central/mozilla/caps/src/nsScriptSecurityManager.cpp:941
Might not be caps's fault, though, given the massive instability in builds today.
Reporter | ||
Comment 1•11 years ago
|
||
Reporter | ||
Comment 2•11 years ago
|
||
Hit it a second time, just loading https://twitter.com/
Comment 3•11 years ago
|
||
So, this is happening because the old-fashioned mechanism for accessing object principals (which we invoke in debug builds to check our results) is returning null for some reason. I'm mildly curious to know why, but I think this code can also just go away. I'll attach a patch.
Comment 4•11 years ago
|
||
Attachment #806087 -
Flags: review?(bzbarsky)
Comment 5•11 years ago
|
||
Comment on attachment 806087 [details] [diff] [review]
Remove old-style object principal calculation. v1
r=me
Attachment #806087 -
Flags: review?(bzbarsky) → review+
Comment 6•11 years ago
|
||
Comment 7•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in
before you can comment on or make changes to this bug.
Description
•