From 37991f604d9ff47570dee842e110d9b33d250f05 Mon Sep 17 00:00:00 2001 From: Ian Clelland Date: Fri, 24 May 2024 13:41:14 -0400 Subject: [PATCH] Fix broken references * "Unit of related browsing contexts" was removed from the HTML spec in 2019 (https://github.com/whatwg/html/pull/4350) * "Report task end time" moved to LONG-ANIMATION-FRAMES and has been renamed "Record task end time" --- index.bs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.bs b/index.bs index 290fa38..befbebc 100644 --- a/index.bs +++ b/index.bs @@ -47,7 +47,7 @@ urlPrefix: https://html.spec.whatwg.org/multipage/; spec: HTML; type: dfn; url: #calling-scripts; text: calling scripts; type: dfn; url: #list-of-the-descendant-browsing-contexts; text: list of the descendant browsing contexts; type: dfn; url: #ancestor-browsing-context; text: ancestor; - type: dfn; url: #unit-of-related-browsing-contexts; text: unit of related browsing contexts + type: dfn; url: #browsing-context-group-set; text: browsing-context-group-set type: dfn; url: #script-evaluation-environment-settings-object-set; text: script evaluation environment settings object set type: dfn; url: #integration-with-the-javascript-agent-cluster-formalism; text: agent cluster type: dfn; url: #concept-task-document; for: task; text: document; @@ -230,7 +230,7 @@ Pointing to the culprit {#sec-PointingToCulprit} This section is non-normative. -A long task can involve different types of work (such as script, layout, style etc), and it could be executed within different browsing contexts, or it could be global in nature such as a long garbage collection that spans the entire agent cluster or unit of related browsing contexts. +A long task can involve different types of work (such as script, layout, style etc), and it could be executed within different browsing contexts, or it could be global in nature such as a long garbage collection that spans the entire agent cluster or browsing context group set. Thus attribution has a couple of facets: @@ -294,7 +294,7 @@ Report long tasks {#report-long-tasks}
Given |start time|, |end time|, |top-level browsing contexts|, and |task|, perform the following algorithm: - 1. [=Report task end time=] given |end time| and |task|'s [=task/document=]. + 1. [=Record task end time=] given |end time| and |task|'s [=task/document=]. 1. If |end time| minus |start time| is less than the long tasks threshold of 50 ms, abort these steps. @@ -456,4 +456,4 @@ The following are the timing attacks considered: the permalink page can be used to determine whether the user is in the target demographic. These scenarios are addressed by the 50ms threshold AND respecting cross-origin boundary i.e. not -showing task type or additional attribution to untrusted cross origin observers. \ No newline at end of file +showing task type or additional attribution to untrusted cross origin observers.