Skip to content

Commit f0fcf41

Browse files
author
reffy-bot
committed
Update of TR report from new reffy run
Using reffy commit 19.2.4.
1 parent ba5e300 commit f0fcf41

24 files changed

+1072
-592
lines changed

tr/algorithms/audio-output.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,17 @@
2020
"rationale": "let",
2121
"steps": [
2222
{
23-
"html": "<p>Let <var>document</var> be the\n <a href=\"https://html.spec.whatwg.org/multipage/webappapis.html#current-settings-object\">\n current settings object</a>'s\n <a href=\"https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-global\">\n relevant global object</a>'s\n <a href=\"https://html.spec.whatwg.org/multipage/window-object.html#concept-document-window\">\n associated <code>Document</code></a>.</p>"
23+
"html": "<p>Let <var>globalObject</var> be the\n <a href=\"https://html.spec.whatwg.org/multipage/webappapis.html#current-settings-object\">\n current settings object</a>'s\n <a href=\"https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-global\">\n relevant global object</a>.</p>"
24+
},
25+
{
26+
"html": "<p>Let <var>document</var> be <var>globalObject</var>'s\n <a href=\"https://html.spec.whatwg.org/multipage/window-object.html#concept-document-window\">\n associated <code>Document</code></a>.</p>"
2427
},
2528
{
2629
"html": "<p>If <var>document</var> is not\n <a href=\"https://html.spec.whatwg.org/multipage/iframe-embed-object.html#allowed-to-use\">\n allowed to use</a> the feature identified by\n <a data-dfn-link-for=\"\" href=\"https://www.w3.org/TR/audio-output/#dfn-speaker-selection\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-speaker-selection-1\"><code>\"speaker-selection\"</code></a>, return a\n promise rejected with a new <a data-link-type=\"interface\" data-lt=\"DOMException\" href=\"https://webidl.spec.whatwg.org/#idl-DOMException\"><code>DOMException</code></a>\n whose name is <a data-link-type=\"exception\" data-lt=\"NotAllowedError\" href=\"https://webidl.spec.whatwg.org/#notallowederror\"><code>NotAllowedError</code></a>.\n </p>"
2730
},
31+
{
32+
"html": "<p>If <var>globalObject</var> does not have <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/interaction.html#transient-activation\">transient activation</a>,\n the user agent <em class=\"rfc2119\">MAY</em> return a promise <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#reject\">rejected</a> with a\n <a data-link-type=\"interface\" data-lt=\"DOMException\" href=\"https://webidl.spec.whatwg.org/#idl-DOMException\"><code>DOMException</code></a> object whose <a data-link-type=\"attribute\" href=\"https://webidl.spec.whatwg.org/#dom-domexception-name\"><code>name</code></a> attribute has\n the value <a data-link-type=\"exception\" data-lt=\"InvalidStateError\" href=\"https://webidl.spec.whatwg.org/#invalidstateerror\"><code>InvalidStateError</code></a>.</p>"
33+
},
2834
{
2935
"html": "<p>Let <var>element</var> be the <a data-link-type=\"interface\" data-lt=\"HTMLMediaElement\" href=\"https://html.spec.whatwg.org/multipage/media.html#htmlmediaelement\"><code>HTMLMediaElement</code></a>\n object on which this method was invoked.</p>"
3036
},

tr/algorithms/mediacapture-streams.json

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,25 @@
602602
"html": "<p>Let <var>deviceInfo</var> be the result of\n <a data-link-type=\"dfn|abstract-op\" href=\"https://www.w3.org/TR/mediacapture-streams/#creating-a-device-info-object\" class=\"internalDFN\" id=\"ref-for-creating-a-device-info-object-3\">creating a device info object</a> to represent <var>device</var>,\n with <var>mediaDevices</var>.</p>"
603603
},
604604
{
605-
"html": "<p>If <var>device</var> is the system default audio output,\n prepend <var>deviceInfo</var> to <var>otherDeviceList</var>.\n Otherwise, append <var>deviceInfo</var> to <var>otherDeviceList</var>.</p>"
605+
"html": "Append <var>deviceInfo</var> to <var>otherDeviceList</var>.<p></p>"
606+
},
607+
{
608+
"html": "If <var>device</var> is the system default audio output,\n run the following sub steps:",
609+
"rationale": "let",
610+
"steps": [
611+
{
612+
"html": "<p>Let <var>defaultAudioOutputInfo</var> be the result of\n <a data-link-type=\"dfn|abstract-op\" href=\"https://www.w3.org/TR/mediacapture-streams/#creating-a-device-info-object\" class=\"internalDFN\" id=\"ref-for-creating-a-device-info-object-4\">creating a device info object</a> to represent <var>device</var>,\n with <var>mediaDevices</var>.</p>"
613+
},
614+
{
615+
"html": "<p>Set <var>defaultAudioOutputInfo</var>'s <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/mediacapture-streams/#dom-mediadeviceinfo-deviceid\" class=\"internalDFN\" id=\"ref-for-dom-mediadeviceinfo-deviceid-4\"><code>deviceId</code></a> to\n \"default\".</p>"
616+
},
617+
{
618+
"html": "<p>The user agent <em class=\"rfc2119\">SHOULD</em> update <var>defaultAudioOutputInfo</var>'s <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/mediacapture-streams/#dom-mediadeviceinfo-label\" class=\"internalDFN\" id=\"ref-for-dom-mediadeviceinfo-label-1\"><code>label</code></a>\n to make it explicit that this is the system default audio output.</p>"
619+
},
620+
{
621+
"html": "<p>Prepend <var>defaultAudioOutputInfo</var> to <var>otherDeviceList</var>.</p>"
622+
}
623+
]
606624
}
607625
]
608626
},
@@ -639,10 +657,10 @@
639657
"html": "<p>If <var>deviceInfo</var>.<a data-link-type=\"idl\" href=\"https://www.w3.org/TR/mediacapture-streams/#dom-mediadeviceinfo-kind\" class=\"internalDFN\" id=\"ref-for-dom-mediadeviceinfo-kind-6\"><code>kind</code></a> is equal to \"audioinput\"\n and <a data-link-type=\"dfn|abstract-op\" href=\"https://www.w3.org/TR/mediacapture-streams/#microphone-information-can-be-exposed\" class=\"internalDFN\" id=\"ref-for-microphone-information-can-be-exposed-2\">microphone information can be exposed</a> on <var>mediaDevices</var> is <code>false</code>, return <var>deviceInfo</var>.</p>"
640658
},
641659
{
642-
"html": "<p>Initialize <var>deviceInfo</var>.<a data-link-type=\"idl\" href=\"https://www.w3.org/TR/mediacapture-streams/#dom-mediadeviceinfo-label\" class=\"internalDFN\" id=\"ref-for-dom-mediadeviceinfo-label-3\"><code>label</code></a> for <var>device</var>.</p>"
660+
"html": "<p>Initialize <var>deviceInfo</var>.<a data-link-type=\"idl\" href=\"https://www.w3.org/TR/mediacapture-streams/#dom-mediadeviceinfo-label\" class=\"internalDFN\" id=\"ref-for-dom-mediadeviceinfo-label-4\"><code>label</code></a> for <var>device</var>.</p>"
643661
},
644662
{
645-
"html": "<p>If a stored <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/mediacapture-streams/#dom-mediadeviceinfo-deviceid\" class=\"internalDFN\" id=\"ref-for-dom-mediadeviceinfo-deviceid-6\"><code>deviceId</code></a> exists for\n <var>device</var>, initialize <var>deviceInfo</var>.<a data-link-type=\"idl\" href=\"https://www.w3.org/TR/mediacapture-streams/#dom-mediadeviceinfo-deviceid\" class=\"internalDFN\" id=\"ref-for-dom-mediadeviceinfo-deviceid-7\"><code>deviceId</code></a> to that value.\n Otherwise, let <var>deviceInfo</var>.<a data-link-type=\"idl\" href=\"https://www.w3.org/TR/mediacapture-streams/#dom-mediadeviceinfo-deviceid\" class=\"internalDFN\" id=\"ref-for-dom-mediadeviceinfo-deviceid-8\"><code>deviceId</code></a> be a\n newly generated unique identifier as described under <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/mediacapture-streams/#dom-mediadeviceinfo-deviceid\" class=\"internalDFN\" id=\"ref-for-dom-mediadeviceinfo-deviceid-9\"><code>deviceId</code></a>.</p>"
663+
"html": "<p>If a stored <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/mediacapture-streams/#dom-mediadeviceinfo-deviceid\" class=\"internalDFN\" id=\"ref-for-dom-mediadeviceinfo-deviceid-7\"><code>deviceId</code></a> exists for\n <var>device</var>, initialize <var>deviceInfo</var>.<a data-link-type=\"idl\" href=\"https://www.w3.org/TR/mediacapture-streams/#dom-mediadeviceinfo-deviceid\" class=\"internalDFN\" id=\"ref-for-dom-mediadeviceinfo-deviceid-8\"><code>deviceId</code></a> to that value.\n Otherwise, let <var>deviceInfo</var>.<a data-link-type=\"idl\" href=\"https://www.w3.org/TR/mediacapture-streams/#dom-mediadeviceinfo-deviceid\" class=\"internalDFN\" id=\"ref-for-dom-mediadeviceinfo-deviceid-9\"><code>deviceId</code></a> be a\n newly generated unique identifier as described under <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/mediacapture-streams/#dom-mediadeviceinfo-deviceid\" class=\"internalDFN\" id=\"ref-for-dom-mediadeviceinfo-deviceid-10\"><code>deviceId</code></a>.</p>"
646664
},
647665
{
648666
"html": "<p>If <var>device</var> belongs to the same physical\n device as a device already represented for <var>document</var>,\n initialize <var>deviceInfo</var>.<a data-link-type=\"idl\" href=\"https://www.w3.org/TR/mediacapture-streams/#dom-mediadeviceinfo-groupid\" class=\"internalDFN\" id=\"ref-for-dom-mediadeviceinfo-groupid-4\"><code>groupId</code></a> to the\n <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/mediacapture-streams/#dom-mediadeviceinfo-groupid\" class=\"internalDFN\" id=\"ref-for-dom-mediadeviceinfo-groupid-5\"><code>groupId</code></a> value of the existing <a data-link-type=\"idl\" data-lt=\"MediaDeviceInfo\" href=\"https://www.w3.org/TR/mediacapture-streams/#dom-mediadeviceinfo\" class=\"internalDFN\" id=\"ref-for-dom-mediadeviceinfo-9\"><code>MediaDeviceInfo</code></a> object.\n Otherwise, let <var>deviceInfo</var>.<a data-link-type=\"idl\" href=\"https://www.w3.org/TR/mediacapture-streams/#dom-mediadeviceinfo-groupid\" class=\"internalDFN\" id=\"ref-for-dom-mediadeviceinfo-groupid-6\"><code>groupId</code></a> be a\n newly generated unique identifier as described under <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/mediacapture-streams/#dom-mediadeviceinfo-groupid\" class=\"internalDFN\" id=\"ref-for-dom-mediadeviceinfo-groupid-7\"><code>groupId</code></a>.</p>"

0 commit comments

Comments
 (0)