<?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>27326</bug_id>
          
          <creation_ts>2009-07-15 18:53:53 -0700</creation_ts>
          <short_desc>&quot;javascript:&quot;  link with target frame should work on target frame.</short_desc>
          <delta_ts>2009-07-16 15:24:41 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>525.x (Safari 3.2)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>13543</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Masahiro Yamada">masa141421356</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>132121</commentid>
    <comment_count>0</comment_count>
    <who name="Masahiro Yamada">masa141421356</who>
    <bug_when>2009-07-15 18:53:53 -0700</bug_when>
    <thetext>When javascript is enabled,
&lt;a href=&quot;javascript:location.replace(&apos;a.html&apos;)&quot; target=&quot;frame1&quot;&gt;
should work same as
&lt;a href=&quot;a.html&quot; target=&quot;frame1&quot;&gt;

Expected:
frame &quot;frame1&quot;  is navigated to &quot;a.html&quot;
(IE, Firefox and Opera works correctly)

Actual result:
container frame of link is navigated to &quot;a.html&quot;

Tested on Safari4.0.2 and Google Chrome 2.0.172.33</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132364</commentid>
    <comment_count>1</comment_count>
      <attachid>32896</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-07-16 15:19:43 -0700</bug_when>
    <thetext>Created attachment 32896
test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132365</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-07-16 15:21:02 -0700</bug_when>
    <thetext>Confirmed with r45988.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132367</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-07-16 15:24:41 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 13543 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>32896</attachid>
            <date>2009-07-16 15:19:43 -0700</date>
            <delta_ts>2009-07-16 15:19:43 -0700</delta_ts>
            <desc>test case</desc>
            <filename>target.html</filename>
            <type>text/html</type>
            <size>145</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">PGlmcmFtZSBzcmM9ImRhdGE6dGV4dC9odG1sLElGcmFtZSIgbmFtZT0ic3ViZnJhbWUiPjwvaWZy
YW1lPgo8YSBocmVmPSJqYXZhc2NyaXB0OmFsZXJ0KGZyYW1lc1swXSA/ICdGQUlMJyA6ICdQQVNT
JykiIHRhcmdldD0ic3ViZnJhbWUiPlRlc3Q8L2E+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>