From 0a649ac65ea5e7fa8e08b020e585f85baf2dbb68 Mon Sep 17 00:00:00 2001
From: Jake Archibald
Date: Thu, 18 Feb 2021 15:59:48 +0000
Subject: [PATCH] Block import() in service workers
---
source | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/source b/source
index 475ddd6c3e4..110d7f05928 100644
--- a/source
+++ b/source
@@ -90324,7 +90324,8 @@ import "https://example.com/foo/../module2.mjs";
If settings object's global
- object implements WorkletGlobalScope
, then:
+ object implements WorkletGlobalScope
or
+ ServiceWorkerGlobalScope
, then:
Let completion be Completion { [[Type]]: throw, [[Value]]: a new