Bug 10828

Summary: REGRESSION: opener broken when link targets new window
Product: WebKit Reporter: James Berry <jberry>
Component: WebCore JavaScriptAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: james, mrowe
Priority: P1 Keywords: HasReduction, InRadar, Regression
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Test case none

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.