REGRESSION(r203110): LayoutTest http/tests/preload/single_download_preload_runner...
authoryoav@yoav.ws <yoav@yoav.ws@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Jan 2017 21:26:07 +0000 (21:26 +0000)
committeryoav@yoav.ws <yoav@yoav.ws@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Jan 2017 21:26:07 +0000 (21:26 +0000)
commitdc479ecf08cd7835805be1f8fc5b2b0374eb57f4
tree30dcf7f3999e50d71dc7663e02c06f49dce72ba2
parent4d28c77cd7c276deb40775dd5650f9cbd56a2e01
REGRESSION(r203110): LayoutTest http/tests/preload/single_download_preload_runner.html timing out
https://bugs.webkit.org/show_bug.cgi?id=159678

Move the single_download_preload test to be in a single document rather than a frame, as the frame based version was timing out.
I suspect that recent changes to handling of feature flags resulted in feature flags turned off for frames, which caused this test
to fail. As the frame doesn't seem required in this case, we can fold the entire test to a single document.
On top of that, I added per resource verification for the number of requests, which makes the test clearer.

Reviewed by Alex Christensen.

* TestExpectations: Removed the timeout expectation for the test.
* http/tests/preload/single_download_preload-expected.txt: Renamed from LayoutTests/http/tests/preload/single_download_preload_runner-expected.txt.
* http/tests/preload/single_download_preload.html: Renamed from LayoutTests/http/tests/preload/resources/single_download_preload.html as well as fixed.
* http/tests/preload/single_download_preload_runner.html: Removed.
* http/tests/resources/dummy.xml: Added.
* http/tests/resources/test.oga: Added.
* platform/mac/TestExpectations: Removed the timeout expectation for the test.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@210881 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/TestExpectations
LayoutTests/http/tests/preload/resources/single_download_preload.html [deleted file]
LayoutTests/http/tests/preload/single_download_preload-expected.txt [moved from LayoutTests/http/tests/preload/single_download_preload_runner-expected.txt with 57% similarity]
LayoutTests/http/tests/preload/single_download_preload.html [new file with mode: 0644]
LayoutTests/http/tests/preload/single_download_preload_runner.html [deleted file]
LayoutTests/http/tests/resources/dummy.xml [new file with mode: 0644]
LayoutTests/http/tests/resources/test.oga [new file with mode: 0644]
LayoutTests/platform/mac/TestExpectations