mirror of
https://github.com/lexmount/moli.git
synced 2026-10-06 00:00:56 +00:00
fix(wpt): allow Chrome auxiliary windows without activation
This commit is contained in:
@@ -130,6 +130,9 @@ them. The runner waits for load, fonts, two animation frames, and removal of
|
||||
`crashtest` with zero subtests. An outstanding wait remains a timeout, and a
|
||||
renderer crash is reported even when the browser process stays alive.
|
||||
|
||||
The Chrome CDP driver disables popup blocking so WPT cases can open auxiliary
|
||||
test windows without user activation, as they do under ChromeDriver.
|
||||
|
||||
### Cross-engine layout WPT
|
||||
|
||||
The standalone cross-engine runner has separate layout profiles, so its
|
||||
|
||||
@@ -269,6 +269,8 @@ def _chrome_command(binary: Path, port: int, tmp: Path | None) -> list[str]:
|
||||
"--no-sandbox",
|
||||
"--disable-gpu",
|
||||
"--disable-dev-shm-usage",
|
||||
# WPT opens auxiliary test windows without user activation.
|
||||
"--disable-popup-blocking",
|
||||
"--no-first-run",
|
||||
f"--user-data-dir={tmp}",
|
||||
f"--remote-debugging-port={port}",
|
||||
|
||||
Reference in New Issue
Block a user