Closed Bug 509536 Opened 15 years ago Closed 14 years ago

"ASSERTION: No current inner window available!" changing iframe src

Categories

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

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, regression, testcase)

Attachments

(1 file)

Attached file testcase (deleted) —
###!!! ASSERTION: No current inner window available!: 'Error', file nsPIDOMWindow.h, line 209

(testcase might have to be local)

Security-sensitive for now because inner/outer windows are a security feature.
Marking this non-security sensitive because despite the scary assertion, we do the right thing (and this is an area of code that we tend to be paranoid about anyway). I fear this is a weird interaction between docshell, error pages and inner/outer windows.
Group: core-security
For a local testcase you'd get an error page, yes.  But that shouldn't have any weirdness going on wrt inner/outer windows, should it?
Well, I think that we're throwing up the error page synchronously and therefore not processing an event that normally would force an inner window.
Hmm... Last I checked error page loads were async...
To reproduce, I now have to load the testcase locally and reload.
WFM. (Saved the testcase locally and tried reloading, shift+reloading, Cmd+L Enter. No assertions.)
Status: NEW → RESOLVED
Closed: 14 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: