Skip to content

Commit

Permalink
part 6) Link from some worker tests to WPT's documentation.
Browse files Browse the repository at this point in the history
Makes clearer what's meant.

Differential Revision: https://phabricator.services.mozilla.com/D232330

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1907849
gecko-commit: 75f53a8a4a02f259baa44eef277e8e4b167f9158
gecko-reviewers: smaug
  • Loading branch information
mbrodesser-Igalia authored and moz-wptsync-bot committed Dec 17, 2024
1 parent 50bbdd1 commit 343a084
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions trusted-types/WorkerGlobalScope-eval.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
// setup, and then have additional policies for the actual test cases.
//
// For the same reason we cannot use the otherwise preferred 'META: workers'
// tag, since that test setup would be blocked as soon as trusted types
// enforcement is enabled.
// tag
// (https://web-platform-tests.org/writing-tests/testharness.html#tests-for-other-or-multiple-globals-any-js),
// since that test setup would be blocked as soon as trusted types enforcement
// is enabled.
const test_setup_policy = trustedTypes.createPolicy("hurrayanythinggoes", {
createScriptURL: x => x});
const test_url =
Expand Down
6 changes: 4 additions & 2 deletions trusted-types/WorkerGlobalScope-importScripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
// setup, and then have additional policies for the actual test cases.
//
// For the same reason we cannot use the otherwise preferred 'META: workers'
// tag, since that test setup would be blocked as soon as trusted types
// enforcement is enabled.
// tag
// (https://web-platform-tests.org/writing-tests/testharness.html#tests-for-other-or-multiple-globals-any-js),
// since that test setup would be blocked as soon as trusted types enforcement
// is enabled.
const test_setup_policy = trustedTypes.createPolicy("hurrayanythinggoes", {
createScriptURL: x => x});
const test_url =
Expand Down

0 comments on commit 343a084

Please sign in to comment.