<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>10828</bug_id>
          
          <creation_ts>2006-09-12 16:00:53 -0700</creation_ts>
          <short_desc>REGRESSION: opener broken when link targets new window</short_desc>
          <delta_ts>2007-02-06 23:14:06 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore JavaScript</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, InRadar, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="James Berry">jberry</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>james</cc>
    
    <cc>mrowe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>55324</commentid>
    <comment_count>0</comment_count>
    <who name="James Berry">jberry</who>
    <bug_when>2006-09-12 16:00:53 -0700</bug_when>
    <thetext>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 &quot;undefined value&quot;. 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&apos;ll try to come with a test case of some sort. For now, it&apos;s clear in my code that it&apos;s busted.

r16330.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55327</commentid>
    <comment_count>1</comment_count>
      <attachid>10518</attachid>
    <who name="James Berry">jberry</who>
    <bug_when>2006-09-12 16:20:09 -0700</bug_when>
    <thetext>Created attachment 10518
Test case

Add test case to illustrate the opener bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55328</commentid>
    <comment_count>2</comment_count>
    <who name="James Berry">jberry</who>
    <bug_when>2006-09-12 16:26:14 -0700</bug_when>
    <thetext>NOTE: Reference to the bug and patch that broke this behavior was behavior. The relevent bug is Bug #10547.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55329</commentid>
    <comment_count>3</comment_count>
    <who name="James Berry">jberry</who>
    <bug_when>2006-09-12 16:26:55 -0700</bug_when>
    <thetext>NOTE: Reference to the bug and patch that broke this behavior was &quot;bogus&quot;. The
relevent bug is Bug #10547.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46667</commentid>
    <comment_count>4</comment_count>
    <who name="Stephanie Lewis">slewis</who>
    <bug_when>2006-11-06 21:18:55 -0800</bug_when>
    <thetext>radar 4823113</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26508</commentid>
    <comment_count>5</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-02-06 23:14:06 -0800</bug_when>
    <thetext>Radar shows this as working in ToT as of December 2006.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>10518</attachid>
            <date>2006-09-12 16:20:09 -0700</date>
            <delta_ts>2006-09-12 16:20:09 -0700</delta_ts>
            <desc>Test case</desc>
            <filename>openertest.html</filename>
            <type>text/html</type>
            <size>621</size>
            <attacher name="James Berry">jberry</attacher>
            
              <data encoding="base64">77u/PCFET0NUWVBFIGh0bWwgUFVCTElDICctLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlv
bmFsLy9FTicgJ2h0dHA6Ly93d3cudzMub3JnL1RSLzIwMDAvUkVDLXhodG1sMS0yMDAwMDEyNi9E
VEQveGh0bWwxLXRyYW5zaXRpb25hbC5kdGQnPgo8aHRtbD4KPGhlYWQ+Cgk8dGl0bGU+T3BlbmVy
IFRlc3Q8L3RpdGxlPgoJPGxpbmsgcmVsPSdzdHlsZXNoZWV0JyB0eXBlPSd0ZXh0L2NzcycgaHJl
Zj0ndGVzdC5jc3MnIC8+CjwvaGVhZD4KPGJvZHk+Cgk8cD4KCQk8YSBocmVmPScjJyB0YXJnZXQ9
J19ibGFuayc+TGluayAxOiBDbGljayBtZSBmaXJzdCB0byBjcmVhdGUgYSBuZXcgd2luZG93ITwv
YT48YnIvPgoJCTxhIGhyZWY9J2phdmFzY3JpcHQ6b3BlbmVyLmNsb3NlKCk7Jz5MaW5rIDI6IENs
aWNrIG1lIGluIHNlY29uZCB3aW5kb3cuIEkgKHNob3VsZCkgY2xvc2UgZmlyc3Qgd2luZG93ITwv
YT4KCTwvcD4KCQoJPHA+CgkJTm90ZSB0aGF0IHdoZW4gbGluayAyIGlzIGNsaWNrZWQgaW4gcmVj
ZW50IFdlYktpdCBidWlsZHMsIGEgamF2YXNjcmlwdCBlcnJvciBpcyBsb2dnZWQsIGFuZCB0aGUg
Zmlyc3Qgd2luZG93IGlzbid0IGNsb3NlZC4KCTwvcD4KCTwvYm9keT4KPC9odG1sPgoK
</data>

          </attachment>
      

    </bug>

</bugzilla>