Skip to content

Commit d537505

Browse files
Bug 1630702 [wpt PR 23024] - Replace assert_precondition with assert_implements in workers/, a=testonly
Automatic update from web-platform-tests Replace assert_precondition with assert_implements in workers/ assert_precondition is deprecated (see https://github.com/web-platform-tests/rfcs/blob/master/rfcs/assert_precondition_rename.md). Since SharedWorker is not an OPTIONAL part of the HTML spec, these tests should use assert_implements. -- wpt-commits: 94a57a789298c742c609a8a5e41790fc1225a550 wpt-pr: 23024
1 parent f1ff5a1 commit d537505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/web-platform/tests/workers/modules/shared-worker-parse-error-failure.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
};
2323
worker.onerror = () => resolve(false);
2424
});
25-
assert_precondition(
25+
assert_implements(
2626
supportsModuleWorkers,
2727
"Static import must be supported on module shared worker to run this test."
2828
);

0 commit comments

Comments
 (0)