Open Bug 1924859 Opened 10 days ago Updated 4 days ago

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

Categories

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

defect
Points:
2

Tracking

(Not tracked)

People

(Reporter: whimboo, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [webdriver:m13])

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]
You need to log in before you can comment on or make changes to this bug.