Bug 1783820 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

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.
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](https://searchfox.org/mozilla-central/rev/c0bed29d643393af6ebe77aa31455f283f169202/remote/webdriver-bidi/modules/root/script.jsm#136). However we are not rejecting commands if a value is provided, we simply ignore it (as opposed to what we do for [sandbox](https://searchfox.org/mozilla-central/rev/c0bed29d643393af6ebe77aa31455f283f169202/remote/webdriver-bidi/modules/root/script.jsm#300-302) and [realm](https://searchfox.org/mozilla-central/rev/c0bed29d643393af6ebe77aa31455f283f169202/remote/webdriver-bidi/modules/root/script.jsm#309-311) parameters).

Blocking on Bug 1770736 because we need the object reference store in order to create our handle ids.

Back to Bug 1783820 Comment 0