Bug 1614725 [wpt PR 21732] - [WPT/common/security-features] Add SharedWorkers as...
commit5b4fba96995cb6618159ffcac099266e0cb9e5fc
authorHiroshige Hayashizaki <hiroshige@chromium.org>
Sat, 15 Feb 2020 10:11:19 +0000 (15 10:11 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 17 Feb 2020 10:27:47 +0000 (17 10:27 +0000)
treeb662950314b4cff0dead96dca0aa7151f047e917
parentdfe9e6f442bb93d2223819d975513ec75edd4a4d
Bug 1614725 [wpt PR 21732] - [WPT/common/security-features] Add SharedWorkers as source contexts, a=testonly

Automatic update from web-platform-tests
[WPT/common/security-features] Add SharedWorkers as source contexts

This CL adds support for
{classic|module} {http(s):|data:} SharedWorkerGlobalScope
as source contexts, namely:
  "sharedworker-classic", "sharedworker-module",
  "sharedworker-classic-data", "sharedworker-module-data"

Actual tests for such cases will be added by subsequent CLs.

Bug: 1048619, 881202, 906850
Change-Id: I72c71c303430014a68cecfa65a08dcaf9a23b6c9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2048118
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#740877}

--

wpt-commits: e050cc01c92dbe4c58bac73d85fa1b958eb96b31
wpt-pr: 21732
testing/web-platform/tests/common/security-features/resources/common.sub.js
testing/web-platform/tests/common/security-features/scope/template/worker.js.template
testing/web-platform/tests/common/security-features/tools/spec_validator.py