Skip to content

Commit

Permalink
WebDriver: Pass --enable-qt-networking when launching Ladybird
Browse files Browse the repository at this point in the history
Using Qt networking when running web platform tests improves
performance significantly. The time to run the subset of tests we run
on CI drops from 47.2 seconds to 8.2 seconds on my machine.
  • Loading branch information
tcl3 committed Jul 5, 2024
1 parent 947606a commit bc8599c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Ladybird/WebDriver/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ static ErrorOr<pid_t> launch_browser(ByteString const& socket_path)

arguments.append("--allow-popups");
arguments.append("--force-new-process");
arguments.append("--enable-qt-networking");

arguments.append("about:blank");

Expand Down

0 comments on commit bc8599c

Please sign in to comment.