Closed Bug 418324 Opened 16 years ago Closed 16 years ago

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

Categories

(Core :: DOM: Core & HTML, defect, P2)

x86
macOS
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Assigned: sicking)

References

Details

(Keywords: assertion)

Attachments

(1 file)

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
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: 16 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.

Attachment

General

Creator:
Created:
Updated:
Size: