From 12a861be98c638b1eb08ce71a14cdad815603652 Mon Sep 17 00:00:00 2001 From: Noam Rosenthal Date: Fri, 9 Feb 2024 15:13:06 +0000 Subject: [PATCH 1/3] Export `end time` so that subclasses can change it See w3c/navigation-timing#194 --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 25ab8df..aaa338e 100644 --- a/index.html +++ b/index.html @@ -343,8 +343,8 @@

The PerformanceEntry interface

the first recorded timestamp of this performance metric.
duration
- The getter steps for the duration attribute are to return 0 if this's endTime - is 0; otherwise this's endTime - this's startTime. + The getter steps for the duration attribute are to return 0 if this's end time + is 0; otherwise this's end time - this's startTime.
navigationId
@@ -354,7 +354,7 @@

The PerformanceEntry interface

When toJSON is called, run [[WebIDL]]'s default toJSON steps.

-

A PerformanceEntry has a {{DOMHighResTimeStamp}} endTime, +

A PerformanceEntry has a {{DOMHighResTimeStamp}} end time, initially 0.

To initialize a PerformanceEntry entry given a {{DOMHighResTimeStamp}} startTime, From ec221bdce6d52b066c4b1dd049815649e648784b Mon Sep 17 00:00:00 2001 From: Noam Rosenthal Date: Fri, 9 Feb 2024 15:19:45 +0000 Subject: [PATCH 2/3] end-time --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index aaa338e..1f70980 100644 --- a/index.html +++ b/index.html @@ -365,7 +365,7 @@

The PerformanceEntry interface

  • Initialize entry's startTime to startTime.
  • Initialize entry's entryType to entryType.
  • Initialize entry's name to name. -
  • Initialize entry's endTime to endTime. +
  • Initialize entry's end time to endTime.
    Date: Fri, 16 Feb 2024 15:15:33 +0000 Subject: [PATCH 3/3] class=export --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 1f70980..662a949 100644 --- a/index.html +++ b/index.html @@ -354,7 +354,7 @@

    The PerformanceEntry interface

    When toJSON is called, run [[WebIDL]]'s default toJSON steps.

    -

    A PerformanceEntry has a {{DOMHighResTimeStamp}} end time, +

    A PerformanceEntry has a {{DOMHighResTimeStamp}} end time, initially 0.

    To initialize a PerformanceEntry entry given a {{DOMHighResTimeStamp}} startTime,