mirror of
https://github.com/servo/servo.git
synced 2025-07-16 11:53:39 +01:00
servoshell: Set dom_testing_html_input_element_select_files_enabled
when WebDriver is enabled (#37873)
Testing: `.\tests\wpt\tests\webdriver\tests\classic\execute_script\collections.py` can now run to the end when running either locally or `try`. Fixes: #37870 Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
This commit is contained in:
parent
fe7aa91235
commit
291b42f6e9
2 changed files with 4 additions and 1 deletions
|
@ -539,6 +539,10 @@ pub(crate) fn parse_command_line_arguments(args: Vec<String>) -> ArgumentParsing
|
|||
preferences.devtools_server_port = port;
|
||||
}
|
||||
|
||||
if opt_match.opt_present("webdriver") {
|
||||
preferences.dom_testing_html_input_element_select_files_enabled = true;
|
||||
}
|
||||
|
||||
let parse_resolution_string = |string: String| {
|
||||
let components: Vec<u32> = string
|
||||
.split('x')
|
||||
|
|
|
@ -117,7 +117,6 @@ def handle_preset(s: str) -> Optional[JobConfig]:
|
|||
wpt_args=" ".join(
|
||||
[
|
||||
"./tests/wpt/tests/webdriver/tests/classic/",
|
||||
"--pref=dom_testing_html_input_element_select_files_enabled",
|
||||
"--product servodriver",
|
||||
"--headless",
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue