<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - http/tests/contentfiltering/load-substitute-data-from-appcache.html crashes sometimes"
   href="https://bugs.webkit.org/show_bug.cgi?id=148890#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - http/tests/contentfiltering/load-substitute-data-from-appcache.html crashes sometimes"
   href="https://bugs.webkit.org/show_bug.cgi?id=148890">bug 148890</a>
              from <span class="vcard"><a class="email" href="mailto:aestes&#64;apple.com" title="Andy Estes &lt;aestes&#64;apple.com&gt;"> <span class="fn">Andy Estes</span></a>
</span></b>
        <pre>I suspect this assertion would be hit even if Content Filtering wasn't enabled. The test decides navigation policy asynchronously in order mimic iOS Safari's behavior, so the response is sometimes received before navigation policy is decided. When loading substitute data, dataReceived() is called in continueAfterContentPolicy() with a null CachedResource, and it asserts that m_mainResource has already been set to 0 in continueAfterNavigationPolicy():

    ASSERT_UNUSED(resource, resource == m_mainResource);

I'm going to upload this same test without Content Filtering enabled to verify my assumption that the crash will still sometimes occur.</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>