Skip to content

Commit 3959bf9

Browse files
authored
Remove redundant sandboxing flag checks. (#399)
1 parent 0c800c5 commit 3959bf9

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

index.html

-25
Original file line numberDiff line numberDiff line change
@@ -1120,11 +1120,6 @@ <h4>
11201120
<li>Let <var>presentationUrls</var> be the <a>presentation request
11211121
URLs</a> of <var>presentationRequest</var>.
11221122
</li>
1123-
<li>If the document object's <a>active sandboxing flag set</a> has
1124-
the <a>sandboxed presentation browsing context flag</a> set, then
1125-
return a <a>Promise</a> rejected with a <a>SecurityError</a> and
1126-
abort these steps.
1127-
</li>
11281123
<li>If there is already an unsettled <a>Promise</a> from a previous
11291124
call to <a for="PresentationRequest">start</a> on any
11301125
<a>PresentationRequest</a> in the same <a>controlling browsing
@@ -1232,10 +1227,6 @@ <h4>
12321227
<li>Let <var>presentationUrls</var> be the <a>presentation request
12331228
URLs</a> of <var>presentationRequest</var>.
12341229
</li>
1235-
<li>If the <a>active sandboxing flag set</a> for <var>W</var> has
1236-
the <a>sandboxed presentation browsing context flag</a> set, then
1237-
abort these steps.
1238-
</li>
12391230
<li>If there is no <a>presentation request URL</a> for
12401231
<var>presentationRequest</var> for which <var>D</var> is an
12411232
<a>available presentation display</a>, then abort these steps.
@@ -1373,11 +1364,6 @@ <h4>
13731364
</dd>
13741365
</dl>
13751366
<ol>
1376-
<li>If the document object's <a>active sandboxing flag set</a> has
1377-
the <a>sandboxed presentation browsing context flag</a> set, then
1378-
return a <a>Promise</a> rejected with a <a>SecurityError</a> and
1379-
abort these steps.
1380-
</li>
13811367
<li>Let <var>P</var> be a new <a>Promise</a>.
13821368
</li>
13831369
<li>Return <var>P</var>, but continue running these steps in
@@ -1672,17 +1658,6 @@ <h4>
16721658
</dd>
16731659
</dl>
16741660
<ol>
1675-
<li>If the document object's <a>active sandboxing flag set</a> has
1676-
the <a>sandboxed presentation browsing context flag</a> set, then
1677-
run the following substeps:
1678-
<ol>
1679-
<li>Return a new <a>Promise</a> object <a data-lt=
1680-
"reject">rejected</a> with a <a>SecurityError</a>.
1681-
</li>
1682-
<li>Abort these steps.
1683-
</li>
1684-
</ol>
1685-
</li>
16861661
<li>If there is an unsettled <a>Promise</a> from a previous call to
16871662
<a for="PresentationRequest">getAvailability</a> on
16881663
<code>presentationRequest</code>, return that <a>Promise</a> and

0 commit comments

Comments
 (0)