Closed Bug 1779231 Opened 2 years ago Closed 2 years ago

Add Realm support to "target" argument for "script.evaluate", "script.callFunction", and "script.disown"

Categories

(Remote Protocol :: WebDriver BiDi, enhancement, P1)

enhancement
Points:
5

Tracking

(firefox106 fixed, firefox107 fixed)

RESOLVED FIXED
107 Branch
Tracking Status
firefox106 --- fixed
firefox107 --- fixed

People

(Reporter: whimboo, Assigned: Sasha)

References

Details

(Whiteboard: [webdriver:m4], [wptsync upstream])

Attachments

(3 files)

Once we have sandbox support for script.evaluate (bug 1770480) and can retrieve existing realms (bug 1766240) we can finally add Realm support for the target argument.

Given the small differences to script.callFunction lets cover both on the same bug.

Blocks: 1750540, 1770418
Summary: Add Realm support to "target" argument for "script.evaluate" → Add Realm support to "target" argument for "script.evaluate" and "script.callFunction"
Whiteboard: [webdriver:backlog]
Priority: -- → P3
Points: --- → 5
Priority: P3 → P1
Whiteboard: [webdriver:backlog] → [webdriver:m4]
Blocks: 1778976

We should wait until the script.disown command has been implemented as well.

Depends on: 1770740
Summary: Add Realm support to "target" argument for "script.evaluate" and "script.callFunction" → Add Realm support to "target" argument for "script.evaluate", "script.callFunction", and "script.disown"
Assignee: nobody → aborovova
Status: NEW → ASSIGNED
Blocks: 1770738
Pushed by aborovova@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4379621516e9
[bidi] Add Realm support to "target" argument for "script.evaluate", "script.callFunction" and "script.disown" r=webdriver-reviewers,jdescottes,whimboo
https://hg.mozilla.org/integration/autoland/rev/db18156a5524
[wdspec] Move argument and this argument callFunction tests to separate files. r=webdriver-reviewers,jdescottes
https://hg.mozilla.org/integration/autoland/rev/f1387a8dfb7f
[wdspec] Add tests for realm in target argument for "script.evaluate", "script.callFunction" and "script.disown". r=webdriver-reviewers,whimboo,jdescottes
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/35962 for changes under testing/web-platform/tests
Whiteboard: [webdriver:m4] → [webdriver:m4], [wptsync upstream]
Blocks: 1788861
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch

Comment on attachment 9293492 [details]
Bug 1779231 - [bidi] Add Realm support to "target" argument for "script.evaluate", "script.callFunction" and "script.disown"

Beta/Release Uplift Approval Request

  • User impact if declined: A user will not be able to start using "script.evaluate", "script.callFunction" and "script.disown" commands.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: Bug 1778976
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): It introduces only a new functionality to the BiDi commands, all the changes are tests with wdspec tests.
  • String changes made/needed:
  • Is Android affected?: Yes
Attachment #9293492 - Flags: approval-mozilla-beta?
Attachment #9293493 - Flags: approval-mozilla-beta?
Attachment #9293673 - Flags: approval-mozilla-beta?

Comment on attachment 9293492 [details]
Bug 1779231 - [bidi] Add Realm support to "target" argument for "script.evaluate", "script.callFunction" and "script.disown"

Approved for 106.0b3, thanks.

Attachment #9293492 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9293493 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9293673 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Upstream PR merged by jgraham
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: