Add resultOwnership support for "script.evaluate" and "script.callFunction"
Categories
(Remote Protocol :: WebDriver BiDi, enhancement, P1)
Tracking
(firefox106 fixed)
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
References
()
Details
(Whiteboard: [webdriver:m4])
Attachments
(4 files)
The evaluate
and callFunction
commands do not handle resultOwnership
yet. The default value is "none", but we should also support the "root" value, which means we should return the handle
for the root of the return value.
For the record, at the moment resultOwnership
is marked as unsupported in the JSDoc. However we are not rejecting commands if a value is provided, we simply ignore it (as opposed to what we do for sandbox and realm parameters).
Blocking on Bug 1770736 because we need the object reference store in order to create our handle ids.
Comment 1•2 years ago
|
||
wdspec tests for callFunction
landed via bug 1779066 and for evaluate
via bug 1779211.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D155445
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D155445
The test was only passing because the error thrown was "InvalidArgumentError is not a constructor"
Assignee | ||
Comment 4•2 years ago
|
||
Depends on D155632
Assignee | ||
Comment 5•2 years ago
|
||
Depends on D155862
Comment 7•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4a3540c94fdb
https://hg.mozilla.org/mozilla-central/rev/86d453430ba7
https://hg.mozilla.org/mozilla-central/rev/87529a5f58ad
https://hg.mozilla.org/mozilla-central/rev/dc1e9c10054b
Description
•