From 4aa1ef9c237c21e0e657fc22386687baf9a2b8d5 Mon Sep 17 00:00:00 2001 From: Andrea Marchesini Date: Thu, 7 Dec 2017 12:32:06 +0100 Subject: [PATCH] Bug 1423507 - Data URL Shared Workers must be shared when the parent origins match - WPT, r=bkelly --- testing/web-platform/meta/MANIFEST.json | 19 ++++++ .../tests/workers/SharedWorker_dataUrl.html | 63 +++++++++++++++++++ .../workers/support/iframe_sw_dataUrl.html | 13 ++++ 3 files changed, 95 insertions(+) create mode 100644 testing/web-platform/tests/workers/SharedWorker_dataUrl.html create mode 100644 testing/web-platform/tests/workers/support/iframe_sw_dataUrl.html diff --git a/testing/web-platform/meta/MANIFEST.json b/testing/web-platform/meta/MANIFEST.json index 84997c046fc0..f473b99bc4db 100644 --- a/testing/web-platform/meta/MANIFEST.json +++ b/testing/web-platform/meta/MANIFEST.json @@ -286741,6 +286741,11 @@ {} ] ], + "workers/support/iframe_sw_dataUrl.html": [ + [ + {} + ] + ], "workers/support/name-as-accidental-global.js": [ [ {} @@ -352264,6 +352269,12 @@ {} ] ], + "workers/SharedWorker_dataUrl.html": [ + [ + "/workers/SharedWorker_dataUrl.html", + {} + ] + ], "workers/WorkerGlobalScope_ErrorEvent_colno.htm": [ [ "/workers/WorkerGlobalScope_ErrorEvent_colno.htm", @@ -581861,6 +581872,10 @@ "d74620a63e7d911ef60b995cabf6b360c2c46a4f", "testharness" ], + "workers/SharedWorker_dataUrl.html": [ + "f65d3caef416775c970a554448cebdf02580428f", + "testharness" + ], "workers/WorkerGlobalScope_ErrorEvent_colno.htm": [ "8ceb41543f928c918010000d638099faeb674980", "testharness" @@ -582865,6 +582880,10 @@ "b0e679dd7720701364abeaca6870d94db5d7ee74", "support" ], + "workers/support/iframe_sw_dataUrl.html": [ + "2cd66112b612e7b861af00af5ccc26cc7c5a76f8", + "support" + ], "workers/support/name-as-accidental-global.js": [ "530670268fae610b60066773ee475743b8498b53", "support" diff --git a/testing/web-platform/tests/workers/SharedWorker_dataUrl.html b/testing/web-platform/tests/workers/SharedWorker_dataUrl.html new file mode 100644 index 000000000000..c1dec27d49f8 --- /dev/null +++ b/testing/web-platform/tests/workers/SharedWorker_dataUrl.html @@ -0,0 +1,63 @@ + +Shared Worker: Data URL cross-origin checks + + + + + + + diff --git a/testing/web-platform/tests/workers/support/iframe_sw_dataUrl.html b/testing/web-platform/tests/workers/support/iframe_sw_dataUrl.html new file mode 100644 index 000000000000..0fb0ec228079 --- /dev/null +++ b/testing/web-platform/tests/workers/support/iframe_sw_dataUrl.html @@ -0,0 +1,13 @@ + +Iframe for Shared Worker: Data URL cross-origin checks + + + +