Skip to content

Commit

Permalink
Block import() in service workers
Browse files Browse the repository at this point in the history
  • Loading branch information
jakearchibald authored Feb 22, 2021
1 parent c019c4a commit 25d7190
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -90327,7 +90327,8 @@ import "https://example.com/foo/../module2.mjs";</code></pre>

<li>
<p>If <var>settings object</var>'s <span data-x="concept-settings-object-global">global
object</span> implements <code>WorkletGlobalScope</code>, then:</p>
object</span> implements <code>WorkletGlobalScope</code> or
<code>ServiceWorkerGlobalScope</code>, then:</p>

<ol>
<li><p>Let <var>completion</var> be Completion { [[Type]]: throw, [[Value]]: a new
Expand Down

0 comments on commit 25d7190

Please sign in to comment.