@@ -81974,10 +81974,11 @@ interface <dfn>Location</dfn> { // but see also <a href="#the-location-interface
81974
81974
<var>script source</var>, <var>settings</var>, <var>base URL</var>, and the <span>default
81975
81975
classic script fetch options</span>.</p></li>
81976
81976
81977
- <li><p>Let <var>result</var> be the result of <span data-x="run a classic script">running the
81978
- classic script</span> <var>script</var>. If evaluation was unsuccessful, let
81979
- <var>result</var> be undefined instead. (The result will also be undefined if <span
81980
- data-x="concept-bc-noscript">scripting is disabled</span>.)</p></li>
81977
+ <li><p>Let <var>evaluationStatus</var> be the result of <span data-x="run a classic
81978
+ script">running the classic script</span> <var>script</var>.</p></li>
81979
+
81980
+ <li><p>Let <var>result</var> be undefined if <var>evaluationStatus</var> is an <span>abrupt
81981
+ completion</span>, or <var>evaluationStatus</var>.[[Value]] otherwise.</p></li>
81981
81982
81982
81983
<li><p>Let <var>response</var> be null.</p></li>
81983
81984
@@ -87371,7 +87372,7 @@ interface <dfn>ApplicationCache</dfn> : <span>EventTarget</span> {
87371
87372
<li><p>Let <var>settings</var> be the <span>settings object</span> of <var>script</var>.</p></li>
87372
87373
87373
87374
<li><p><span>Check if we can run script</span> with <var>settings</var>. If this returns "do
87374
- not run" then return.</p></li>
87375
+ not run" then return <span>NormalCompletion</span>(undefined) .</p></li>
87375
87376
87376
87377
<li><p><span>Prepare to run script</span> given <var>settings</var>.</p></li>
87377
87378
@@ -87426,7 +87427,7 @@ interface <dfn>ApplicationCache</dfn> : <span>EventTarget</span> {
87426
87427
87427
87428
<li><p><span>Clean up after running script</span> with <var>settings</var>.</p></li>
87428
87429
87429
- <li><p>Return undefined .</p></li>
87430
+ <li><p>Return <var>evaluationStatus</var> .</p></li>
87430
87431
</ol>
87431
87432
</li>
87432
87433
</ol>
@@ -87436,15 +87437,17 @@ interface <dfn>ApplicationCache</dfn> : <span>EventTarget</span> {
87436
87437
87437
87438
<li>
87438
87439
<p>If <var>evaluationStatus</var> is a normal completion, return
87439
- <var>evaluationStatus</var>.[[Value]]. </p>
87440
+ <var>evaluationStatus</var>.</p>
87440
87441
87441
87442
<p class="note">This value is only ever used by the <span data-x="javascript
87442
87443
protocol"><code>javascript:</code> URL steps</span>.</p>
87443
87444
</li>
87444
87445
87445
87446
<li><p>If we've reached this point, <var>evaluationStatus</var> was left as null because the
87446
87447
script was <span data-x="abort a running script">aborted prematurely</span> during evaluation.
87447
- Return undefined.</p></li>
87448
+ Return Completion { [[Type]]: throw, [[Value]]: a new
87449
+ <span>"<code>QuotaExceededError</code>"</span> <code>DOMException</code>, [[Target]]: empty }.
87450
+ </p></li>
87448
87451
</ol>
87449
87452
87450
87453
<p>To <dfn data-export="">run a module script</dfn> given a <span>module script</span>
@@ -87456,7 +87459,7 @@ interface <dfn>ApplicationCache</dfn> : <span>EventTarget</span> {
87456
87459
<li><p>Let <var>settings</var> be the <span>settings object</span> of <var>script</var>.</p></li>
87457
87460
87458
87461
<li><p><span>Check if we can run script</span> with <var>settings</var>. If this returns "do
87459
- not run" then return.</p></li>
87462
+ not run" then return <span>NormalCompletion</span>(undefined) .</p></li>
87460
87463
87461
87464
<li><p><span>Prepare to run script</span> given <var>settings</var>.</p></li>
87462
87465
@@ -87485,7 +87488,7 @@ interface <dfn>ApplicationCache</dfn> : <span>EventTarget</span> {
87485
87488
<var>evaluationStatus</var> to Completion { [[Type]]: throw, [[Value]]: a new
87486
87489
<span>"<code>QuotaExceededError</code>"</span> <code>DOMException</code>, [[Target]]: empty
87487
87490
}.</p>
87488
- </li>
87491
+ </li>
87489
87492
</ol>
87490
87493
</li>
87491
87494
@@ -87502,6 +87505,8 @@ interface <dfn>ApplicationCache</dfn> : <span>EventTarget</span> {
87502
87505
</li>
87503
87506
87504
87507
<li><p><span>Clean up after running script</span> with <var>settings</var>.</p></li>
87508
+
87509
+ <li><p>Return <var>evaluationStatus</var>.</p></li>
87505
87510
</ol>
87506
87511
87507
87512
<p>The steps to <dfn>check if we can run script</dfn> with an <span>environment settings
0 commit comments