File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -193,10 +193,15 @@ these steps:
193
193
<ol>
194
194
<li><p> Let <var> pending</var> be the <a>context object</a> .
195
195
196
- <li><p> Let <var> error </var> be false .
196
+ <li><p> Let <var> pendingDoc </var> be <var> pending </var> 's <a>node document</a> .
197
197
198
198
<li><p> Let <var> promise</var> be a new promise.
199
199
200
+ <li><p> If <var> pendingDoc</var> is not <a>fully active</a> , then reject <var> promise</var> with a
201
+ <code> TypeError</code> exception and return <var> promise</var> .
202
+
203
+ <li><p> Let <var> error</var> be false.
204
+
200
205
<li>
201
206
<p> If any of the following conditions are false, then set <var> error</var> to true:
202
207
@@ -216,7 +221,7 @@ these steps:
216
221
217
222
<li><p> Return <var> promise</var> , and run the remaining steps <a>in parallel</a> .
218
223
219
- <li><p> If <var> error</var> is false: Resize <var> pending </var> 's
224
+ <li><p> If <var> error</var> is false: Resize <var> pendingDoc </var> 's
220
225
<a>top-level browsing context</a> 's <a>active document</a>' s viewport's dimensions to match the
221
226
dimensions of the screen of the output device. Optionally display a message how the end user can
222
227
revert this.
You can’t perform that action at this time.
0 commit comments