From 9f0e22815819d75c4ae2bc3d3eb9eb2a030a7f2b Mon Sep 17 00:00:00 2001 From: Dominique Hazael-Massieux Date: Mon, 5 Jul 2021 13:59:28 +0200 Subject: [PATCH] Assign scope to internal slots As now required in ReSpec, per https://github.com/w3c/respec/pull/3646 --- index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 6870b24..a49b6e5 100644 --- a/index.html +++ b/index.html @@ -257,16 +257,16 @@

Each track that captures a canvas has a - [[\frameCaptureRequested]] internal slot that is set to true when a + {{track/[[frameCaptureRequested]]}} internal slot that is set to true when a new frame is requested from the canvas.

- The value of [[\frameCaptureRequested]] on all new + The value of {{track/[[frameCaptureRequested]]}} on all new tracks is set to true when the track is created. On creation of the captured track with a specific, non-zero frameRequestRate, the user agent starts a periodic timer at an interval of 1/frameRequestRate seconds. At each activation of the timer, - [[\frameCaptureRequested]] is set to true. + {{track/[[frameCaptureRequested]]}} is set to true.

In order to support manual control of frame capture with the @@ -279,7 +279,7 @@

A new frame is requested from the canvas when - [[\frameCaptureRequested]] is true and the canvas is painted. Each + {{track/[[frameCaptureRequested]]}} is true and the canvas is painted. Each time that the captured canvas is painted, the following steps are executed:

    @@ -287,12 +287,12 @@

    steps:
    1. If new content has been drawn to the canvas since it was last painted, and - if the [[\frameCaptureRequested]] internal slot of + if the {{track/[[frameCaptureRequested]]}} internal slot of track is set, add a new frame to track containing what was painted to the canvas.
    2. If a frameRequestRate value was specified, set the - [[\frameCaptureRequested]] internal slot of track + {{track/[[frameCaptureRequested]]}} internal slot of track to false.