You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -432,10 +433,12 @@ A {{PerformanceScriptTiming}} has an associated {{ScriptWindowAttribution}} <dfn
432
433
433
434
The {{PerformanceScriptTiming/entryType}} attribute's getter step is to return <code>"script"</code>.
434
435
435
-
The {{PerformanceScriptTiming/type}} attribute's getter step is to return [=this=]'s [=PerformanceScriptTiming/timing info=]'s [=script timing info/type=].
436
+
The {{PerformanceScriptTiming/name}} attribute's getter step is to return <code>"script"</code>.
436
437
437
-
The {{PerformanceScriptTiming/name}} attribute's getter steps are:
438
-
1. Switch on |this|'s {{PerformanceScriptTiming/type}}:
438
+
The {{PerformanceScriptTiming/invokerType}} attribute's getter step is to return [=this=]'s [=PerformanceScriptTiming/timing info=]'s [=script timing info/invoker type=].
439
+
440
+
The {{PerformanceScriptTiming/invoker}} attribute's getter steps are:
441
+
1. Switch on |this|'s {{PerformanceScriptTiming/invokerType}}:
439
442
440
443
: "`classic-script`"
441
444
: "`module-script`"
@@ -460,9 +463,9 @@ The {{PerformanceScriptTiming/name}} attribute's getter steps are:
460
463
::
461
464
1. If |this|'s [=PerformanceScriptTiming/timing info=]'s [=script timing info/invoker name=] is the empty string,
462
465
then:
463
-
1. If |this|'s {{PerformanceScriptTiming/type}} is "`resolve-promise`", then return "`Promise.resolve`".
466
+
1. If |this|'s {{PerformanceScriptTiming/invokerType}} is "`resolve-promise`", then return "`Promise.resolve`".
464
467
1. Otherwise, return "`Promise.reject`".
465
-
1. Let |thenOrCatch| be "`then`" if {{PerformanceScriptTiming/type}} is "`resolve-promise`"; otherwise "`reject-promise`".
468
+
1. Let |thenOrCatch| be "`then`" if {{PerformanceScriptTiming/invokerType}} is "`resolve-promise`"; otherwise "`reject-promise`".
466
469
1. Return the [=concatenate|concatenation=] of « [=script timing info/invoker name=], ".", |thenOrCatch| ».
467
470
468
471
The {{PerformanceScriptTiming/startTime}} attribute's getter step is to return the [=relative high resolution time=] given [=this=]'s [=PerformanceScriptTiming/timing info=]'s [=script timing info/start time=] and [=this=]'s [=relevant global object=].
@@ -636,8 +639,8 @@ It has the following [=struct/items=]:
636
639
<dfn export>script timing info</dfn> is a [=struct=]. It has the following [=struct/items=]:
637
640
638
641
<dl dfn-for="script timing info">
639
-
: <dfn>type</dfn>
640
-
:: A {{ScriptTimingType}}.
642
+
: <dfn>invoker type</dfn>
643
+
:: A {{ScriptInvokerType}}.
641
644
642
645
: <dfn>start time</dfn>
643
646
: <dfn>end time</dfn>
@@ -823,7 +826,7 @@ Report Long Animation Frames {#loaf-processing-model}
823
826
1. Let |document| be |settings|'s {{Window/document}}.
824
827
1. Let |frameTimingInfo| be |document|'s [=relevant frame timing info=].
825
828
1. If |frameTimingInfo| is null or if |frameTimingInfo|'s [=frame timing info/pending script=] is not null, then return.
0 commit comments