<?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>157145</bug_id>
          
          <creation_ts>2016-04-28 11:18:54 -0700</creation_ts>
          <short_desc>imported/w3c/web-platform-tests/fetch/nosniff/stylesheet.html is failing on some bots</short_desc>
          <delta_ts>2017-04-25 13:53:29 -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>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>136452</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="youenn fablet">youennf</reporter>
          <assigned_to name="youenn fablet">youennf</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>dbates</cc>
    
    <cc>lforschler</cc>
    
    <cc>ryanhaddad</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1188318</commentid>
    <comment_count>0</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2016-04-28 11:18:54 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/fetch/nosniff/stylesheet.html is failing on some bots</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1188321</commentid>
    <comment_count>1</comment_count>
      <attachid>277636</attachid>
    <who name="youenn fablet">youennf</who>
    <bug_when>2016-04-28 11:22:11 -0700</bug_when>
    <thetext>Created attachment 277636
Patch for landing</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1188346</commentid>
    <comment_count>2</comment_count>
      <attachid>277636</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-04-28 12:35:02 -0700</bug_when>
    <thetext>Comment on attachment 277636
Patch for landing

Clearing flags on attachment: 277636

Committed r200204: &lt;http://trac.webkit.org/changeset/200204&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1188347</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-04-28 12:35:05 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1188369</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-04-28 13:45:26 -0700</bug_when>
    <thetext>*** Bug 157144 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1188486</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-04-28 19:53:21 -0700</bug_when>
    <thetext>Re-opening, because the test was only marked as flaky, not fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1301185</commentid>
    <comment_count>6</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2017-04-25 13:26:31 -0700</bug_when>
    <thetext>(In reply to youenn fablet from comment #0)
&gt; imported/w3c/web-platform-tests/fetch/nosniff/stylesheet.html is failing on
&gt; some bots

I am unclear how this test could have passed on any bot. At the time of writing, WebCore does not honor X-Content-Type-Options: nosniff in the HTTP response for a stylesheet. Once we add such support in bug #136452 then this test will pass on platforms that ENABLE(NOSNIFF) and whose networking stack supports nosniff.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1301189</commentid>
    <comment_count>7</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2017-04-25 13:27:54 -0700</bug_when>
    <thetext>Fixed in &lt;http://trac.webkit.org/changeset/215753&gt; (bug #136452).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1301212</commentid>
    <comment_count>8</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2017-04-25 13:53:29 -0700</bug_when>
    <thetext>(In reply to Daniel Bates from comment #6)
&gt; (In reply to youenn fablet from comment #0)
&gt; &gt; imported/w3c/web-platform-tests/fetch/nosniff/stylesheet.html is failing on
&gt; &gt; some bots
&gt; 
&gt; I am unclear how this test could have passed on any bot. At the time of
&gt; writing, WebCore does not honor X-Content-Type-Options: nosniff in the HTTP
&gt; response for a stylesheet. Once we add such support in bug #136452 then this
&gt; test will pass on platforms that ENABLE(NOSNIFF) and whose networking stack
&gt; supports nosniff.

Failing is meant in terms of -expected.txt equality, not in terms of all tests outputting PASS.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>277636</attachid>
            <date>2016-04-28 11:22:11 -0700</date>
            <delta_ts>2016-04-28 12:35:02 -0700</delta_ts>
            <desc>Patch for landing</desc>
            <filename>bug-157145-20160428202241.patch</filename>
            <type>text/plain</type>
            <size>1612</size>
            <attacher name="youenn fablet">youennf</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjAwMTk5CmRpZmYgLS1naXQgYS9MYXlvdXRUZXN0cy9DaGFu
Z2VMb2cgYi9MYXlvdXRUZXN0cy9DaGFuZ2VMb2cKaW5kZXggN2Q3OTA4NGMzYzU2MDA1MzVmOGY3
YTE3ZWNhMGQ0MGI4NjQ1NjIzOC4uNTM0MDJkNjUwNjA0ZGI0MzU2NzkzMjFlOWM1YmE0MDU0MTg4
OTNhZiAxMDA2NDQKLS0tIGEvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCisrKyBiL0xheW91dFRlc3Rz
L0NoYW5nZUxvZwpAQCAtMSwzICsxLDEyIEBACisyMDE2LTA0LTI4ICBZb3Vlbm4g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