<?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>140871</bug_id>
          
          <creation_ts>2015-01-25 11:34:57 -0800</creation_ts>
          <short_desc>[Win] Layout Tests failures due to cached page document not matching main frame document</short_desc>
          <delta_ts>2015-10-12 12:11:48 -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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Brent Fulgham">bfulgham</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>ddkilzer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1064018</commentid>
    <comment_count>0</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-01-25 11:34:57 -0800</bug_when>
    <thetext>The following layout test fails on Windows:

fast/loader/non-deferred-substitute-load.html

Probable cause:

An assertion is firing:

    ASSERT(cachedPage-&gt;document() == m_frame.document());

The stack trace looks like:

 	WTF.dll!WTFCrash() Line 321	C++
&gt;	WebKit.dll!WebCore::HistoryController::invalidateCurrentItemCachedPage() Line 248	C++
 	WebKit.dll!WebCore::FrameLoader::receivedMainResourceError(const WebCore::ResourceError &amp; error) Line 2726	C++
 	WebKit.dll!WebCore::DocumentLoader::mainReceivedError(const WebCore::ResourceError &amp; error) Line 267	C++
 	WebKit.dll!WebCore::DocumentLoader::notifyFinished(WebCore::CachedResource * resource) Line 384	C++
 	WebKit.dll!WebCore::CachedResource::checkNotify() Line 296	C++
 	WebKit.dll!WebCore::CachedResource::cancelLoad() Line 333	C++
 	WebKit.dll!WebCore::SubresourceLoader::didCancel(const WebCore::ResourceError &amp; __formal) Line 432	C++
 	WebKit.dll!WebCore::ResourceLoader::cancel(const WebCore::ResourceError &amp; error) Line 449	C++
 	WebKit.dll!WebCore::DocumentLoader::cancelMainResourceLoad(const WebCore::ResourceError &amp; resourceError) Line 1484	C++
 	WebKit.dll!WebCore::DocumentLoader::stopLoading() Line 328	C++
 	WebKit.dll!WebCore::FrameLoader::stopAllLoaders(WebCore::ClearProvisionalItemPolicy clearProvisionalItemPolicy) Line 1616	C++
 	WebKit.dll!WebFrame::stopLoading() Line 709	C++
 	DumpRenderTree.dll!runTest(const std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &amp; inputLine) Line 1179	C++
 	DumpRenderTree.dll!main(int argc, const char * * argv) Line 1484	C++
 	DumpRenderTree.dll!dllLauncherEntryPoint(int argc, const char * * argv) Line 1514	C++
 	DumpRenderTree.exe!main(int argc, const char * * argv) Line 239	C++
 	[External Code]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1070706</commentid>
    <comment_count>1</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-02-20 08:59:18 -0800</bug_when>
    <thetext>Note also that fast/history/page-cache-clearing.html fails, which might be related.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1132424</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-10-12 12:11:48 -0700</bug_when>
    <thetext>Note that &apos;fast/history/page-cache-clearing.html&apos; now passes.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>