Closed Bug 1924859 Opened 1 year ago Closed 11 months ago

Only allow "browsingContext.traverseHistory" command for top-level browsing contexts

Categories

(Remote Protocol :: WebDriver BiDi, defect, P2)

defect
Points:
2

Tracking

(firefox134 fixed)

RESOLVED FIXED
134 Branch
Tracking Status
firefox134 --- fixed

People

(Reporter: whimboo, Assigned: Sasha)

References

()

Details

(Whiteboard: [webdriver:m13][webdriver:relnote])

Attachments

(1 file)

As per the WebDriver BiDi spec changes on https://github.com/w3c/webdriver-bidi/pull/770 we should only allow to run the browsingContext.traverseHistory command for top-level browsing contexts. In case of frames it should raise an invalid argument error.

Tests are already updated and got downstream synced via bug 1919984.

We probably should consider this bug for M13. It's easy to do so we could make it a mentored bug as well.

Points: --- → 2
Priority: -- → P2
Whiteboard: [webdriver:m13]
Assignee: nobody → aborovova
Status: NEW → ASSIGNED
Pushed by aborovova@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/84c5118458be [bidi] Only allow "browsingContext.traverseHistory" command for top-level browsing contexts. r=webdriver-reviewers,jdescottes
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
Whiteboard: [webdriver:m13] → [webdriver:m13][webdriver:relnote]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: