WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED MOVED
246784
ERROR message: Encountered key input source with invalid 'value' in payload on WPT
https://bugs.webkit.org/show_bug.cgi?id=246784
Summary
ERROR message: Encountered key input source with invalid 'value' in payload o...
Karl Dubost
Reported
2022-10-19 18:03:19 PDT
Steps to reproduce: 1. Go to
https://wpt.fyi/results/input-events/input-events-typing.html?label=experimental&label=master&aligned
2. Select Show Details on the top right Expected: FAIL or PASS Actual: Error message from Webdriver. webdriver.error.InvalidArgumentException: invalid argument (400): Encountered key input source with invalid 'value' in payload ``` ERROR message: Encountered key input source with invalid 'value' in payload: { actions = ( { type = keyDown; value = "\U2318"; }, { type = keyDown; value = z; }, { type = keyUp; value = z; }, { type = keyUp; value = "\U2318"; } ); id = 3; type = key; } Traceback (most recent call last): File "/Users/runner/work/1/s/tools/wptrunner/wptrunner/executors/executorwebdriver.py", line 431, in run_func self.result = True, self.func(self.protocol, self.url, self.timeout) File "/Users/runner/work/1/s/tools/wptrunner/wptrunner/executors/executorwebdriver.py", line 537, in do_testharness done, rv = handler(result) File "/Users/runner/work/1/s/tools/wptrunner/wptrunner/executors/base.py", line 724, in __call__ return callback(url, payload) File "/Users/runner/work/1/s/tools/wptrunner/wptrunner/executors/base.py", line 740, in process_action result = action_handler(payload) File "/Users/runner/work/1/s/tools/wptrunner/wptrunner/executors/actions.py", line 112, in __call__ self.protocol.action_sequence.send_actions({"actions": actions}) File "/Users/runner/work/1/s/tools/wptrunner/wptrunner/executors/executorwebdriver.py", line 249, in send_actions self.webdriver.actions.perform(actions['actions']) File "/Users/runner/work/1/s/tools/webdriver/webdriver/client.py", line 22, in inner return func(self, *args, **kwargs) File "/Users/runner/work/1/s/tools/webdriver/webdriver/client.py", line 283, in perform actions = self.session.send_session_command("POST", "actions", body) File "/Users/runner/work/1/s/tools/webdriver/webdriver/client.py", line 661, in send_session_command return self.send_command(method, url, body, timeout) File "/Users/runner/work/1/s/tools/webdriver/webdriver/client.py", line 625, in send_command raise err webdriver.error.InvalidArgumentException: invalid argument (400): Encountered key input source with invalid 'value' in payload: { actions = ( { type = keyDown; value = "\U2318"; }, { type = keyDown; value = z; }, { type = keyUp; value = z; }, { type = keyUp; value = "\U2318"; } ); id = 3; type = key; } ```
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-10-20 17:29:20 PDT
<
rdar://problem/101406508
>
Sam Sneddon [:gsnedders]
Comment 2
2022-10-20 17:29:41 PDT
This is a safaridriver bug, not a WebKit Automation protocol bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug