Closed Bug 1881163 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 44688 - wpt: Fix test_driver's minimize/restore functions.

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox126 fixed)

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 44688 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/44688
Details from upstream follow.

Khushal Sagar <khushalsagar@chromium.org> wrote:

wpt: Fix test_driver's minimize/restore functions.

By default the test_driver API calls should be routed to the window
corresponding to the driver. However the minimize/restore calls use the
top level window. Fix this by passing the frame token to look up the
correct WebContents corresponding to the blink Window.

R=danakj@chromium.org

Bug:1522213
Change-Id: I99ed32cd4d9020d9832c63344fee004a40461148
Reviewed-on: https://chromium-review.googlesource.com/5310776
WPT-Export-Revision: 4374184e2682ac666fbfb402346bd55119b55abe

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 1 subtests

Status Summary

Firefox

TIMEOUT: 2

Chrome

TIMEOUT: 2

Safari

TIMEOUT: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/996db9d9804c [wpt PR 44688] - wpt: Fix test_driver's minimize/restore functions., a=testonly https://hg.mozilla.org/integration/autoland/rev/740e1df2c2d1 [wpt PR 44688] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.