<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-fetch-in-main-frame.html fails"
   href="https://bugs.webkit.org/show_bug.cgi?id=161052#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-fetch-in-main-frame.html fails"
   href="https://bugs.webkit.org/show_bug.cgi?id=161052">bug 161052</a>
              from <span class="vcard"><a class="email" href="mailto:youennf&#64;gmail.com" title="youenn fablet &lt;youennf&#64;gmail.com&gt;"> <span class="fn">youenn fablet</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=161052#c8">comment #8</a>)
<span class="quote">&gt; What changed here is that Fetch got enabled in r204705. These tests should
&gt; have been disabled in the past, but they were not.</span >

This test works fine in WK1.
It does not work as expected on WK2 as the test runtime flag (on) was different from the web view runtime flag (off until r204705).
When creating the new frame, fetch runtime flag was set to off and fetch API was disappearing.

I am now hitting the same issue as ap.
I will add Fail to mac-wk2 TestExpectations, similarly to http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-fetch-in-worker.html
I will wait some more time to remove the 'Timeout' expectation for those tests.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>