http/tests/security/isolatedWorld/bypass-main-world-csp-worker.html has been flakily failing in WK1. Frequency of failure appears to have increased recently. Point of regression is not obvious because older builds are still failing. Steps to Reproduce: run-webkit-tests --iter 10000 --exit-after-n-failures 1 -f -1 http/tests/security/isolatedWorld/bypass-main-world-csp-worker.html History: https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=http%2Ftests%2Fsecurity%2FisolatedWorld%2Fbypass-main-world-csp-worker.html Diff: --- /Volumes/Data/slave/mojave-release-tests-wk1/build/layout-test-results/http/tests/security/isolatedWorld/bypass-main-world-csp-worker-expected.txt +++ /Volumes/Data/slave/mojave-release-tests-wk1/build/layout-test-results/http/tests/security/isolatedWorld/bypass-main-world-csp-worker-actual.txt @@ -1,3 +1,4 @@ +CONSOLE MESSAGE: line 3: ReferenceError: Can't find variable: alert This tests that in an isolated world the Content Security Policy of the parent origin (this page) is bypassed and a Web Worker is allowed to be instantiated with a script URL not listed in the CSP of the page. PASS worker instantiated.
<rdar://problem/51811010>
Created attachment 382487 [details] Patch
Created attachment 382488 [details] Patch
Comment on attachment 382488 [details] Patch Looks reasonable. r=me!
Comment on attachment 382488 [details] Patch Clearing flags on attachment: 382488 Committed r252139: <https://trac.webkit.org/changeset/252139>
All reviewed patches have been landed. Closing bug.