"ASSERTION: Caller forgot to check ReadyToExecuteScripts()" involving modal networking error dialog

RESOLVED WORKSFORME

Status

()

defect
P2
normal
RESOLVED WORKSFORME
12 years ago
4 months ago

People

(Reporter: jruderman, Assigned: sicking)

Tracking

(Blocks 1 bug, {assertion})

Trunk
x86
macOS
Points:
---
Dependency tree / graph
Bug Flags:
wanted1.9.1 +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Reporter

Description

12 years ago
I have a hard-to-reduce testcase that triggers:

###!!! ASSERTION: Caller forgot to check ReadyToExecuteScripts(): 'ReadyToExecuteScripts() && nsContentUtils::IsSafeToRunScript()', file /Users/jruderman/trunk/mozilla/content/base/src/nsScriptLoader.cpp, line 519

The testcase does something like:
  xulEditor.setAttribute('src', "foop:yaz");
to trigger a networking error dialog.

The assertion was added in bug 343730.  My build includes the patch for bug 401155, which modifies the assertion to include the second condition.  (Shouldn't it be two separate assertions?)
Need to test this after bug 395609 and bug 420415
Assignee: nobody → jonas
Flags: wanted1.9.1+
Priority: -- → P2
Reporter

Comment 2

11 years ago
I haven't seen this assertion for a while.  I retested my old "hard-to-reduce testcase" and didn't see the assertion there either.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.