http/tests/security/xssAuditor/cookie-injection.html is flaky
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Feb 2012 06:33:38 +0000 (06:33 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Feb 2012 06:33:38 +0000 (06:33 +0000)
commitd5b40e3a6993829a43e296264cc0ad597d425a14
tree4d18d52ea13ff2e2ccda567774c6f267325874ec
parentd4337164fbc61aac0055daddc8fd627af9f25afd
http/tests/security/xssAuditor/cookie-injection.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=77908

Reviewed by Eric Seidel.

Before this patch, the output of this test depended on the state of the
global cookie store.  When running tests in parallel, the cookie store
is shared by multiple tests, and so its state varies from run to run.

This patch changes this test to look only for the specific cookie used
by this test, which should make the test more reliable when run in
parallel with other tests.

* http/tests/security/xssAuditor/cookie-injection-expected.txt:
* http/tests/security/xssAuditor/resources/echo-intertag.pl:
* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106906 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/security/xssAuditor/cookie-injection-expected.txt
LayoutTests/http/tests/security/xssAuditor/cookie-injection.html
LayoutTests/http/tests/security/xssAuditor/resources/echo-intertag.pl
LayoutTests/platform/chromium/test_expectations.txt