Add type field to "ScriptEvaluateResult" for "success" or "exception"
Categories
(Remote Protocol :: WebDriver BiDi, task, P1)
Tracking
(firefox110 fixed)
Tracking | Status | |
---|---|---|
firefox110 | --- | fixed |
People
(Reporter: whimboo, Assigned: whimboo)
References
()
Details
(Whiteboard: [webdriver:m5][wptsync upstream][webdriver:relnote])
Attachments
(2 files)
Filed as: https://github.com/w3c/webdriver-bidi/issues/339
Right now the ScriptEvaluateResult could contain a result or an exception. The client can only differentiate between those depending on which field is set. There might be cases when no field or both fields are set.
To make it obvious for the client such a type field should be added to the ScriptEvaluateResult field.
Also the webdriver bidi client needs to be updated to check for that field.
Assignee | ||
Updated•6 months ago
|
Assignee | ||
Comment 1•6 months ago
|
||
Updated•6 months ago
|
Assignee | ||
Comment 2•6 months ago
|
||
Depends on D163830
Assignee | ||
Comment 3•6 months ago
|
||
Note that we can only land the first patch for now. The webdriver test related changes have to wait until chromedriver has the type
field in a release as well.
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/99f6378962c4 [webdriver-bidi] Add type field to "ScriptEvaluateResult" for "success" or "exception". r=webdriver-reviewers,Sasha,jdescottes
Assignee | ||
Comment 5•6 months ago
|
||
Marking bug as leave-open given that we have to wait for the remaining patch to land until both Firefox and Chrome have this field set in release versions. Once that's done I'll land the test change.
Comment 6•6 months ago
|
||
bugherder |
Assignee | ||
Comment 7•6 months ago
|
||
I discussed with Maksim the landing of the remaining patch and he told me that it will be fine today. So I'm going ahead and land the remaining piece.
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/59335c2e53cb [wdspec] Update webdriver bidi client to handle script evaluation result type. r=webdriver-reviewers,Sasha,jdescottes
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/37541 for changes under testing/web-platform/tests
Updated•6 months ago
|
Comment 10•5 months ago
|
||
bugherder |
Upstream PR was closed without merging
Upstream PR was closed without merging
Upstream PR was closed without merging
Upstream PR merged by moz-wptsync-bot
Comment 15•5 months ago
|
||
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/697500d6883d [wpt PR 37541] - [Gecko Bug 1803599] [wdspec] Update webdriver bidi client to handle script evaluation result type., a=testonly
Comment 16•5 months ago
|
||
bugherder |
Assignee | ||
Updated•4 months ago
|
Description
•