Closed Bug 854196 Opened 12 years ago Closed 12 years ago

"ASSERTION: This should not be called when mWindow is not null!" from document.open()

Categories

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

All
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla23

People

(Reporter: Ms2ger, Assigned: Ms2ger)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

A long time ago (in bug 659738), I made the version of document.open() that calls window.open() use nsDocument::GetWindowInternal() instead of JS_GetGlobalForObject. Turns out this asserts. Not sure what the expected API is here.
Just GetWindow(), I think.
Assignee: nobody → Ms2ger
Attached patch Patch v1 (deleted) — Splinter Review
Attachment #731850 - Flags: review?(bzbarsky)
Comment on attachment 731850 [details] [diff] [review] Patch v1 r=me, but watch out for bustage from the MOZ_ASSERT bits...
Attachment #731850 - Flags: review?(bzbarsky) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: