LayoutTests/http/wpt/fetch/csp-reports-bypass-csp-checks.html is flaky
authoryouenn@apple.com <youenn@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Jan 2019 23:42:43 +0000 (23:42 +0000)
committeryouenn@apple.com <youenn@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Jan 2019 23:42:43 +0000 (23:42 +0000)
commit13e9ac3ce6b9ea09d265bd4b7e3662ba4bab73bf
tree29ff7726d3305f20f747c5ac70b797e2335a17b6
parent539a7bc0e0945726bf4386505243f0ea236ca23c
LayoutTests/http/wpt/fetch/csp-reports-bypass-csp-checks.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=193178

Reviewed by Chris Dumez.

Test was flaky as the ping load CSP report request might be sent after the
fetch that grabs the report.
To overcome that issue, fetch the report several times until receiving a report.

* http/wpt/fetch/csp-reports-bypass-csp-checks.html:
* http/wpt/fetch/resources/store-csp-report.py:
(main):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239707 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/wpt/fetch/csp-reports-bypass-csp-checks.html
LayoutTests/http/wpt/fetch/resources/store-csp-report.py