chromium/third_party/blink/web_tests/external/wpt/wasm/serialization/module/nested-worker-success.any.js

// META: global=dedicatedworker,sharedworker
// META: script=resources/test-incrementer.js
"use strict";

promise_test(t => {
  const worker = new Worker("resources/incrementer-worker.js");

  return testSharingViaIncrementerScript(t, worker, "parent worker", worker, "sub-worker");
}, "postMessaging to a dedicated sub-worker allows them to see each others' modifications");