Bug 1623931 [wpt PR 22360] - Fix flaky cache-storage-reporting.https.html, a=testonly
commitefe5f75bd9a69de94678cd7d5f6ab39e6a1fae77
authorarthursonzogni <arthursonzogni@chromium.org>
Fri, 27 Mar 2020 20:40:13 +0000 (27 20:40 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Tue, 31 Mar 2020 11:30:26 +0000 (31 11:30 +0000)
tree4b8df0903e3fa4bd3e94ce9fe1960e7326328ce3
parentfec92f9fd08a3859b927d2ea7911ee2873d07b1d
Bug 1623931 [wpt PR 22360] - Fix flaky cache-storage-reporting.https.html, a=testonly

Automatic update from web-platform-tests
Fix flaky cache-storage-reporting.https.html

The test is flaky, because it rely on a 4s timeout. This is not enough
always enough.

This patch splits this test into 4. One for every execution context:
- Document
- ServiceWorker
- DedicatedWorker
- SharedWorker

This allows the timeout to become 'infinite', while still making sure
the passing tests are still executed. Currently, only the SharedWorker
hasn't been implemented yet. As a result it is marked as [ Timeout ]

Bug: 1061029
Change-Id: If9a8e7b65d91cccffeeedb3f1a13d5e6e32e41bf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2112556
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#752410}

--

wpt-commits: fb012e841bcff7cac0d96c044d918a7b811e055f
wpt-pr: 22360
testing/web-platform/tests/html/cross-origin-embedder-policy/cache-storage-reporting-dedicated-worker.https.html [new file with mode: 0644]
testing/web-platform/tests/html/cross-origin-embedder-policy/cache-storage-reporting-document.https.html [new file with mode: 0644]
testing/web-platform/tests/html/cross-origin-embedder-policy/cache-storage-reporting-service-worker.https.html [new file with mode: 0644]
testing/web-platform/tests/html/cross-origin-embedder-policy/cache-storage-reporting-shared-worker.https.html [new file with mode: 0644]
testing/web-platform/tests/html/cross-origin-embedder-policy/cache-storage-reporting.https.html [deleted file]
testing/web-platform/tests/html/cross-origin-embedder-policy/resources/cache-storage-reporting.js [new file with mode: 0644]