• Brian Sheedy's avatar
    Standardize GPU browser argument logic · 5a730703
    Brian Sheedy authored
    Refactors the GPU Telemetry code to do the following:
    1. Move arguments that are used more than once to constants in a new
       file.
    2. Standardize how browser arguments are determined. Now, tests only
       call either CustomizeBrowserArgs() or
       RestartBrowserIfNecessaryWithArgs() with any non-default args to use.
       The base class now handles application of child class-specific
       default arguments using the GenerateBrowserArgs() class method.
    3. Move the --disable-metal-test-shaders argument to be applied to all
       GPU tests, not just WebGL ones.
    
    Bug: 1085899, 1090480
    Change-Id: I9f73d5953420cb5b5c8bd3f71d4b091751a92595
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2300801
    Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
    Reviewed-by: default avatarYuly Novikov <ynovikov@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#789137}
    5a730703
common_browser_args.py 1.3 KB