REGRESSION: [mac-wk2 release] LayoutTest http/tests/security/contentSecurityPolicy...
authorkrollin@apple.com <krollin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 16 Apr 2018 23:57:08 +0000 (23:57 +0000)
committerkrollin@apple.com <krollin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 16 Apr 2018 23:57:08 +0000 (23:57 +0000)
commite7f46dceaa640e5e74cdd2e5bda909ef46a4448e
treee0c2972fbc2b55cb8ab87c1bca5638bf3cdd32bf
parenta4a57b4ed2d8dedcd098bbebd08641f14120c51c
REGRESSION: [mac-wk2 release] LayoutTest http/tests/security/contentSecurityPolicy/script-src-blocked-error-event.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=184673
<rdar://problem/39474698>

Unreviewed test gardening. The test was flaky because the HTTP parser
would try to preload the Javascript resource. Sometimes this operation
would complete in time to print its own console message, duplicating a
subsequent one when the non-preloading resource-load occurs. Updated
the test to load the Javascript in such a way that it skips the reload
step.

* TestExpectations:
* http/tests/security/contentSecurityPolicy/script-src-blocked-error-event-expected.txt:
* http/tests/security/contentSecurityPolicy/script-src-blocked-error-event.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230691 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/TestExpectations
LayoutTests/http/tests/security/contentSecurityPolicy/script-src-blocked-error-event-expected.txt
LayoutTests/http/tests/security/contentSecurityPolicy/script-src-blocked-error-event.html