Skip to content

Commit dd9f876

Browse files
author
reffy-bot
committed
Update of TR report from new reffy run
Using reffy commit 18.4.1.
1 parent a8dac3c commit dd9f876

28 files changed

+5093
-91
lines changed

tr/algorithms/event-timing.json

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,19 @@
2121
}
2222
]
2323
},
24+
{
25+
"name": "PerformanceEventTiming target",
26+
"html": "",
27+
"rationale": ".algorithm",
28+
"steps": [
29+
{
30+
"html": "<p>If <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#this\" id=\"ref-for-this\">this</a>’s <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/event-timing/#eventtarget\" id=\"ref-for-eventtarget\">eventTarget</a> is not <a data-link-type=\"dfn\" href=\"https://w3c.github.io/paint-timing/#exposed-for-paint-timing\" id=\"ref-for-exposed-for-paint-timing\">exposed for paint timing</a> given null, return null.</p>"
31+
},
32+
{
33+
"html": "<p>Return <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#this\" id=\"ref-for-this①\">this</a>’s <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/event-timing/#eventtarget\" id=\"ref-for-eventtarget①\">eventTarget</a>.</p>"
34+
}
35+
]
36+
},
2437
{
2538
"name": "additions to event dispatch",
2639
"html": "Right after step 1, we add the following steps:",
@@ -311,7 +324,7 @@
311324
{
312325
"name": "finalize event timing",
313326
"href": "https://www.w3.org/TR/event-timing/#finalize-event-timing",
314-
"html": "When asked to to <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-export=\"\" id=\"finalize-event-timing\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">finalize event timing</dfn>, with <var>timingEntry</var>, <var>event</var>, <var>target</var>, and <var>processingEnd</var> as inputs, run the following steps:",
327+
"html": "When asked to <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-export=\"\" id=\"finalize-event-timing\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">finalize event timing</dfn>, with <var>timingEntry</var>, <var>event</var>, <var>target</var>, and <var>processingEnd</var> as inputs, run the following steps:",
315328
"rationale": ".algorithm",
316329
"steps": [
317330
{
@@ -327,10 +340,10 @@
327340
"html": "<p>Set <var>timingEntry</var>’s <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://www.w3.org/TR/event-timing/#dom-performanceeventtiming-processingend\" id=\"ref-for-dom-performanceeventtiming-processingend⑤\">processingEnd</a></code> to <var>processingEnd</var>.</p>"
328341
},
329342
{
330-
"html": "<p>Assert that <var>target</var> <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#implements\" id=\"ref-for-implements①\">implements</a> <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://dom.spec.whatwg.org/#node\" id=\"ref-for-node\">Node</a></code>.</p>"
343+
"html": "<p>Assert that <var>target</var> <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#implements\" id=\"ref-for-implements①\">implements</a> <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://dom.spec.whatwg.org/#node\" id=\"ref-for-node\">Node</a></code>.</p>"
331344
},
332345
{
333-
"html": "<p>Set <var>timingEntry</var>’s <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/event-timing/#performanceeventtiming-eventtarget\" id=\"ref-for-performanceeventtiming-eventtarget\">eventTarget</a> to the result of calling the <a data-link-type=\"dfn\" href=\"https://wicg.github.io/element-timing/#get-an-element\" id=\"ref-for-get-an-element①\">get an element</a> algorithm with <var>target</var> and <var>relevantGlobal</var>’s <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/nav-history-apis.html#concept-document-window\" id=\"ref-for-concept-document-window①\">associated document</a> as inputs.</p>"
346+
"html": "<p>Set <var>timingEntry</var>’s associated <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/event-timing/#eventtarget\" id=\"ref-for-eventtarget\">eventTarget</a> to <var>target</var>.</p>"
334347
},
335348
{
336349
"html": "<p>If <var>event</var>’s <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://dom.spec.whatwg.org/#dom-event-type\" id=\"ref-for-dom-event-type①⓪\">type</a></code> attribute value is not <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/uievents/#event-type-keydown\" id=\"ref-for-event-type-keydown⑥\">keydown</a></code> nor <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/pointerevents/#the-pointerdown-event\" id=\"ref-for-the-pointerdown-event①⓪\">pointerdown</a></code>, append <var>timingEntry</var> to <var>relevantGlobal</var>’s <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/event-timing/#entries-to-be-queued\" id=\"ref-for-entries-to-be-queued③\">entries to be queued</a>.</p>"

tr/algorithms/svg-paths.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"spec": {
3+
"title": "SVG Paths",
4+
"url": "https://www.w3.org/TR/svg-paths/"
5+
},
6+
"algorithms": [
7+
{
8+
"html": "The \"closepath\" (<strong>Z</strong> or <strong>z</strong>)\n ends the current subpath by connecting it back to its initial point\n in either of two ways:",
9+
"rationale": "if",
10+
"steps": [
11+
{
12+
"html": "If the previous command is <q>complete</q>, that is that all the\n required coordinate data has been supplied, then an automatic\n straight line is drawn from the current point to the initial\n point of the current subpath. This path segment may be of zero\n length."
13+
},
14+
{
15+
"html": "If the previous command is missing required coordinate data then\n the initial point is used to fill in the missing data (but only\n for the last point or points)."
16+
}
17+
]
18+
}
19+
]
20+
}

tr/algorithms/webdriver-bidi.json

Lines changed: 94 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8802,6 +8802,98 @@
88028802
}
88038803
]
88048804
},
8805+
{
8806+
"name": "WebDriver BiDi file dialog opened",
8807+
"href": "https://www.w3.org/TR/webdriver-bidi/#webdriver-bidi-file-dialog-opened",
8808+
"html": "The <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/webdriver-bidi/#event-remote-end-event-trigger\" id=\"ref-for-event-remote-end-event-trigger②③\">remote end event trigger</a> is the <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-export=\"\" id=\"webdriver-bidi-file-dialog-opened\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">WebDriver BiDi file dialog opened</dfn> steps, given <var>element</var> and optionally <var>file picker options</var> (default: null):",
8809+
"rationale": ".algorithm",
8810+
"steps": [
8811+
{
8812+
"html": "<p>Let <var>navigable</var> be the <var>element</var>’s <a data-link-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-node-document\" id=\"ref-for-concept-node-document②\">node document</a>’s <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/document-sequences.html#navigables\" id=\"ref-for-navigables②①\">navigable</a>.</p>"
8813+
},
8814+
{
8815+
"html": "<p>Let <var>navigable id</var> be <var>navigable</var>’s <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/webdriver-bidi/#navigable-id\" id=\"ref-for-navigable-id②⑤\">navigable id</a>.</p>"
8816+
},
8817+
{
8818+
"html": "<p>Let <var>multiple</var> be <code>false</code>.</p>"
8819+
},
8820+
{
8821+
"html": "<p>If <var>element</var> is not null and <var>element</var>’s <code><a data-link-type=\"element-sub\" href=\"https://html.spec.whatwg.org/multipage/input.html#attr-input-multiple\" id=\"ref-for-attr-input-multiple①\">multiple</a></code> attribute is set,\n set <var>multiple</var> to <code>true</code>.</p>"
8822+
},
8823+
{
8824+
"html": "If <var>file picker options</var> is not null:",
8825+
"rationale": "if",
8826+
"steps": [
8827+
{
8828+
"html": "<p>If <var>file picker options</var>[\"<code>multiple</code>\"] is true, set <var>multiple</var> to <code>true</code>.</p>"
8829+
}
8830+
]
8831+
},
8832+
{
8833+
"html": "<p>Let <var>related navigables</var> be a <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#ordered-set\" id=\"ref-for-ordered-set⑥⓪\">set</a> containing <var>navigable</var>.</p>"
8834+
},
8835+
{
8836+
"html": "For each <var>session</var> in the <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/webdriver-bidi/#set-of-sessions-for-which-an-event-is-enabled\" id=\"ref-for-set-of-sessions-for-which-an-event-is-enabled②①\">set of sessions for which an event is enabled</a> given\n \"<code>input.fileDialogOpened</code>\" and <var>related navigables</var>:",
8837+
"rationale": "let",
8838+
"steps": [
8839+
{
8840+
"html": "<p>Let <var>params</var> be a <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#ordered-map\" id=\"ref-for-ordered-map①④④\">map</a> matching the <code>input.FileDialogInfo</code> production with the <code>context</code> field set to <var>navigable id</var> and <code>multiple</code> field set to <var>multiple</var>.</p>"
8841+
},
8842+
{
8843+
"html": "If <var>element</var> is not null:",
8844+
"rationale": "let",
8845+
"steps": [
8846+
{
8847+
"html": "<p>Let <var>shared id</var> be <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/webdriver-bidi/#get-shared-id-for-a-node\" id=\"ref-for-get-shared-id-for-a-node①\">get shared id for a node</a> with <var>element</var> and <var>session</var>.</p>"
8848+
},
8849+
{
8850+
"html": "<p>Set <var>params</var>[\"<code>element</code>\"] to <var>shared id</var>.</p>"
8851+
}
8852+
]
8853+
},
8854+
{
8855+
"html": "<p>Let <var>body</var> be a <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#ordered-map\" id=\"ref-for-ordered-map①④⑤\">map</a> matching the <code>input.fileDialogOpened</code> production, with the <code>params</code> field set to <var>params</var>.</p>"
8856+
},
8857+
{
8858+
"html": "<p><a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/webdriver-bidi/#emit-an-event\" id=\"ref-for-emit-an-event②⑥\">Emit an event</a> with <var>session</var> and <var>body</var>.</p>"
8859+
}
8860+
]
8861+
},
8862+
{
8863+
"html": "<p>Let <var>dismissed</var> be false.</p>"
8864+
},
8865+
{
8866+
"html": "For each <var>session</var> in <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/webdriver-bidi/#active-bidi-sessions\" id=\"ref-for-active-bidi-sessions④\">active BiDi sessions</a>:",
8867+
"rationale": "let",
8868+
"steps": [
8869+
{
8870+
"html": "<p>Let <var>user prompt handler</var> be <var>session</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/webdriver/#dfn-user-prompt-handler\" id=\"ref-for-dfn-user-prompt-handler\">user prompt handler</a>.</p>"
8871+
},
8872+
{
8873+
"html": "<p>If <var>user prompt handler</var> is not null:</p>"
8874+
},
8875+
{
8876+
"html": "<p>Assert <var>user prompt handler</var> is a <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#ordered-map\" id=\"ref-for-ordered-map①④⑥\">map</a>.</p>"
8877+
},
8878+
{
8879+
"html": "If <var>user prompt handler</var> <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#map-exists\" id=\"ref-for-map-exists⑥⑨\">contains</a> \"<code>file</code>\":",
8880+
"rationale": "if",
8881+
"steps": [
8882+
{
8883+
"html": "<p>If <var>user prompt handler</var>[\"<code>file</code>\"] is not equal to\n \"<code>ignore</code>\", set <var>dismissed</var> to true.</p>"
8884+
}
8885+
]
8886+
},
8887+
{
8888+
"html": "<p>Otherwise if <var>user prompt handler</var> <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#map-exists\" id=\"ref-for-map-exists⑦⓪\">contains</a> \"<code>default</code>\" and <var>user prompt handler</var>[\"<code>default</code>\"] is not equal to\n \"<code>ignore</code>\", set <var>dismissed</var> to true.</p>"
8889+
}
8890+
]
8891+
},
8892+
{
8893+
"html": "<p>Return <var>dismissed</var>.</p>"
8894+
}
8895+
]
8896+
},
88058897
{
88068898
"name": "extract a zip archive",
88078899
"href": "https://www.w3.org/TR/webdriver-bidi/#extract-a-zip-archive",
@@ -8913,7 +9005,7 @@
89139005
"html": "<p>Perform implementation defined steps to install a web extension from <var>extension directory entry</var>. If this fails, return <a data-link-type=\"dfn\" href=\"https://w3c.github.io/webdriver/#errors\" id=\"ref-for-errors①①③\">error</a> with <a data-link-type=\"dfn\" href=\"https://w3c.github.io/webdriver/#dfn-error-code\" id=\"ref-for-dfn-error-code①⓪⑥\">error code</a> <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/webdriver-bidi/#errors-invalid-web-extension\" id=\"ref-for-errors-invalid-web-extension②\">invalid web extension</a>. Otherwise let <var>extension id</var> be the unique identifier of the newly installed web extension.</p>"
89149006
},
89159007
{
8916-
"html": "<p>Let <var>result</var> be a <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#ordered-map\" id=\"ref-for-ordered-map①④\">map</a> matching the <code>webExtension.InstallResult</code> production with the <code>extension</code> field set to <var>extension id</var>.</p>"
9008+
"html": "<p>Let <var>result</var> be a <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#ordered-map\" id=\"ref-for-ordered-map①④\">map</a> matching the <code>webExtension.InstallResult</code> production with the <code>extension</code> field set to <var>extension id</var>.</p>"
89179009
},
89189010
{
89199011
"html": "<p>Return <a data-link-type=\"dfn\" href=\"https://w3c.github.io/webdriver/#dfn-success\" id=\"ref-for-dfn-success⑧⑥\">success</a> with data <var>result</var>.</p>"
@@ -8955,7 +9047,7 @@
89559047
"rationale": "if",
89569048
"steps": [
89579049
{
8958-
"html": "<p>If <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/webdriver-bidi/#device-pixel-ratio-overrides\" id=\"ref-for-device-pixel-ratio-overrides②\">device pixel ratio overrides</a> <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#map-exists\" id=\"ref-for-map-exists⑥⑨\">contains</a> <var>window</var>’s <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/nav-history-apis.html#window-navigable\" id=\"ref-for-window-navigable③\">navigable</a>, return <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/webdriver-bidi/#device-pixel-ratio-overrides\" id=\"ref-for-device-pixel-ratio-overrides③\">device pixel ratio overrides</a>[<var>window</var>’s <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/nav-history-apis.html#window-navigable\" id=\"ref-for-window-navigable④\">navigable</a>].</p>"
9050+
"html": "<p>If <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/webdriver-bidi/#device-pixel-ratio-overrides\" id=\"ref-for-device-pixel-ratio-overrides②\">device pixel ratio overrides</a> <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#map-exists\" id=\"ref-for-map-exists⑦①\">contains</a> <var>window</var>’s <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/nav-history-apis.html#window-navigable\" id=\"ref-for-window-navigable③\">navigable</a>, return <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/webdriver-bidi/#device-pixel-ratio-overrides\" id=\"ref-for-device-pixel-ratio-overrides③\">device pixel ratio overrides</a>[<var>window</var>’s <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/nav-history-apis.html#window-navigable\" id=\"ref-for-window-navigable④\">navigable</a>].</p>"
89599051
}
89609052
]
89619053
}

tr/cddl/webdriver-bidi-all.cddl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ session.UserPromptHandler = {
183183
? beforeUnload: session.UserPromptHandlerType,
184184
? confirm: session.UserPromptHandlerType,
185185
? default: session.UserPromptHandlerType,
186+
? file: session.UserPromptHandlerType,
186187
? prompt: session.UserPromptHandlerType,
187188
};
188189

@@ -1941,6 +1942,17 @@ input.SetFilesParameters = {
19411942
files: [*text]
19421943
}
19431944

1945+
input.FileDialogOpened = (
1946+
method: "input.fileDialogOpened",
1947+
params: input.FileDialogInfo
1948+
)
1949+
1950+
input.FileDialogInfo = {
1951+
context: browsingContext.BrowsingContext,
1952+
? element: script.SharedReference,
1953+
multiple: bool,
1954+
}
1955+
19441956
WebExtensionCommand = (
19451957
webExtension.Install //
19461958
webExtension.Uninstall

tr/cddl/webdriver-bidi-local.cddl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ session.UserPromptHandler = {
154154
? beforeUnload: session.UserPromptHandlerType,
155155
? confirm: session.UserPromptHandlerType,
156156
? default: session.UserPromptHandlerType,
157+
? file: session.UserPromptHandlerType,
157158
? prompt: session.UserPromptHandlerType,
158159
};
159160

@@ -1121,6 +1122,17 @@ log.EntryAdded = (
11211122
params: log.Entry,
11221123
)
11231124

1125+
input.FileDialogOpened = (
1126+
method: "input.fileDialogOpened",
1127+
params: input.FileDialogInfo
1128+
)
1129+
1130+
input.FileDialogInfo = {
1131+
context: browsingContext.BrowsingContext,
1132+
? element: script.SharedReference,
1133+
multiple: bool,
1134+
}
1135+
11241136
WebExtensionResult = (
11251137
webExtension.InstallResult
11261138
)

tr/cddl/webdriver-bidi-remote.cddl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ session.UserPromptHandler = {
101101
? beforeUnload: session.UserPromptHandlerType,
102102
? confirm: session.UserPromptHandlerType,
103103
? default: session.UserPromptHandlerType,
104+
? file: session.UserPromptHandlerType,
104105
? prompt: session.UserPromptHandlerType,
105106
};
106107

@@ -1354,6 +1355,17 @@ input.SetFilesParameters = {
13541355
files: [*text]
13551356
}
13561357

1358+
input.FileDialogOpened = (
1359+
method: "input.fileDialogOpened",
1360+
params: input.FileDialogInfo
1361+
)
1362+
1363+
input.FileDialogInfo = {
1364+
context: browsingContext.BrowsingContext,
1365+
? element: script.SharedReference,
1366+
multiple: bool,
1367+
}
1368+
13571369
WebExtensionCommand = (
13581370
webExtension.Install //
13591371
webExtension.Uninstall

0 commit comments

Comments
 (0)