Deflake wpt test about CSPEE.
The test was timing out. This is likely caused by not running as "slow" and having many promise_test running in sequence. This patch: - Make them run in parallel. - Fix an error "is-disallowed" vs "is-not-allowed" - Fix an error HTTP vs HTTPS. The "same-origin" case is now useful. - For injecting a script, prefer document.write over javascript-url. The Javascript-url might be canceled by Document::CancelPendingJavaScriptUrls() and this might be another reason to explain the flakes. Bug: chromium:1163751 Change-Id: Id0fe915c551cc464df23fa4235090216b8f701ad Fixed: chromium:1163751 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2640615 Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org> Reviewed-by:Antonio Sartori <antoniosartori@chromium.org> Cr-Commit-Position: refs/heads/master@{#845706}
Showing
Please register or sign in to comment