http/tests/css/link-css-disabled-value-with-slow-loading-sheet.html is flaky
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 Dec 2014 21:01:10 +0000 (21:01 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 Dec 2014 21:01:10 +0000 (21:01 +0000)
commitae4c9a29fe29c8b7f44415e23a226c05a2e784d1
treeefa673adbd5ce8bd994fedf85b0d146a75049fb4
parent613edadf85ba3c4b397ee3142563f0d8d4bf9fad
http/tests/css/link-css-disabled-value-with-slow-loading-sheet.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=139591

Reviewed by Antti Koivisto.

* http/tests/css/resources/empty.css: Added.
* http/tests/css/resources/500.php: Copied from LayoutTests/http/tests/css/resources/slow-loading-sheet-in-error.php.
* http/tests/css/resources/slow-loading-sheet-in-error.php: Removed.
* http/tests/css/resources/slow-loading-sheet.php: Removed.
These scripts were not "slow" at all - 100 microseconds is nothing. Furthermore,
slow-loading-sheet-in-error.php wasn't even used, because of a typo in the test.
And worst of all, WebCore has its own ideas about when to load stylesheets - notably,
default stylesheet loading blocks script execution, so we cannot do anything before
the stylesheet loads.

* http/tests/css/link-css-disabled-value-with-slow-loading-sheet-in-error.html:
* http/tests/css/link-css-disabled-value-with-slow-loading-sheet.html:
Removed built-in timeout for the tests, we don't need it. Also, fixed a number of
small stylistic issues.

* http/tests/css/resources/link-css-disabled-value-with-slow-loading-sheet-in-error.js: Removed.
* http/tests/css/resources/link-css-disabled-value-with-slow-loading-sheet.js: Removed.
Moved inside HTML, because having tests in a separate file is useless and harmful.

* platform/mac-wk2/TestExpectations: These tests were always flaky, not 100% failing.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@177231 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/css/link-css-disabled-value-with-slow-loading-sheet-in-error.html
LayoutTests/http/tests/css/link-css-disabled-value-with-slow-loading-sheet.html
LayoutTests/http/tests/css/resources/500.php [moved from LayoutTests/http/tests/css/resources/slow-loading-sheet-in-error.php with 100% similarity]
LayoutTests/http/tests/css/resources/empty.css [new file with mode: 0644]
LayoutTests/http/tests/css/resources/link-css-disabled-value-with-slow-loading-sheet-in-error.js [deleted file]
LayoutTests/http/tests/css/resources/link-css-disabled-value-with-slow-loading-sheet.js [deleted file]
LayoutTests/http/tests/css/resources/slow-loading-sheet.php [deleted file]
LayoutTests/platform/mac-wk2/TestExpectations