Bug 140703 - [Win] Layout Test loader/go-back-cached-main-resource.html fails
Summary: [Win] Layout Test loader/go-back-cached-main-resource.html fails
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-20 16:53 PST by Brent Fulgham
Modified: 2015-09-06 23:08 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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