Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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]. [0]: https://github.com/web-platform-tests/wpt/blob/2a471e0d/tools/wptrunner/wptrunner/testdriver-extra.js#L85 [1]: https://wpt.fyi/results/device-posture/device-posture-clear.https.html?run_id=5117148234252288&run_id=5157553306861568&run_id=5072332666437632&run_id=5173437035446272
- Loading branch information