diff --git a/workers/modules/shared-worker-parse-error-failure.html b/workers/modules/shared-worker-parse-error-failure.html index 0d8e390382f112..8f63d5f37aaf6a 100644 --- a/workers/modules/shared-worker-parse-error-failure.html +++ b/workers/modules/shared-worker-parse-error-failure.html @@ -22,7 +22,7 @@ }; worker.onerror = () => resolve(false); }); - assert_precondition( + assert_implements( supportsModuleWorkers, "Static import must be supported on module shared worker to run this test." );