|
1725 | 1725 | "html": "<p>If there is a <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/webdriver-bidi/#client-window\" id=\"ref-for-client-window①④\">client window</a> with <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/webdriver-bidi/#client-window-id\" id=\"ref-for-client-window-id②\">client window id</a> <var>command\n parameters</var>[\"<code>clientWindow</code>\"], let <var>client window</var> be that <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/webdriver-bidi/#client-window\" id=\"ref-for-client-window①⑤\">client window</a>. Otherwise 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-no-such-client-window\" id=\"ref-for-errors-no-such-client-window①\">no such client window</a>.</p>" |
1726 | 1726 | }, |
1727 | 1727 | { |
1728 | | - "html": "<p><a data-link-type=\"dfn\" href=\"https://w3c.github.io/webdriver/#dfn-try\" id=\"ref-for-dfn-try⑦\">Try</a> to <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/webdriver-bidi/#set-the-client-window-state\" id=\"ref-for-set-the-client-window-state\">set the client window state</a> with <var>client window</var> and <var>command\n parameters</var>[\"<code>state</code>\"].</p>" |
| 1728 | + "html": "<p><a data-link-type=\"dfn\" data-refhint-key=\"f5554d6d\" href=\"https://w3c.github.io/webdriver/#dfn-try\" id=\"ref-for-dfn-try⑦\">Try</a> to <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/webdriver-bidi/#set-the-client-window-state\" id=\"ref-for-set-the-client-window-state\">set the client window state</a> with <var>client window</var> and <var>command\n parameters</var>[\"<code>state</code>\"].</p>" |
1729 | 1729 | }, |
1730 | 1730 | { |
1731 | 1731 | "html": "If <var>command parameters</var>[\"<code>state</code>\"] is \"<code>normal</code>\":", |
|
1966 | 1966 | "rationale": ".algorithm", |
1967 | 1967 | "steps": [ |
1968 | 1968 | { |
1969 | | - "html": "<p>Run implementation-specific steps so that <var>navigable</var>’s <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/document-sequences.html#system-visibility-state\" id=\"ref-for-system-visibility-state\">system visibility state</a> becomes <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/document-sequences.html#system-visibility-state\" id=\"ref-for-system-visibility-state①\">visible</a>. If this is not possible return <a data-link-type=\"dfn\" href=\"https://w3c.github.io/webdriver/#errors\" id=\"ref-for-errors②⑥\">error</a> with error code <a data-link-type=\"dfn\" href=\"https://w3c.github.io/webdriver/#dfn-unsupported-operation\" id=\"ref-for-dfn-unsupported-operation⑤\">unsupported operation</a>.</p>" |
| 1969 | + "html": "<p>Run implementation-specific steps so that <var>navigable</var>’s <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/document-sequences.html#system-visibility-state\" id=\"ref-for-system-visibility-state\">system visibility state</a> becomes <a data-link-type=\"dfn\" data-refhint-key=\"e08512b4\" href=\"https://html.spec.whatwg.org/multipage/document-sequences.html#system-visibility-state\" id=\"ref-for-system-visibility-state①\">visible</a>. If this is not possible return <a data-link-type=\"dfn\" href=\"https://w3c.github.io/webdriver/#errors\" id=\"ref-for-errors②⑥\">error</a> with error code <a data-link-type=\"dfn\" href=\"https://w3c.github.io/webdriver/#dfn-unsupported-operation\" id=\"ref-for-dfn-unsupported-operation⑤\">unsupported operation</a>.</p>" |
1970 | 1970 | }, |
1971 | 1971 | { |
1972 | 1972 | "html": "<p>Run implementation-specific steps to set the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/interaction.html#system-focus\" id=\"ref-for-system-focus①\">system focus</a> on the <var>navigable</var> if it is not focused.</p>" |
|
2092 | 2092 | "html": "<p>Complete implementation specific steps equivalent to drawing the region of\n the framebuffer representing the region of <var>document</var> covered by <var>rect</var> to <var>canvas context</var>, such that each pixel in the framebuffer corresponds to a pixel in <var>canvas context</var> with (<var>rect</var>’s <a data-link-type=\"dfn\" href=\"https://drafts.fxtf.org/geometry/#rectangle-x-coordinate\" id=\"ref-for-rectangle-x-coordinate⑦\">x coordinate</a>, <var>rect</var>’s <a data-link-type=\"dfn\" href=\"https://drafts.fxtf.org/geometry/#rectangle-y-coordinate\" id=\"ref-for-rectangle-y-coordinate⑦\">y coordinate</a>) in\n viewport coordinates corresponding to (0,0) in <var>canvas context</var> and (<var>rect</var>’s <a data-link-type=\"dfn\" href=\"https://drafts.fxtf.org/geometry/#rectangle-x-coordinate\" id=\"ref-for-rectangle-x-coordinate⑧\">x coordinate</a> + <var>rect</var>’s <a data-link-type=\"dfn\" href=\"https://drafts.fxtf.org/geometry/#rectangle-width-dimension\" id=\"ref-for-rectangle-width-dimension⑦\">width dimension</a>, <var>rect</var>’s <a data-link-type=\"dfn\" href=\"https://drafts.fxtf.org/geometry/#rectangle-y-coordinate\" id=\"ref-for-rectangle-y-coordinate⑧\">y coordinate</a> + <var>rect</var>’s <a data-link-type=\"dfn\" href=\"https://drafts.fxtf.org/geometry/#rectangle-height-dimension\" id=\"ref-for-rectangle-height-dimension⑦\">height dimension</a>) corresponding to (<var>paint\n width</var>, <var>paint height</var>).</p>" |
2093 | 2093 | }, |
2094 | 2094 | { |
2095 | | - "html": "<p>Return <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/CSS21/intro.html#canvas\" id=\"ref-for-canvas\">canvas</a>.</p>" |
| 2095 | + "html": "<p>Return <a data-link-type=\"dfn\" href=\"https://svgwg.org/svg2-draft/coords.html#TermCanvas\" id=\"ref-for-TermCanvas\">canvas</a>.</p>" |
2096 | 2096 | } |
2097 | 2097 | ] |
2098 | 2098 | }, |
|
2725 | 2725 | ] |
2726 | 2726 | }, |
2727 | 2727 | { |
2728 | | - "html": "<p><a data-link-type=\"dfn\" href=\"https://w3c.github.io/webdriver/#dfn-try\" id=\"ref-for-dfn-try①⑨\">Try</a> to <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/webdriver-bidi/#collect-nodes-using-accessibility-attributes\" id=\"ref-for-collect-nodes-using-accessibility-attributes\">collect nodes using accessibility attributes</a> with <var>child nodes</var>, <var>selector</var>, <var>maximum returned node count</var>, and <var>returned nodes</var>.</p>" |
| 2728 | + "html": "<p><a data-link-type=\"dfn\" data-refhint-key=\"f5554d6d\" href=\"https://w3c.github.io/webdriver/#dfn-try\" id=\"ref-for-dfn-try①⑨\">Try</a> to <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/webdriver-bidi/#collect-nodes-using-accessibility-attributes\" id=\"ref-for-collect-nodes-using-accessibility-attributes\">collect nodes using accessibility attributes</a> with <var>child nodes</var>, <var>selector</var>, <var>maximum returned node count</var>, and <var>returned nodes</var>.</p>" |
2729 | 2729 | } |
2730 | 2730 | ] |
2731 | 2731 | }, |
|
6052 | 6052 | { |
6053 | 6053 | "name": "get exception details", |
6054 | 6054 | "href": "https://www.w3.org/TR/webdriver-bidi/#get-exception-details", |
6055 | | - "html": "To <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"get-exception-details\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">get exception details</dfn> given a <var>realm</var>, a <a data-link-type=\"dfn\" href=\"https://tc39.es/ecma262/#sec-completion-record-specification-type\" id=\"ref-for-sec-completion-record-specification-type②\">completion record</a> <var>record</var>, an <var>ownership type</var> and a <var>session</var>:", |
| 6055 | + "html": "To <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"get-exception-details\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">get exception details</dfn> given a <var>realm</var>, a <a data-link-type=\"dfn\" data-refhint-key=\"c8a04a12\" href=\"https://tc39.es/ecma262/#sec-completion-record-specification-type\" id=\"ref-for-sec-completion-record-specification-type②\">completion record</a> <var>record</var>, an <var>ownership type</var> and a <var>session</var>:", |
6056 | 6056 | "rationale": ".algorithm", |
6057 | 6057 | "steps": [ |
6058 | 6058 | { |
|
6794 | 6794 | "html": "<p>Set <var>serialized</var> to <a data-link-type=\"dfn\" href=\"https://tc39.es/ecma262/#sec-call\" id=\"ref-for-sec-call①\">Call</a>(<a data-link-type=\"dfn\" href=\"https://tc39.es/ecma262/#sec-date.prototype.toisostring\" id=\"ref-for-sec-date.prototype.toisostring\">Date.prototype.toISOString</a>, <var>value</var>).</p>" |
6795 | 6795 | }, |
6796 | 6796 | { |
6797 | | - "html": "<p class=\"assertion\">Assert: <var>serialized</var> is not a <a data-link-type=\"dfn\" href=\"https://tc39.es/ecma262/#sec-completion-record-specification-type\" id=\"ref-for-sec-completion-record-specification-type④\">throw completion</a>.</p>" |
| 6797 | + "html": "<p class=\"assertion\">Assert: <var>serialized</var> is not a <a data-link-type=\"dfn\" data-refhint-key=\"e0e5fa1c\" href=\"https://tc39.es/ecma262/#sec-completion-record-specification-type\" id=\"ref-for-sec-completion-record-specification-type④\">throw completion</a>.</p>" |
6798 | 6798 | }, |
6799 | 6799 | { |
6800 | 6800 | "html": "<p>Let <var>remote value</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>script.DateRemoteValue</code> production in the <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/webdriver-bidi/#local-end-definition\" id=\"ref-for-local-end-definition⑤③\">local end definition</a>, with the <code>handle</code> property set to <var>handle id</var> if it’s not null, or omitted otherwise, and the\n value set to <var>serialized</var>.</p>" |
|
7188 | 7188 | { |
7189 | 7189 | "name": "stack trace for an exception", |
7190 | 7190 | "href": "https://www.w3.org/TR/webdriver-bidi/#stack-trace-for-an-exception", |
7191 | | - "html": "The <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"stack-trace-for-an-exception\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">stack trace for an exception</dfn> with an exception, or a <a data-link-type=\"dfn\" href=\"https://tc39.es/ecma262/#sec-completion-record-specification-type\" id=\"ref-for-sec-completion-record-specification-type⑤\">Completion Record</a> of type <code>throw</code>, <var>exception</var>, is given by:", |
| 7191 | + "html": "The <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"stack-trace-for-an-exception\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">stack trace for an exception</dfn> with an exception, or a <a data-link-type=\"dfn\" data-refhint-key=\"c8a04a12\" href=\"https://tc39.es/ecma262/#sec-completion-record-specification-type\" id=\"ref-for-sec-completion-record-specification-type⑤\">Completion Record</a> of type <code>throw</code>, <var>exception</var>, is given by:", |
7192 | 7192 | "rationale": ".algorithm", |
7193 | 7193 | "steps": [ |
7194 | 7194 | { |
7195 | | - "html": "<p>If <var>exception</var> is a value that has been thrown as an exception, let <var>record</var> be the <a data-link-type=\"dfn\" href=\"https://tc39.es/ecma262/#sec-completion-record-specification-type\" id=\"ref-for-sec-completion-record-specification-type⑥\">Completion Record</a> created to throw <var>exception</var>. Otherwise let <var>record</var> be <var>exception</var>.</p>" |
| 7195 | + "html": "<p>If <var>exception</var> is a value that has been thrown as an exception, let <var>record</var> be the <a data-link-type=\"dfn\" data-refhint-key=\"c8a04a12\" href=\"https://tc39.es/ecma262/#sec-completion-record-specification-type\" id=\"ref-for-sec-completion-record-specification-type⑥\">Completion Record</a> created to throw <var>exception</var>. Otherwise let <var>record</var> be <var>exception</var>.</p>" |
7196 | 7196 | }, |
7197 | 7197 | { |
7198 | 7198 | "html": "<p>Let <var>stack</var> be the <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/webdriver-bidi/#list-of-stack-frames\" id=\"ref-for-list-of-stack-frames①\">list of stack frames</a> corresponding to execution at the\n point <var>record</var> was created.</p>" |
|
8554 | 8554 | "html": "<p>Let <var>actions by tick</var> be the result of trying to <a data-link-type=\"dfn\" href=\"https://w3c.github.io/webdriver/#dfn-extract-an-action-sequence\" id=\"ref-for-dfn-extract-an-action-sequence\">extract an action sequence</a> with <var>input state</var>, <var>command parameters</var>, and <var>actions options</var>.</p>" |
8555 | 8555 | }, |
8556 | 8556 | { |
8557 | | - "html": "<p><a data-link-type=\"dfn\" href=\"https://w3c.github.io/webdriver/#dfn-try\" id=\"ref-for-dfn-try⑦①\">Try</a> to <a data-link-type=\"dfn\" href=\"https://w3c.github.io/webdriver/#dfn-dispatch-actions\" id=\"ref-for-dfn-dispatch-actions\">dispatch actions</a> with <var>input state</var>, <var>actions by tick</var>, <var>navigable</var>, and <var>actions options</var>.</p>" |
| 8557 | + "html": "<p><a data-link-type=\"dfn\" data-refhint-key=\"f5554d6d\" href=\"https://w3c.github.io/webdriver/#dfn-try\" id=\"ref-for-dfn-try⑦①\">Try</a> to <a data-link-type=\"dfn\" href=\"https://w3c.github.io/webdriver/#dfn-dispatch-actions\" id=\"ref-for-dfn-dispatch-actions\">dispatch actions</a> with <var>input state</var>, <var>actions by tick</var>, <var>navigable</var>, and <var>actions options</var>.</p>" |
8558 | 8558 | }, |
8559 | 8559 | { |
8560 | 8560 | "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 null.</p>" |
|
8585 | 8585 | "html": "<p>Let <var>undo actions</var> be <var>input state</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/webdriver/#dfn-input-cancel-list\" id=\"ref-for-dfn-input-cancel-list\">input cancel list</a> in reverse order.</p>" |
8586 | 8586 | }, |
8587 | 8587 | { |
8588 | | - "html": "<p><a data-link-type=\"dfn\" href=\"https://w3c.github.io/webdriver/#dfn-try\" id=\"ref-for-dfn-try⑦③\">Try</a> to <a data-link-type=\"dfn\" href=\"https://w3c.github.io/webdriver/#dfn-dispatch-tick-actions\" id=\"ref-for-dfn-dispatch-tick-actions\">dispatch tick actions</a> with <var>undo actions</var>, 0, <var>navigable</var>, and <var>actions options</var>.</p>" |
| 8588 | + "html": "<p><a data-link-type=\"dfn\" data-refhint-key=\"f5554d6d\" href=\"https://w3c.github.io/webdriver/#dfn-try\" id=\"ref-for-dfn-try⑦③\">Try</a> to <a data-link-type=\"dfn\" href=\"https://w3c.github.io/webdriver/#dfn-dispatch-tick-actions\" id=\"ref-for-dfn-dispatch-tick-actions\">dispatch tick actions</a> with <var>undo actions</var>, 0, <var>navigable</var>, and <var>actions options</var>.</p>" |
8589 | 8589 | }, |
8590 | 8590 | { |
8591 | 8591 | "html": "<p><a data-link-type=\"dfn\" href=\"https://w3c.github.io/webdriver/#dfn-reset-the-input-state\" id=\"ref-for-dfn-reset-the-input-state\">Reset the input state</a> with <var>session</var> and <var>top-level traversable</var>.</p>" |
|
0 commit comments