mirror of
https://github.com/servo/servo.git
synced 2025-08-26 07:38:21 +01:00
wpt: Set servo window size and open blank page for wdspec (#38793)
On `ServoWdSpecBrowser`, we set the window size to `800x600` and open
`about:blank`. This will unify the behavior of servo and servodriver.
604b6ea26d/tests/wpt/tests/tools/wptrunner/wptrunner/browsers/servodriver.py (L101-L102)
Testing: Unify the behavior of servo and servodriver for wdspec
Signed-off-by: PotatoCP <Kenzie.Raditya.Tirtarahardja@huawei.com>
This commit is contained in:
parent
6e6ef513a9
commit
37088aa4c3
2 changed files with 5 additions and 2 deletions
2
tests/wpt/meta/MANIFEST.json
vendored
2
tests/wpt/meta/MANIFEST.json
vendored
|
@ -522937,7 +522937,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"servo.py": [
|
"servo.py": [
|
||||||
"07441780ccc7682c6b7616271aeb9a40310a433a",
|
"2928ffb7f1d483cff60dd17ffd92a53c9b1c3148",
|
||||||
[]
|
[]
|
||||||
],
|
],
|
||||||
"servodriver.py": [
|
"servodriver.py": [
|
||||||
|
|
|
@ -116,7 +116,10 @@ class ServoWdspecBrowser(WebDriverBrowser):
|
||||||
# See https://github.com/servo/servo/issues/30080.
|
# See https://github.com/servo/servo/issues/30080.
|
||||||
# For some reason rustls does not like the certificate generated by the WPT tooling.
|
# For some reason rustls does not like the certificate generated by the WPT tooling.
|
||||||
"--ignore-certificate-errors",
|
"--ignore-certificate-errors",
|
||||||
"--headless"] + self.webdriver_args
|
"--headless",
|
||||||
|
"--window-size",
|
||||||
|
"800x600",
|
||||||
|
"about:blank"] + self.webdriver_args
|
||||||
if self.binary_args:
|
if self.binary_args:
|
||||||
command += self.binary_args
|
command += self.binary_args
|
||||||
return command
|
return command
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue