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...
Status: RESOLVED FIXED
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
URL:
Keywords: LayoutTestFailure
Depends on:
Blocks:
 
Reported: 2013-02-28 15:36 PST by Ryosuke Niwa
Modified: 2013-03-01 03:38 PST (History)
8 users (show)

See Also:


Attachments
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

http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20-%20webkit.org&showExpectations=true&tests=http%2Ftests%2Finspector%2Fresource-tree%2Fresource-request-content-while-loading.html

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]
Patch
Comment 3 Alexander Pavlov (apavlov) 2013-03-01 03:36:07 PST
Comment on attachment 190925 [details]
Patch

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>