anchor.diff:      from contextlib import contextmanager
   
   
  +    major_version = "${versions.major (getVersion chromiumPkg.name)}"
  +
  +
       # Run as user alice
       def ru(cmd):
           return "su - ${user} -c " + shlex.quote(cmd)
  
positive.code:         machine.screenshot("after_copy_from_chromium")
  
  
      with test_new_win("gpu_info", "chrome://gpu", "chrome://gpu"):
          # To check the text rendering (catches regressions like #131074):
          machine.wait_for_text("Graphics Feature Status")
  
  
      with test_new_win("version_info", "chrome://version", "About Version") as clipboard:
  
negative.code:             binary = pname
          # Add optional CLI options:
          options = []
          if major_version > "95" and not pname.startswith("google-chrome"):
              # Workaround to avoid a GPU crash:
              options.append("--use-gl=swiftshader")
  