github web-platform-tests/wpt merge_pr_48227

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
11 months ago

[testdriver.js] Fix malformed action payloads (#48227)

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 0 and not the WindowProxy.
This causes TestDriverProtocolPart.switch_to_window() to fail to find
the requested window 1.

Don't miss a new wpt release

NewReleases is sending notifications on new releases.