Bug 140703

Summary: [Win] Layout Test loader/go-back-cached-main-resource.html fails
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
See Also: https://bugs.webkit.org/show_bug.cgi?id=134550

Description Brent Fulgham 2015-01-20 16:53:10 PST
The following layout test is flaky on Windows (Debug and Release):

loader/go-back-cached-main-resource.html

Probable cause:

The first resource load event is happening before the test harness calls 'dumpResourceLoadCallbacks', so it is not getting added to the URL cache. When we later attempt to look up the URL by identifier, it doesn't find it and we return (null).

--- /home/buildbot/slave/win-release-tests/build/layout-test-results/loader/go-back-cached-main-resource-expected.txt
+++ /home/buildbot/slave/win-release-tests/build/layout-test-results/loader/go-back-cached-main-resource-actual.txt
@@ -1,5 +1,5 @@
 resources/first-page.html - willSendRequest <NSURLRequest URL resources/first-page.html, main document URL resources/first-page.html, http method GET> redirectResponse (null)
-go-back-cached-main-resource.html - didFinishLoading
+<unknown> - didFinishLoading
 resources/first-page.html - didReceiveResponse <NSURLResponse resources/first-page.html, http status code 0>
Comment 1 Brent Fulgham 2015-01-22 09:40:38 PST
A similar bug is affecting fast/preloader/scan-body-from-head-script.html. The test often passes in Debug mode.
Comment 2 Brent Fulgham 2015-01-27 12:41:45 PST
Also:

security/block-test.html
security/block-test-no-port.html