Bug 140871 - [Win] Layout Tests failures due to cached page document not matching main frame document
Summary: [Win] Layout Tests failures due to cached page document not matching main fra...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2015-01-25 11:34 PST by Brent Fulgham
Modified: 2015-10-12 12:11 PDT (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2015-01-25 11:34:57 PST
The following layout test fails on Windows:


Probable cause:

An assertion is firing:

    ASSERT(cachedPage->document() == m_frame.document());

The stack trace looks like:

 	WTF.dll!WTFCrash() Line 321	C++
>	WebKit.dll!WebCore::HistoryController::invalidateCurrentItemCachedPage() Line 248	C++
 	WebKit.dll!WebCore::FrameLoader::receivedMainResourceError(const WebCore::ResourceError & error) Line 2726	C++
 	WebKit.dll!WebCore::DocumentLoader::mainReceivedError(const WebCore::ResourceError & 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 & __formal) Line 432	C++
 	WebKit.dll!WebCore::ResourceLoader::cancel(const WebCore::ResourceError & error) Line 449	C++
 	WebKit.dll!WebCore::DocumentLoader::cancelMainResourceLoad(const WebCore::ResourceError & 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<char,std::char_traits<char>,std::allocator<char> > & 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]
Comment 1 Brent Fulgham 2015-02-20 08:59:18 PST
Note also that fast/history/page-cache-clearing.html fails, which might be related.
Comment 2 Brent Fulgham 2015-10-12 12:11:48 PDT
Note that 'fast/history/page-cache-clearing.html' now passes.