summaryrefslogtreecommitdiffstats
path: root/nixos/tests/chromium.nix
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2021-07-25 12:12:18 +0200
committerMichael Weiss <dev.primeos@gmail.com>2021-07-25 12:39:45 +0200
commit4ec2b24603e6eb4a48272678c75d2518de4e2191 (patch)
treec24ee18cc7668884afdbcd231f2ac29dbb6467f9 /nixos/tests/chromium.nix
parentdcc6c7dfb10dd90a4f13a9ad56add2cbfa09c833 (diff)
nixos/tests/chromium: Drop the workaround for Chrome GPU crashes
This regression was fixed by 51d83077ffb.
Diffstat (limited to 'nixos/tests/chromium.nix')
-rw-r--r--nixos/tests/chromium.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/nixos/tests/chromium.nix b/nixos/tests/chromium.nix
index 4d34c8523899..ea9e19cefbc9 100644
--- a/nixos/tests/chromium.nix
+++ b/nixos/tests/chromium.nix
@@ -80,12 +80,8 @@ mapAttrs (channel: chromiumPkg: makeTest rec {
binary = pname
# Add optional CLI options:
options = []
- major_version = "${versions.major (getVersion chromiumPkg.name)}"
- if major_version > "91" and pname.startswith("google-chrome"):
- # To avoid a GPU crash:
- options += ["--use-gl=angle", "--use-angle=swiftshader"]
- options.append("file://${startupHTML}")
# Launch the process:
+ options.append("file://${startupHTML}")
machine.succeed(ru(f'ulimit -c unlimited; {binary} {shlex.join(options)} & disown'))
if binary.startswith("google-chrome"):
# Need to click away the first window: