File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -8650,6 +8650,14 @@ partial interface mixin WindowOrWorkerGlobalScope {
8650
8650
method steps are:
8651
8651
8652
8652
<ol>
8653
+ <li>
8654
+ <p> If the user-agent has determined that deferred fetching is not allowed in this context, then
8655
+ throw a {{NotAllowedError}} .
8656
+
8657
+ <p class=note> User-agents can, for example, decide that deferred fetching is not allowed for
8658
+ subframes or gated behind some permission.
8659
+ </li>
8660
+
8653
8661
<li><p> Let <var> requestObject</var> be the result of invoking the initial value of {{Request}} as
8654
8662
constructor with <var> input</var> and <var> init</var> as arguments. This may throw an exception.
8655
8663
@@ -8658,6 +8666,12 @@ method steps are:
8658
8666
8659
8667
<li><p> Let <var> request</var> be <var> requestObject</var> 's <a for=Request>request</a> .
8660
8668
8669
+ <li><p> If <var> request</var> 's <a for=request>URL</a>' s <a for=url>scheme</a> is not an
8670
+ <a>HTTP(S) scheme</a> then throw a {{TypeError}} .
8671
+
8672
+ <li><p> If <var> request</var> 's <a for=request>URL</a> is not a
8673
+ [=potentially trustworthy url=] , then throw a {{SecurityError}} .
8674
+
8661
8675
<li><p> Let <var> backgroundTimeout</var> be null.
8662
8676
8663
8677
<li><p> If <var> init</var> is given and <var> init</var> ["<code>backgroundTimeout</code>"]
You can’t perform that action at this time.
0 commit comments