Closed Bug 1830859 Opened 10 months ago Closed 6 months ago

Implement "browsingContext.reload" command

Categories

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

enhancement
Points:
3

Tracking

(firefox119 fixed)

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

(Blocks 2 open bugs, )

Details

(Whiteboard: [webdriver:m8][wptsync upstream][webdriver:relnote])

Attachments

(2 files)

This command will provide the capability to reload the current page.

Wdspec tests for this command are already getting added via https://github.com/web-platform-tests/wpt/pull/39739.

Points: --- → 3
Priority: -- → P2
Whiteboard: [webdriver:backlog]

(In reply to Henrik Skupin [:whimboo][⌚️UTC+1] from comment #0)

Wdspec tests for this command are already getting added via https://github.com/web-platform-tests/wpt/pull/39739.

Actually there will be several PRs for tests. With that one the basic validation tests will be added. As such we probably want to wait until https://github.com/GoogleChromeLabs/chromium-bidi/pull/654 has been fixed.

We are waiting for the functionality tests to be added via https://github.com/web-platform-tests/wpt/pull/40134.

Depends on: 1834392

I'll have a look if we can get this quickly implemented. As such I'll create a new bug for handling the optional ignoreCache boolean parameter which requires a specific test, and isn't covered yet by the already existent wdspec tests.

Blocks: 1851561

I noticed that the WebDriver BiDi specification is wrong. At the moment no NavigationResult is getting returned, which is needed by clients to actually listen for certain events. I filed https://github.com/w3c/webdriver-bidi/issues/527 to get this fixed. As such I'm going to also let Firefox return an empty result for now, and file a new bug to get the NavigationResult added once the specification has been fixed.

Blocks: 1851583
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0212e4b4c8ae
[webdriver-bidi] Implement "browsingContext.reload" command. r=webdriver-reviewers,Sasha
https://hg.mozilla.org/integration/autoland/rev/3ccfd029bb7a
[wdspec] Strenghten WebDriver BiDi reload tests. r=webdriver-reviewers,Sasha
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/41841 for changes under testing/web-platform/tests
Whiteboard: [webdriver:backlog] → [webdriver:backlog], [wptsync upstream]
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
Upstream PR was closed without merging

(In reply to Web Platform Test Sync Bot (Matrix: #interop:mozilla.org) from comment #8)

Created web-platform-tests PR
https://github.com/web-platform-tests/wpt/pull/41841 for changes under
testing/web-platform/tests

The upstream PR has been merged now.

Whiteboard: [webdriver:backlog], [wptsync upstream] → [webdriver:m8][wptsync upstream][webdriver:relnote]
You need to log in before you can comment on or make changes to this bug.