Closed Bug 1919958 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 48227 - [testdriver.js] Fix malformed action payloads

Categories

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

task

Tracking

(firefox132 fixed)

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Jonathan Lee <jonathanjlee@google.com> wrote:

[testdriver.js] Fix malformed action payloads

Starting in #45823, create_context_action() wraps create_action() in testdriver-extra.js. Some methods still pass the old create_action() arguments to create_context_action(), which incorrectly assigns __wptrunner_id to the params object and not the WindowProxy. This causes TestDriverProtocolPart.switch_to_window() to fail to find the requested window.

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e63e0ba5454d [wpt PR 48227] - [testdriver.js] Fix malformed action payloads, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.