From e7ab365fd0c2c1db3273ab65f2ac05b2edaffe15 Mon Sep 17 00:00:00 2001 From: Yoav Weiss Date: Mon, 16 Mar 2026 08:30:55 +0100 Subject: [PATCH] Add 'attribute' keyword to IDL attribute dfns for Bikeshed --- index.bs | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/index.bs b/index.bs index 52b661f..c9ee683 100644 --- a/index.bs +++ b/index.bs @@ -372,7 +372,7 @@ A {{PerformanceNavigationTiming}} has an associated null or [=service worker tim service worker timing.

- The unloadEventStart getter steps are to return |this|'s + The unloadEventStart getter steps are to return |this|'s [=previous document unload timing=]'s [=document unload timing info/unload event start time=].

If the previous document and the current document have the same @@ -384,7 +384,7 @@ A {{PerformanceNavigationTiming}} has an associated null or [=service worker tim zero.

- The unloadEventEnd getter steps are to return |this|'s + The unloadEventEnd getter steps are to return |this|'s [=previous document unload timing=]'s [=document unload timing info/unload event end time=].

If the previous document and the current document have the same @@ -396,7 +396,7 @@ A {{PerformanceNavigationTiming}} has an associated null or [=service worker tim zero.

- The domInteractive getter steps are to return + The domInteractive getter steps are to return |this|'s [=document load timing=]'s [=document load timing info/DOM interactive time=].

This timestamp is measured before the user agent sets the @@ -404,7 +404,7 @@ A {{PerformanceNavigationTiming}} has an associated null or [=service worker tim [=the end|"interactive"=].

- The domContentLoadedEventStart getter steps are to return |this|'s + The domContentLoadedEventStart getter steps are to return |this|'s [=document load timing=]'s [=document load timing info/DOM content loaded event start time=].

This timestamp is measured before the user agent dispatches the @@ -412,7 +412,7 @@ A {{PerformanceNavigationTiming}} has an associated null or [=service worker tim event.

- The domContentLoadedEventEnd getter steps are to return + The domContentLoadedEventEnd getter steps are to return |this|'s [=document load timing=]'s [=document load timing info/DOM content loaded event end time=].

This timestamp is measured after the user agent completes handling of the @@ -420,7 +420,7 @@ A {{PerformanceNavigationTiming}} has an associated null or [=service worker tim event.

- The domComplete getter steps are to return + The domComplete getter steps are to return |this|'s [=document load timing=]'s [=document load timing info/DOM complete time=].

This timestamp is measured before the user agent sets the [=current document readiness=] to @@ -428,25 +428,25 @@ A {{PerformanceNavigationTiming}} has an associated null or [=service worker tim definition.

- The loadEventStart getter steps are to return + The loadEventStart getter steps are to return |this|'s [=document load timing=]'s [=document load timing info/load event start time=].

This timestamp is measured before the user agent dispatches the load event for the document.

- The loadEventEnd getter steps are to return + The loadEventEnd getter steps are to return |this|'s [=document load timing=]'s [=document load timing info/load event end time=].

This timestamp is measured after the user agent completes handling the load event for the document.

- The type getter steps are to run the |this|'s [=navigation type=]. + The type getter steps are to run the |this|'s [=navigation type=].

Client-side redirects, such as those using the [=Refresh pragma directive|Refresh pragma directive=], are not considered [=redirect status|HTTP redirects=] by this spec. In those - cases, the type + cases, the {{PerformanceNavigationTiming/type}} attribute SHOULD return appropriate value, such as reload if reloading the current page, or navigate if @@ -454,10 +454,10 @@ A {{PerformanceNavigationTiming}} has an associated null or [=service worker tim

- The redirectCount getter steps are to return |this|'s + The redirectCount getter steps are to return |this|'s redirect count.

- The criticalCHRestart getter steps are to return |this|'s + The criticalCHRestart getter steps are to return |this|'s `Critical-CH` restart time.

@@ -467,10 +467,10 @@ A {{PerformanceNavigationTiming}} has an associated null or [=service worker tim

- The notRestoredReasons getter steps are to return |this|'s + The notRestoredReasons getter steps are to return |this|'s not restored reasons.

- The confidence getter steps are to run these steps: + The confidence getter steps are to run these steps:

  1. If |this|'s [=document load timing=]'s [=document load timing info/DOM interactive time=] is 0, return null.
  2. @@ -631,7 +631,7 @@ interface PerformanceTimingConfidence {
    - randomizedTriggerRate + randomizedTriggerRate

    @@ -641,7 +641,7 @@ interface PerformanceTimingConfidence {

    - value + value