Skip to content

Commit

Permalink
Use .any.js features for SAB nested workers test
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Aug 21, 2018
1 parent 5fd7206 commit ba5c61c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 32 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
// META: global=!default,dedicatedworker,sharedworker
// META: script=resources/test-incrementer.js
"use strict";
importScripts("/resources/testharness.js");
importScripts("resources/test-incrementer.js");

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");

done();

0 comments on commit ba5c61c

Please sign in to comment.