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 @@ -8646,6 +8646,14 @@ partial interface mixin WindowOrWorkerGlobalScope {
8646
8646
method steps are:
8647
8647
8648
8648
<ol>
8649
+ <li>
8650
+ <p> If the user-agent has determined that deferred fetching is not allowed in this context, then
8651
+ throw a {{NotAllowedError}} .
8652
+
8653
+ <p class=note> User-agents can, for example, decide that deferred fetching is not allowed for
8654
+ subframes or gated behind some permission.
8655
+ </li>
8656
+
8649
8657
<li><p> Let <var> requestObject</var> be the result of invoking the initial value of {{Request}} as
8650
8658
constructor with <var> input</var> and <var> init</var> as arguments. This may throw an exception.
8651
8659
@@ -8654,6 +8662,12 @@ method steps are:
8654
8662
8655
8663
<li><p> Let <var> request</var> be <var> requestObject</var> 's <a for=Request>request</a> .
8656
8664
8665
+ <li><p> If <var> request</var> 's <a for=request>URL</a>' s <a for=url>scheme</a> is not an
8666
+ <a>HTTP(S) scheme</a> then throw a {{TypeError}} .
8667
+
8668
+ <li><p> If <var> request</var> 's <a for=request>URL</a> is not a
8669
+ [=potentially trustworthy url=] , then throw a {{SecurityError}} .
8670
+
8657
8671
<li><p> Let <var> backgroundTimeout</var> be null.
8658
8672
8659
8673
<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