Bug 10828 - REGRESSION: opener broken when link targets new window
Summary: REGRESSION: opener broken when link targets new window
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Nobody
URL:
Keywords: HasReduction, InRadar, Regression
Depends on:
Blocks:
 
Reported: 2006-09-12 16:00 PDT by James Berry
Modified: 2007-02-06 23:14 PST (History)
2 users (show)

See Also:


Attachments
Test case (621 bytes, text/html)
2006-09-12 16:20 PDT, James Berry
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Berry 2006-09-12 16:00:53 PDT
Bug #10466 fixed a problem where links that targeted new windows would not open their content in a new window. The patch for that bug also re-coded setting of the window opener.

But that patch seems to have broken use of the opener property. Reference to opener in a window targeted to _blank now causes the javascript error "undefined value". This _did_ work properly in Safari prior to the time when bug #10466 arose, but now thta #10466 is fixed, this has been broken.

I'll try to come with a test case of some sort. For now, it's clear in my code that it's busted.

r16330.
Comment 1 James Berry 2006-09-12 16:20:09 PDT
Created attachment 10518 [details]
Test case

Add test case to illustrate the opener bug.
Comment 2 James Berry 2006-09-12 16:26:14 PDT
NOTE: Reference to the bug and patch that broke this behavior was behavior. The relevent bug is Bug #10547.
Comment 3 James Berry 2006-09-12 16:26:55 PDT
NOTE: Reference to the bug and patch that broke this behavior was "bogus". The
relevent bug is Bug #10547.
Comment 4 Stephanie Lewis 2006-11-06 21:18:55 PST
radar 4823113
Comment 5 Mark Rowe (bdash) 2007-02-06 23:14:06 PST
Radar shows this as working in ToT as of December 2006.