<?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>69236</bug_id>
          
          <creation_ts>2011-10-02 22:17:05 -0700</creation_ts>
          <short_desc>Browsing context name seems to take frame id into account, when per spec it should not</short_desc>
          <delta_ts>2011-10-03 12:37:34 -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>Frames</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>11388</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="Boris Zbarsky">bzbarsky</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>476770</commentid>
    <comment_count>0</comment_count>
      <attachid>109436</attachid>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2011-10-02 22:17:05 -0700</bug_when>
    <thetext>Created attachment 109436
Testcase

http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#attr-iframe-name is very clear: only the &apos;name&apos; attribute of the &lt;iframe&gt; affects the browsing context name.

Note that Gecko implements the spec behavior and has forever in text/html as far as I know, so I doubt there is a compat risk there.

In application/xhtml+xml, Gecko does have a different behavior, so the situation there may be more complicated.

The attached testcase demonstrates the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>477155</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-10-03 12:37:34 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 11388 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>109436</attachid>
            <date>2011-10-02 22:17:05 -0700</date>
            <delta_ts>2011-10-02 22:17:05 -0700</delta_ts>
            <desc>Testcase</desc>
            <filename>test.html</filename>
            <type>text/html</type>
            <size>420</size>
            <attacher name="Boris Zbarsky">bzbarsky</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sIGxhbmc9ImVuIj4KPGhlYWQ+CjxtZXRhIGh0dHAtZXF1aXY9
IkNvbnRlbnQtVHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij4KPC9oZWFk
Pgo8Ym9keT4KPHRhYmxlPgogIDx0Ym9keT4KICAgIDx0cj4KICAgICA8dGQ+CiAgICAgICA8YSB0
YXJnZXQ9Im1haW5jb250ZW50IiBocmVmPSJodHRwOi8vYXBwbGUuY29tIj5DbGlja2luZyBtZSBz
aG91bGQgb3BlbiBhcHBsZS5jb20gaW4gYSBuZXcgd2luZG93PC9hPgogICAgIDwvdGQ+CiAgICAg
PHRkPgogICAgICA8aWZyYW1lIGlkPSJtYWluY29udGVudCIgc3JjPSIiIHdpZHRoPSIyMDAiIGhl
aWdodD0iMzAwIj48L2lmcmFtZT4KICAgICA8L3RkPgogICAgPC90cj4KICA8L3Rib2R5Pgo8L3Rh
YmxlPgo8L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>