Closed Bug 429962 Opened 16 years ago Closed 5 years ago

ASSERTION: Someone forgot to block scripts: 'aIsSafeToFlush == nsContentUtils::IsSafeToRunScript()'

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: cbook, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, regression)

Attachments

(2 files)

Attached file stack
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9pre) Gecko/2008042101 Firefox/3.0pre ID:2008042101

Steps to reproduce:
Was only about to search for extension in the build-in Add-on Manager (the Nightly Tester Tools) and installed the Extension via the Extension Manager

###!!! ASSERTION: Someone forgot to block scripts: 'aIsSafeToFlush == nsContentUtils::IsSafeToRunScript()', file /debug/mozilla/layout/base/nsPresShell.cpp, line 4532
Err.. this stack looks really messed up. I don't think it's correct at all unfortunately :(
Comment on attachment 316737 [details]
stack

Jesse says this needs to be run through fix-macosx-stack.pl
Attached file stack
(In reply to comment #1)
> Err.. this stack looks really messed up. I don't think it's correct at all
> unfortunately :(
> 

Jonas, added a new (better) stack :)
OS: Mac OS X → All
Hardware: PC → All
Version: unspecified → Trunk
Keywords: regression
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9pre) Gecko/2008050323 Minefield/3.0pre

This assertion can be seen when simply opening the preferences panel. I have no add-ons installed.
OS: All → Mac OS X
Hardware: All → PC
Flags: blocking1.9?
OS: Mac OS X → All
Hardware: PC → All
Summary: ###!!! ASSERTION: Someone forgot to block scripts: 'aIsSafeToFlush == → ###!!! ASSERTION: Someone forgot to block scripts: 'aIsSafeToFlush == nsContentUtils::IsSafeToRunScript()'
Not blocking. Judging by the stack I don't think this is currently exploitable in any way.
Flags: blocking1.9? → blocking1.9-
Note: another way to get this Assertion is to load the testcase from Bug 380101
Or to use the DOMI in a debug build and try to view the computed style
Summary: ###!!! ASSERTION: Someone forgot to block scripts: 'aIsSafeToFlush == nsContentUtils::IsSafeToRunScript()' → ASSERTION: Someone forgot to block scripts: 'aIsSafeToFlush == nsContentUtils::IsSafeToRunScript()'
(In reply to comment #5)
> This assertion can be seen when simply opening the preferences panel. I have no
> add-ons installed.

Only works with the first "Main" panel. Other panels don't show this assertion when opening the preferences.
Blocks: 437351
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: