Closed Bug 11926 Opened 25 years ago Closed 25 years ago

window.opener is null

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 11927

People

(Reporter: slogan, Assigned: danm.moz)

Details

Attachments

(2 files)

I created a window from JS using ShowWindowWithArgs (the window loaded xul). In the onload handler for the xul window that was created, window.opener was set to null.
Assignee: vidur → syd
Really a bug for joki. Either way, any bug report, however simple, should have an attached test case. Sending back to Syd for a test case.
Attached file test file 1 (deleted) —
Attached file test file 2 (deleted) —
Assignee: syd → joki
Place testload.xul (test file 2) and test.xul (test file 1) in dist/bin/res/samples/ . Then, execute "apprunner resource:/res/samples/testload.xul". In the onload handler for test.xul, you will see the value of window.opener.
Assignee: joki → danm
Well since it looks like ShowWindowWithArgs doesn't go through nsGlobalWindow at all this is would qualify as appshell-fun, not DOM-fun. Sending to danm since he's at least touched the function in question and will know whether he owns it or not.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 11927 ***
Status: RESOLVED → VERIFIED
Duplicate, verified.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: