Bug 111123 - Flaky test: http/tests/inspector/resource-tree/resource-request-content-while-loading.html
Summary: Flaky test: http/tests/inspector/resource-tree/resource-request-content-while...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Vsevolod Vlasov
Keywords: LayoutTestFailure
Depends on:
Reported: 2013-02-28 15:36 PST by Ryosuke Niwa
Modified: 2013-03-01 03:38 PST (History)
8 users (show)

See Also:

Patch (5.36 KB, patch)
2013-03-01 03:31 PST, Vsevolod Vlasov
apavlov: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2013-02-28 15:36:14 PST
http/tests/inspector/resource-tree/resource-request-content-while-loading.html is flaky


There appears to be a race condition between InspectorTest.pageLoaded and contentLoaded
but I can't tell because there's just way too much javascript code involved in this test.
Comment 1 Ryosuke Niwa 2013-02-28 15:40:10 PST
Added a test expectation in http://trac.webkit.org/changeset/144384.
Comment 2 Vsevolod Vlasov 2013-03-01 03:31:24 PST
Created attachment 190925 [details]
Comment 3 Alexander Pavlov (apavlov) 2013-03-01 03:36:07 PST
Comment on attachment 190925 [details]

View in context: https://bugs.webkit.org/attachment.cgi?id=190925&action=review

> LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading.html:10
> +    styleElement.setAttribute("rel", "stylesheet");

You can rewrite this as styleElement.rel = "stylesheet"

> LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading.html:11
> +    styleElement.setAttribute("href", "resources/styles-initial.css");

Ditto for "href"
Comment 4 Vsevolod Vlasov 2013-03-01 03:38:55 PST
Committed r144435: <http://trac.webkit.org/changeset/144435>