-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Windows cannot run headless mode #37973
Copy link
Copy link
Labels
A-servoshellP-windowsAny version of Windows capable of running ServoAny version of Windows capable of running Servo
Description
Describe the bug:
servo/ports/servoshell/desktop/app.rs
Lines 111 to 114 in 4615464
| pub fn init(&mut self, event_loop: Option<&ActiveEventLoop>) { | |
| let headless = self.servoshell_preferences.headless; | |
| assert_eq!(headless, event_loop.is_none()); |
The assertion always fails, so it still runs headed window.
To Reproduce:
./mach test-wpt -r tests\wpt\mozilla\tests\mozilla\window_resizeTo.html --headless
Platform:
Windows
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-servoshellP-windowsAny version of Windows capable of running ServoAny version of Windows capable of running Servo