From 553c8fbebb139ffd283f6e43b332b47e6628da35 Mon Sep 17 00:00:00 2001 From: Dominique Hazael-Massieux Date: Thu, 13 Jun 2024 15:06:37 +0200 Subject: [PATCH] Fix broken links Also add automatic detection of ReSpec errors moving forward --- .github/workflows/auto-publish.yml | 21 +++++++++++++++++++++ index.html | 10 ++++------ 2 files changed, 25 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/auto-publish.yml diff --git a/.github/workflows/auto-publish.yml b/.github/workflows/auto-publish.yml new file mode 100644 index 0000000..d0feb0e --- /dev/null +++ b/.github/workflows/auto-publish.yml @@ -0,0 +1,21 @@ +name: Validate and Auto Publish + +on: + push: + paths: + - index.html + branches: + - main + pull_request: {} + +jobs: + validate-and-publish: + name: Validate and Publish + runs-on: ubuntu-20.04 # only linux supported at present + steps: + - uses: actions/checkout@v4 + - uses: w3c/spec-prod@v2 # use the action + with: + TOOLCHAIN: respec + W3C_NOTIFICATIONS_CC: "dom@w3.org" + VALIDATE_LINKS: false diff --git a/index.html b/index.html index c14d570..e3a7a8d 100644 --- a/index.html +++ b/index.html @@ -243,10 +243,8 @@

Algorithms

  • Let descriptor be a {{PermissionDescriptor}} with its {{PermissionDescriptor/name}} member set to the permission name - associated with kind (e.g. {{PermissionName/"camera"}} for - "video", {{PermissionName/"microphone"}} for "audio"), and, - optionally, consider its {{DevicePermissionDescriptor/deviceId}} member set to any appropriate - device's deviceId.

    + associated with kind (e.g. [="camera"=] for + "video", [="microphone"=] for "audio").

  • If the number of unique devices sourcing tracks of @@ -402,7 +400,7 @@

    Transferable MediaStreamTrack

  • Set dataHolder.`[[constraints]]` to value active constraints.

  • Set dataHolder.`[[contentHint]]` to value application-set content hint.

  • Set value.`[[IsDetached]]` to true.

  • -
  • Set value.{{MediaStreamTrack/[[ReadyState]]}} to "ended" (without stopping the underlying source or firing an `ended` event).

  • +
  • Set value.[[\ReadyState]] to {{MediaStreamTrackState/"ended"}} (without stopping the underlying source or firing an `ended` event).

  • {{MediaStreamTrack}} transfer-receiving steps, given dataHolder and track, are:

    @@ -414,7 +412,7 @@

    Transferable MediaStreamTrack

  • Initialize track.{{MediaStreamTrack/enabled}} to dataHolder.`[[enabled]]`.

  • Initialize track.{{MediaStreamTrack/muted}} to dataHolder.`[[muted]]`.

  • Set track application-set content hint to dataHolder.`[[contentHint]]`.

  • -
  • [=MediaStreamTrack/Initialize the underlying source=] of track to dataHolder.`[[source]]`.

  • +
  • [=Initialize the underlying source=] of track to dataHolder.`[[source]]`.

  • Set track's constraints to dataHolder.`[[constraints]]`.