Skip to content

Commit

Permalink
Remove incorrect conversion between List and Array (#500)
Browse files Browse the repository at this point in the history
SHA: a4cc71e
Reason: push, by jgraham

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
lolaodelola and github-actions[bot] committed Jul 27, 2023
1 parent 9cf6443 commit be2378e
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED" rel="stylesheet">
<meta content="Bikeshed version d29f71adb, updated Wed Jul 19 11:08:56 2023 -0700" name="generator">
<link href="https://w3c.github.io/webdriver-bidi/" rel="canonical">
<meta content="dbca1e359ed04d8bf7fda33d7e0c04d61ff72451" name="document-revision">
<meta content="a4cc71e993b759f20e75c3dd2cb3749c260751d1" name="document-revision">
<style>
var {
color: #cd5c5c
Expand Down Expand Up @@ -4590,11 +4590,10 @@ <h5 class="heading settled" data-level="6.5.3.6" id="type-script-LocalValue"><sp
<p>Append <a data-link-type="dfn" href="https://tc39.es/ecma262/#sec-createarrayfromlist" id="ref-for-sec-createarrayfromlist">CreateArrayFromList</a>(«<var>deserialized key</var>, <var>deserialized value</var>») to <var>deserialized key-value list</var>.</p>
</ol>
<li data-md>
<p>Return <a data-link-type="dfn" href="https://w3c.github.io/webdriver/#dfn-success" id="ref-for-dfn-success②⑦">success</a> with data <a data-link-type="dfn" href="https://tc39.es/ecma262/#sec-createarrayfromlist" id="ref-for-sec-createarrayfromlist①">CreateArrayFromList</a>(<var>deserialized key-value list</var>).</p>
<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>deserialized key-value list</var>.</p>
</ol>
</div>
<div class="algorithm" data-algorithm="deserialize value list">
<p class="issue" id="issue-75bd8ac1"><a class="self-link" href="#issue-75bd8ac1"></a> TODO distinguish between `List` and `Array`.</p>
<p>To <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="deserialize-value-list">deserialize value list</dfn> given <var>serialized value list</var>, <var>realm</var> and <var>session</var>:</p>
<ol>
<li data-md>
Expand Down Expand Up @@ -4637,7 +4636,7 @@ <h5 class="heading settled" data-level="6.5.3.6" id="type-script-LocalValue"><sp
<li data-md>
<p>Let <var>deserialized value list</var> be a result of <a data-link-type="dfn" href="https://w3c.github.io/webdriver/#dfn-try" id="ref-for-dfn-try②②">trying</a> to <a data-link-type="dfn" href="#deserialize-value-list" id="ref-for-deserialize-value-list">deserialize value list</a> given <var>value</var>, <var>realm</var> and <var>session</var>.</p>
<li data-md>
<p>Return <a data-link-type="dfn" href="https://w3c.github.io/webdriver/#dfn-success" id="ref-for-dfn-success②⑨">success</a> with data <a data-link-type="dfn" href="https://tc39.es/ecma262/#sec-createarrayfromlist" id="ref-for-sec-createarrayfromlist">CreateArrayFromList</a>(<var>deserialized value list</var>).</p>
<p>Return <a data-link-type="dfn" href="https://w3c.github.io/webdriver/#dfn-success" id="ref-for-dfn-success②⑨">success</a> with data <a data-link-type="dfn" href="https://tc39.es/ecma262/#sec-createarrayfromlist" id="ref-for-sec-createarrayfromlist">CreateArrayFromList</a>(<var>deserialized value list</var>).</p>
</ol>
<dt><var>type</var> is the string "<code>date</code>"
<dd>
Expand All @@ -4657,7 +4656,7 @@ <h5 class="heading settled" data-level="6.5.3.6" id="type-script-LocalValue"><sp
<li data-md>
<p>Let <var>deserialized key-value list</var> be a result of <a data-link-type="dfn" href="https://w3c.github.io/webdriver/#dfn-try" id="ref-for-dfn-try②③">trying</a> to <a data-link-type="dfn" href="#deserialize-key-value-list" id="ref-for-deserialize-key-value-list">deserialize key-value list</a> with <var>value</var>, <var>realm</var> and <var>session</var>.</p>
<li data-md>
<p>Let <var>iterable</var> be <a data-link-type="dfn" href="https://tc39.es/ecma262/#sec-createarrayfromlist" id="ref-for-sec-createarrayfromlist">CreateArrayFromList</a>(<var>deserialized key-value list</var>)</p>
<p>Let <var>iterable</var> be <a data-link-type="dfn" href="https://tc39.es/ecma262/#sec-createarrayfromlist" id="ref-for-sec-createarrayfromlist">CreateArrayFromList</a>(<var>deserialized key-value list</var>)</p>
<li data-md>
<p>Return <a data-link-type="dfn" href="https://w3c.github.io/webdriver/#dfn-success" id="ref-for-dfn-success③①">success</a> with data <a data-link-type="dfn" href="https://tc39.es/ecma262/#sec-map-iterable" id="ref-for-sec-map-iterable">Map</a>(<var>iterable</var>).</p>
</ol>
Expand All @@ -4667,7 +4666,7 @@ <h5 class="heading settled" data-level="6.5.3.6" id="type-script-LocalValue"><sp
<li data-md>
<p>Let <var>deserialized key-value list</var> be a result of <a data-link-type="dfn" href="https://w3c.github.io/webdriver/#dfn-try" id="ref-for-dfn-try②④">trying</a> to <a data-link-type="dfn" href="#deserialize-key-value-list" id="ref-for-deserialize-key-value-list①">deserialize key-value list</a> with <var>value</var>, <var>realm</var> and <var>session</var>.</p>
<li data-md>
<p>Let <var>iterable</var> be <a data-link-type="dfn" href="https://tc39.es/ecma262/#sec-createarrayfromlist" id="ref-for-sec-createarrayfromlist">CreateArrayFromList</a>(<var>deserialized key-value list</var>)</p>
<p>Let <var>iterable</var> be <a data-link-type="dfn" href="https://tc39.es/ecma262/#sec-createarrayfromlist" id="ref-for-sec-createarrayfromlist">CreateArrayFromList</a>(<var>deserialized key-value list</var>)</p>
<li data-md>
<p>Return <a data-link-type="dfn" href="https://w3c.github.io/webdriver/#dfn-success" id="ref-for-dfn-success③②">success</a> with data <a data-link-type="dfn" href="https://tc39.es/ecma262/#sec-object.fromentries" id="ref-for-sec-object.fromentries">Object.fromEntries</a>(<var>iterable</var>).</p>
</ol>
Expand All @@ -4690,7 +4689,7 @@ <h5 class="heading settled" data-level="6.5.3.6" id="type-script-LocalValue"><sp
<li data-md>
<p>Let <var>deserialized value list</var> be a result of <a data-link-type="dfn" href="https://w3c.github.io/webdriver/#dfn-try" id="ref-for-dfn-try②⑤">trying</a> to <a data-link-type="dfn" href="#deserialize-value-list" id="ref-for-deserialize-value-list①">deserialize value list</a> given <var>value</var>, <var>realm</var> and <var>session</var>.</p>
<li data-md>
<p>Let <var>iterable</var> be <a data-link-type="dfn" href="https://tc39.es/ecma262/#sec-createarrayfromlist" id="ref-for-sec-createarrayfromlist">CreateArrayFromList</a>(<var>deserialized key-value list</var>)</p>
<p>Let <var>iterable</var> be <a data-link-type="dfn" href="https://tc39.es/ecma262/#sec-createarrayfromlist" id="ref-for-sec-createarrayfromlist">CreateArrayFromList</a>(<var>deserialized key-value list</var>)</p>
<li data-md>
<p>Return <a data-link-type="dfn" href="https://w3c.github.io/webdriver/#dfn-success" id="ref-for-dfn-success③④">success</a> with data <a data-link-type="dfn" href="https://tc39.es/ecma262/#sec-set-objects" id="ref-for-sec-set-objects">Set object</a>(<var>iterable</var>).</p>
</ol>
Expand Down Expand Up @@ -7849,7 +7848,6 @@ <h2 class="no-num no-ref heading settled" id="issues-index"><span class="content
become inaccessible but not yet get discarded because bfcache. <a class="issue-return" href="#issue-4e122e13" title="Jump to section">↵</a></div>
<div class="issue"> Consider including the `sharedId` of the document node that initiated the
request in addition to the context. <a class="issue-return" href="#issue-f8347230" title="Jump to section">↵</a></div>
<div class="issue"> TODO distinguish between `List` and `Array`. <a class="issue-return" href="#issue-75bd8ac1" title="Jump to section">↵</a></div>
<div class="issue"> This has the wrong error code <a class="issue-return" href="#issue-89e6b783" title="Jump to section">↵</a></div>
<div class="issue"> This doesn’t handle lone surrogates <a class="issue-return" href="#issue-d33a79cf" title="Jump to section">↵</a></div>
<div class="issue"> handle "stale object reference" case. <a class="issue-return" href="#issue-718fbe53" title="Jump to section">↵</a></div>
Expand Down Expand Up @@ -8222,7 +8220,7 @@ <h2 class="no-num no-ref heading settled" id="issues-index"><span class="content
window.dfnpanelData['f1d11a13'] = {"dfnID": "f1d11a13", "url": "https://tc39.es/ecma262/#sec-call", "dfnText": "call", "refSections": [{"refs": [{"id": "ref-for-sec-call"}], "title": "6.5.2. Preload Scripts"}, {"refs": [{"id": "ref-for-sec-call\u2460"}], "title": "6.5.3.13. The script.RemoteValue Type"}, {"refs": [{"id": "ref-for-sec-call\u2461"}], "title": "6.5.4.3. The script.callFunction Command"}], "external": true};
window.dfnpanelData['d4873ea0'] = {"dfnID": "d4873ea0", "url": "https://tc39.es/ecma262/#sec-completion-record-specification-type", "dfnText": "completion record", "refSections": [{"refs": [{"id": "ref-for-sec-completion-record-specification-type"}, {"id": "ref-for-sec-completion-record-specification-type\u2460"}], "title": "6.5.2. Preload Scripts"}, {"refs": [{"id": "ref-for-sec-completion-record-specification-type\u2461"}], "title": "6.5.3.4. The script.ExceptionDetails Type"}, {"refs": [{"id": "ref-for-sec-completion-record-specification-type\u2462"}], "title": "6.5.3.6. The script.LocalValue Type"}, {"refs": [{"id": "ref-for-sec-completion-record-specification-type\u2463"}], "title": "6.5.3.13. The script.RemoteValue Type"}, {"refs": [{"id": "ref-for-sec-completion-record-specification-type\u2464"}, {"id": "ref-for-sec-completion-record-specification-type\u2465"}], "title": "6.5.3.18. The script.StackTrace Type"}], "external": true};
window.dfnpanelData['134d399c'] = {"dfnID": "134d399c", "url": "https://tc39.es/ecma262/#sec-construct", "dfnText": "construct", "refSections": [{"refs": [{"id": "ref-for-sec-construct"}], "title": "6.5.3.6. The script.LocalValue Type"}], "external": true};
window.dfnpanelData['8c337abd'] = {"dfnID": "8c337abd", "url": "https://tc39.es/ecma262/#sec-createarrayfromlist", "dfnText": "createarrayfromlist", "refSections": [{"refs": [{"id": "ref-for-sec-createarrayfromlist"}, {"id": "ref-for-sec-createarrayfromlist\u2460"}, {"id": "ref-for-sec-createarrayfromlist\u2461"}, {"id": "ref-for-sec-createarrayfromlist\u2462"}, {"id": "ref-for-sec-createarrayfromlist\u2463"}, {"id": "ref-for-sec-createarrayfromlist\u2464"}], "title": "6.5.3.6. The script.LocalValue Type"}], "external": true};
window.dfnpanelData['8c337abd'] = {"dfnID": "8c337abd", "url": "https://tc39.es/ecma262/#sec-createarrayfromlist", "dfnText": "createarrayfromlist", "refSections": [{"refs": [{"id": "ref-for-sec-createarrayfromlist"}, {"id": "ref-for-sec-createarrayfromlist\u2460"}, {"id": "ref-for-sec-createarrayfromlist\u2461"}, {"id": "ref-for-sec-createarrayfromlist\u2462"}, {"id": "ref-for-sec-createarrayfromlist\u2463"}], "title": "6.5.3.6. The script.LocalValue Type"}], "external": true};
window.dfnpanelData['34e1a2c9'] = {"dfnID": "34e1a2c9", "url": "https://tc39.es/ecma262/#sec-createarrayiterator", "dfnText": "createarrayiterator", "refSections": [{"refs": [{"id": "ref-for-sec-createarrayiterator"}], "title": "6.5.3.13. The script.RemoteValue Type"}], "external": true};
window.dfnpanelData['bd2650e6'] = {"dfnID": "bd2650e6", "url": "https://tc39.es/ecma262/#sec-createbuiltinfunction", "dfnText": "createbuiltinfunction", "refSections": [{"refs": [{"id": "ref-for-sec-createbuiltinfunction"}], "title": "6.5.3.2. The script.ChannelValue Type"}], "external": true};
window.dfnpanelData['b44c8bda'] = {"dfnID": "b44c8bda", "url": "https://tc39.es/ecma262/#sec-createlistfromarraylike", "dfnText": "createlistfromarraylike", "refSections": [{"refs": [{"id": "ref-for-sec-createlistfromarraylike"}], "title": "6.5.3.13. The script.RemoteValue Type"}], "external": true};
Expand Down

0 comments on commit be2378e

Please sign in to comment.