<?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>100423</bug_id>
          
          <creation_ts>2012-10-25 15:08:17 -0700</creation_ts>
          <short_desc>Test full-block-iframe-no-inherit.php generates an invalid X-XSS-PROTECTION header.</short_desc>
          <delta_ts>2012-10-25 20:10:08 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Thomas Sepez">tsepez</reporter>
          <assigned_to name="Thomas Sepez">tsepez</assigned_to>
          <cc>abarth</cc>
    
    <cc>dbates</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>751256</commentid>
    <comment_count>0</comment_count>
    <who name="Thomas Sepez">tsepez</who>
    <bug_when>2012-10-25 15:08:17 -0700</bug_when>
    <thetext>I just noticed a typo in the test file full-block-iframe-no-inherit.php:
  &lt;?php
  header(&quot;X-XSS-Protection: full-block&quot;);
  ?&gt;

But since there is no full-block directive, what is meant is
  &lt;?php
  header(&quot;X-XSS-Protection: 1; mode=block&quot;);
  ?&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>751281</commentid>
    <comment_count>1</comment_count>
      <attachid>170746</attachid>
    <who name="Thomas Sepez">tsepez</who>
    <bug_when>2012-10-25 15:33:28 -0700</bug_when>
    <thetext>Created attachment 170746
Patch

Heh.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>751285</commentid>
    <comment_count>2</comment_count>
      <attachid>170746</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-10-25 15:35:15 -0700</bug_when>
    <thetext>Comment on attachment 170746
Patch

Why didn&apos;t this test fail without this change?  Should we add a new test that covers the invalid header case?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>751299</commentid>
    <comment_count>3</comment_count>
    <who name="Thomas Sepez">tsepez</who>
    <bug_when>2012-10-25 15:48:26 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 170746 [details])
&gt; Why didn&apos;t this test fail without this change? 
I think the test looked only for non-application to the iframe, not application to the parent frame. 

&gt; Should we add a new test that covers the invalid header case?
Uh, yes.

Want me to fold those into this patch?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>751317</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-10-25 16:05:45 -0700</bug_when>
    <thetext>&gt; Want me to fold those into this patch?

Up to you.  I&apos;d probably do it in one patch, but it&apos;s not super important.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>751474</commentid>
    <comment_count>5</comment_count>
      <attachid>170746</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-10-25 20:10:05 -0700</bug_when>
    <thetext>Comment on attachment 170746
Patch

Clearing flags on attachment: 170746

Committed r132563: &lt;http://trac.webkit.org/changeset/132563&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>751475</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-10-25 20:10:08 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>170746</attachid>
            <date>2012-10-25 15:33:28 -0700</date>
            <delta_ts>2012-10-25 20:10:05 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>patch_100423.txt</filename>
            <type>text/plain</type>
            <size>1219</size>
            <attacher name="Thomas Sepez">tsepez</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDEzMjUzOSkKKysrIExheW91dFRlc3RzL0NoYW5nZUxvZwkod29y
a2luZyBjb3B5KQpAQCAtMSwzICsxLDE0IEBACisyMDEyLTEwLTI1ICBUb20gU2VwZXogIDx0c2Vw
ZXpAY2hyb21pdW0ub3JnPgorCisgICAgICAgIFRlc3QgZnVsbC1ibG9jay1pZnJhbWUtbm8taW5o
ZXJpdC5waHAgZ2VuZXJhdGVzIGFuIGludmFsaWQgWC1YU1MtUFJPVEVDVElPTiBoZWFkZXIuCisg
ICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xMDA0MjMKKwor
ICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBDaGFuZ2VkIGhl
YWRlciBzeW50YXggZnJvbSBmdWxsLWJsb2NrIHRvIG1vZGU9YmxvY2suCisKKyAgICAgICAgKiBo
dHRwL3Rlc3RzL3NlY3VyaXR5L3hzc0F1ZGl0b3IvZnVsbC1ibG9jay1pZnJhbWUtbm8taW5oZXJp
dC5waHA6CisKIDIwMTItMTAtMjUgIFNpbW9uIEZyYXNlciAgPHNpbW9uLmZyYXNlckBhcHBsZS5j
b20+CiAKICAgICAgICAgUmVwb3J0IHRoZSB0aWxlIGNvdmVyYWdlIHJlY3QgaW4gbGF5ZXIgY29v
cmRzLCBhbmQgYWRkIHNvbWUgdGVzdHMgZm9yIHRpbGVkIGJhY2tpbmcgYW5kIHpvb21pbmcKSW5k
ZXg6IExheW91dFRlc3RzL2h0dHAvdGVzdHMvc2VjdXJpdHkveHNzQXVkaXRvci9mdWxsLWJsb2Nr
LWlmcmFtZS1uby1pbmhlcml0LnBocAo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9odHRwL3Rl
c3RzL3NlY3VyaXR5L3hzc0F1ZGl0b3IvZnVsbC1ibG9jay1pZnJhbWUtbm8taW5oZXJpdC5waHAJ
KHJldmlzaW9uIDEzMjUzOSkKKysrIExheW91dFRlc3RzL2h0dHAvdGVzdHMvc2VjdXJpdHkveHNz
QXVkaXRvci9mdWxsLWJsb2NrLWlmcmFtZS1uby1pbmhlcml0LnBocAkod29ya2luZyBjb3B5KQpA
QCAtMSw1ICsxLDUgQEAKIDw/cGhwCi1oZWFkZXIoIlgtWFNTLVByb3RlY3Rpb246IGZ1bGwtYmxv
Y2siKTsKK2hlYWRlcigiWC1YU1MtUHJvdGVjdGlvbjogMTsgbW9kZT1ibG9jayIpOwogPz4KIDwh
RE9DVFlQRSBodG1sPgogPGh0bWw+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>