@@ -2762,6 +2762,24 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
2762
2762
</ul>
2763
2763
</dd>
2764
2764
2765
+ <dt>Long Animation Frames</dt>
2766
+
2767
+ <dd>
2768
+ <p>The following terms are defined in <cite>Long Animation Frames</cite>: <ref>LONGANIMATIONFRAMES</ref></p>
2769
+
2770
+ <ul class="brief">
2771
+ <li><dfn data-x-href="https://w3c.github.io/long-animation-frames/#record-task-start-time">record task start time</dfn></li>
2772
+ <li><dfn data-x-href="https://w3c.github.io/long-animation-frames/#record-task-end-time">record task end time</dfn></li>
2773
+ <li><dfn data-x-href="https://w3c.github.io/long-animation-frames/#record-rendering-time">record rendering time</dfn></li>
2774
+ <li><dfn data-x-href="https://w3c.github.io/long-animation-frames/#record-classic-script-creation-time">record classic script creation time</dfn></li>
2775
+ <li><dfn data-x-href="https://w3c.github.io/long-animation-frames/#record-classic-script-execution-start-time">record classic script execution start time</dfn></li>
2776
+ <li><dfn data-x-href="https://w3c.github.io/long-animation-frames/#record-module-script-execution-start-time">record module script execution start time</dfn></li>
2777
+ <li><dfn data-x-href="https://w3c.github.io/long-animation-frames/#record-pause-duration">Record pause duration</dfn></li>
2778
+ <li><dfn data-x-href="https://w3c.github.io/long-animation-frames/#record-timing-info-for-timer-handler">record timing info for timer handler</dfn></li>
2779
+ <li><dfn data-x-href="https://w3c.github.io/long-animation-frames/#record-timing-info-for-microtask-checkpoint">record timing info for microtask checkpoint</dfn></li>
2780
+ </ul>
2781
+ </dd>
2782
+
2765
2783
<dt>Long Tasks</dt>
2766
2784
2767
2785
<dd>
@@ -3385,6 +3403,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
3385
3403
current time</dfn>, the <dfn
3386
3404
data-x-href="https://w3c.github.io/hr-time/#dfn-shared-monotonic-clock">shared monotonic clock</dfn>,
3387
3405
the <dfn data-x-href="https://w3c.github.io/hr-time/#dfn-unsafe-moment">unsafe moment</dfn>,
3406
+ the <dfn data-x-href="https://w3c.github.io/hr-time/#dfn-duration-from">duration from</dfn>,
3388
3407
the <dfn data-x-href="https://w3c.github.io/hr-time/#dfn-coarsen-time">coarsen time</dfn>
3389
3408
algorithm, and the <dfn
3390
3409
data-x-href="https://w3c.github.io/hr-time/#dom-domhighrestimestamp"><code>DOMHighResTimeStamp</code></dfn>
@@ -106349,8 +106368,8 @@ document.querySelector("button").addEventListener("click", bound);
106349
106368
106350
106369
<li><p>Let <var>script</var> be the result of <span>creating a classic script</span> given
106351
106370
<var>sourceText</var>, <var>settingsObject</var>, <var>response</var>'s <span
106352
- data-x="concept-response-url">URL</span>, <var>options</var>, and
106353
- <var>mutedErrors</var>.</p></li>
106371
+ data-x="concept-response-url">URL</span>, <var>options</var>,
106372
+ <var>mutedErrors</var>, and <var>url</var> .</p></li>
106354
106373
106355
106374
<li>Run <var>onComplete</var> given <var>script</var>.</li>
106356
106375
</ol>
@@ -107030,7 +107049,8 @@ document.querySelector("button").addEventListener("click", bound);
107030
107049
<p>To <dfn data-x="creating a classic script">create a classic script</dfn>, given a
107031
107050
<span>string</span> <var>source</var>, an <span>environment settings object</span>
107032
107051
<var>settings</var>, a <span>URL</span> <var>baseURL</var>, a <span>script fetch options</span>
107033
- <var>options</var>, and an optional boolean <var>mutedErrors</var> (default false):</p>
107052
+ <var>options</var>, an optional boolean <var>mutedErrors</var> (default false), and an optional
107053
+ <span>URL</span>-or-null <var>sourceURLForWindowScripts</var> (default null):</p>
107034
107054
107035
107055
<ol>
107036
107056
<li>
@@ -107063,6 +107083,9 @@ document.querySelector("button").addEventListener("click", bound);
107063
107083
<li><p>Set <var>script</var>'s <span data-x="concept-script-parse-error">parse error</span> and
107064
107084
<span data-x="concept-script-error-to-rethrow">error to rethrow</span> to null.</p></li>
107065
107085
107086
+ <li><p><span>Record classic script creation time</span> given <var>script</var> and
107087
+ <var>sourceURLForWindowScripts</var>.</p></li>
107088
+
107066
107089
<li>
107067
107090
<p>Let <var>result</var> be <span data-x="js-ParseScript">ParseScript</span>(<var>source</var>,
107068
107091
<var>settings</var>'s <span data-x="environment settings object's realm">realm</span>,
@@ -107344,6 +107367,8 @@ document.querySelector("button").addEventListener("click", bound);
107344
107367
<li><p><span>Check if we can run script</span> with <var>settings</var>. If this returns "do
107345
107368
not run" then return <span>NormalCompletion</span>(empty).</p></li>
107346
107369
107370
+ <li><p><span>Record classic script execution start time</span> given <var>script</var>.</p></li>
107371
+
107347
107372
<li><p><span>Prepare to run script</span> given <var>settings</var>.</p></li>
107348
107373
107349
107374
<li><p>Let <var>evaluationStatus</var> be null.</p></li>
@@ -107426,6 +107451,8 @@ document.querySelector("button").addEventListener("click", bound);
107426
107451
<li><p><span>Check if we can run script</span> with <var>settings</var>. If this returns "do not
107427
107452
run", then return <span>a promise resolved with</span> with undefined.</p></li>
107428
107453
107454
+ <li><p><span>Record module script execution start time</span> given <var>script</var>.</p></li>
107455
+
107429
107456
<li><p><span>Prepare to run script</span> given <var>settings</var>.</p></li>
107430
107457
107431
107458
<li><p>Let <var>evaluationPromise</var> be null.</p></li>
@@ -109675,6 +109702,10 @@ import "https://example.com/foo/../module2.mjs";</code></pre>
109675
109702
<var>taskQueue</var>, and <span data-x="list remove">remove</span> it from
109676
109703
<var>taskQueue</var>.</p></li>
109677
109704
109705
+ <li><p>If <var>oldestTask</var>'s <span data-x="concept-task-document">document</span> is not
109706
+ null, then <span>record task start time</span> given <var>taskStartTime</var> and
109707
+ <var>oldestTask</var>'s <span data-x="concept-task-document">document</span>.</p></li>
109708
+
109678
109709
<li><p>Set the <span>event loop</span>'s <span>currently running task</span> to
109679
109710
<var>oldestTask</var>.</p></li>
109680
109711
@@ -109687,7 +109718,8 @@ import "https://example.com/foo/../module2.mjs";</code></pre>
109687
109718
</ol>
109688
109719
</li>
109689
109720
109690
- <li><p>Let <var>now</var> be the <span>unsafe shared current time</span>. <ref>HRT</ref></p></li>
109721
+ <li><p>Let <var>taskEndTime</var> be the <span>unsafe shared current time</span>.
109722
+ <ref>HRT</ref></p></li>
109691
109723
109692
109724
<li>
109693
109725
<p>If <var>oldestTask</var> is not null, then:</p>
@@ -109717,9 +109749,13 @@ import "https://example.com/foo/../module2.mjs";</code></pre>
109717
109749
</ol>
109718
109750
</li>
109719
109751
109720
- <li><p><span>Report long tasks</span>, passing in <var>taskStartTime</var>, <var>now</var> (the
109721
- end time of the task) , <var>top-level browsing contexts</var>, and
109752
+ <li><p><span>Report long tasks</span>, passing in <var>taskStartTime</var>,
109753
+ <var>taskEndTime</var> , <var>top-level browsing contexts</var>, and
109722
109754
<var>oldestTask</var>.</p></li>
109755
+
109756
+ <li><p>If <var>oldestTask</var>'s <span data-x="concept-task-document">document</span> is not
109757
+ null, then <span>record task end time</span> given <var>taskEndTime</var> and
109758
+ <var>oldestTask</var>'s <span data-x="concept-task-document">document</span>.</p></li>
109723
109759
</ol>
109724
109760
</li>
109725
109761
@@ -110004,6 +110040,9 @@ import "https://example.com/foo/../module2.mjs";</code></pre>
110004
110040
given <var>frameTimestamp</var> and <var>doc</var>'s <span>relevant global object</span> as
110005
110041
the timestamp.</p></li>
110006
110042
110043
+ <li><p>Let <var>unsafeLayoutStartTime</var> be the <span>unsafe shared current
110044
+ time</span>.</p>
110045
+
110007
110046
<li>
110008
110047
<p>For each <var>doc</var> of <var>docs</var>:</p>
110009
110048
@@ -110102,6 +110141,9 @@ import "https://example.com/foo/../module2.mjs";</code></pre>
110102
110141
time</span> given <var>now</var> and <var>doc</var>'s <span>relevant global object</span> as
110103
110142
the timestamp. <ref>INTERSECTIONOBSERVER</ref></p></li>
110104
110143
110144
+ <li><p>For each <var>doc</var> of <var>docs</var>, <span>record rendering time</span> for
110145
+ <var>doc</var> given <var>unsafeStyleAndLayoutStartTime</var>.</p></li>
110146
+
110105
110147
<li><p>For each <var>doc</var> of <var>docs</var>, <span>mark paint timing</span> for
110106
110148
<var>doc</var>.</p></li>
110107
110149
@@ -110187,6 +110229,8 @@ import "https://example.com/foo/../module2.mjs";</code></pre>
110187
110229
110188
110230
<li><p>Set the <span>event loop</span>'s <span>performing a microtask checkpoint</span> to
110189
110231
false.</p></li>
110232
+
110233
+ <li><p><span>Record timing info for microtask checkpoint</span>.</p></li>
110190
110234
</ol>
110191
110235
110192
110236
<hr>
@@ -110395,6 +110439,11 @@ import "https://example.com/foo/../module2.mjs";</code></pre>
110395
110439
<var>goal</var> is met. This means running the following steps:</p>
110396
110440
110397
110441
<ol>
110442
+ <li><p>Let <var>global</var> be the <span>current global object</span>.</p></li>
110443
+
110444
+ <li><p>Let <var>timeBeforePause</var> be the <span>current high resolution time</span> given
110445
+ <var>global</var>.</p></li>
110446
+
110398
110447
<li><p>If necessary, update the rendering or user interface of any <code>Document</code> or
110399
110448
<span>navigable</span> to reflect the current state.</p></li>
110400
110449
@@ -110404,6 +110453,10 @@ import "https://example.com/foo/../module2.mjs";</code></pre>
110404
110453
data-x="concept-task">task</span> must block. User agents should remain responsive to user input
110405
110454
while paused, however, albeit in a reduced capacity since the <span>event loop</span> will not be
110406
110455
doing anything.</p></li>
110456
+
110457
+ <li><p><span>Record pause duration</span> given the <span>duration from</span>
110458
+ <var>timeBeforePause</var> to the <span>current high resolution time</span> given
110459
+ <var>global</var>.</p></li>
110407
110460
</ol>
110408
110461
110409
110462
<div class="warning">
@@ -112712,6 +112765,9 @@ partial interface <span id="ShadowRoot-partial">ShadowRoot</span> {
112712
112765
<li><p>If <var>id</var> does not <span data-x="map exists">exist</span> in <var>global</var>'s
112713
112766
<span>map of active timers</span>, then abort these steps.</p></li>
112714
112767
112768
+ <li><p><span>Record timing info for timer handler</span> given <var>handler</var>, <var>global</var>'s
112769
+ <span>relevant settings object</span>, and <var>repeat</var>.</p></li>
112770
+
112715
112771
<li><p>If <var>handler</var> is a <code data-x="idl-Function">Function</code>, then <span
112716
112772
data-x="es-invoking-callback-functions">invoke</span> <var>handler</var> given
112717
112773
<var>arguments</var> with the <span data-x="dfn-callback-this-value">callback this
@@ -142233,6 +142289,9 @@ INSERT INTERFACES HERE
142233
142289
<dt id="refsLONGTASKS">[LONGTASKS]</dt>
142234
142290
<dd><cite><a href="https://w3c.github.io/longtasks/">Long Tasks</a></cite>, D. Denicola, I. Grigorik, S. Panicker. W3C.</dd>
142235
142291
142292
+ <dt id="refsLONGANIMATIONFRAMES">[LONGANIMATIONFRAMES]</dt>
142293
+ <dd><cite><a href="https://w3c.github.io/long-animation-frames/">Long Animation Frames</a></cite>, N. Rosenthal. W3C.</dd>
142294
+
142236
142295
<dt id="refsMAILTO">[MAILTO]</dt>
142237
142296
<dd>(Non-normative) <cite><a href="https://www.rfc-editor.org/rfc/rfc6068">The 'mailto' URI scheme</a></cite>, M. Duerst, L. Masinter, J. Zawinski. IETF.</dd>
142238
142297
0 commit comments