Fix flaky test fast/eventsource/eventsource-url-attribute.html
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Mar 2012 04:25:16 +0000 (04:25 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Mar 2012 04:25:16 +0000 (04:25 +0000)
commit66577f543fe83d73119628474ad8f0b64b67c87f
tree8b2f14a976f4160ef2e53155566894c01119d5ae
parent2e90dd6512a581678ef4e0f35eda96832c8593e7
Fix flaky test fast/eventsource/eventsource-url-attribute.html
https://bugs.webkit.org/show_bug.cgi?id=82257

Patch by Pablo Flouret <pablof@motorola.com> on 2012-03-26
Reviewed by Ryosuke Niwa.

The test used http://localhost, chosen as a semi-random url, but since
it doesn't return a text/event-stream mime-type sometimes a console
warning would appear. Moved the test to the http folder and changed it
to use a resource with the correct mime-type.

* http/tests/eventsource/eventsource-url-attribute-expected.txt: Renamed from LayoutTests/fast/eventsource/eventsource-url-attribute-expected.txt.
* http/tests/eventsource/eventsource-url-attribute.html: Renamed from LayoutTests/fast/eventsource/eventsource-url-attribute.html.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@112204 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/eventsource/eventsource-url-attribute-expected.txt [moved from LayoutTests/fast/eventsource/eventsource-url-attribute-expected.txt with 58% similarity]
LayoutTests/http/tests/eventsource/eventsource-url-attribute.html [moved from LayoutTests/fast/eventsource/eventsource-url-attribute.html with 63% similarity]