From f24917eabcc33f1d3c9692bb87eb012e97b116b9 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Sun, 16 Jun 2024 06:39:12 +0000 Subject: [PATCH] Bug 1894782 [wpt PR 46039] - Enabled subsuite support for chrome, a=testonly Automatic update from web-platform-tests Enabled subsuite support for chrome (#46039) This is needed as we plan to run virtual tests with headless shell. Whether to run the virtual tests or not is controlled by the wrapper. -- wpt-commits: 53e94aacf78b637035b0740f67e6ac17b8adc34e wpt-pr: 46039 UltraBlame original commit: 04b9415653012247e97642466d31b63d38fbba9a --- .../wptrunner/wptrunner/browsers/chrome.py | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/testing/web-platform/tests/tools/wptrunner/wptrunner/browsers/chrome.py b/testing/web-platform/tests/tools/wptrunner/wptrunner/browsers/chrome.py index 0ab9a5521482c..5d874f32599a3 100644 --- a/testing/web-platform/tests/tools/wptrunner/wptrunner/browsers/chrome.py +++ b/testing/web-platform/tests/tools/wptrunner/wptrunner/browsers/chrome.py @@ -373,6 +373,7 @@ test_type test_environment run_info_data +subsuite * * @@ -409,6 +410,7 @@ test_environment run_info_data +subsuite * * kwargs @@ -1577,6 +1579,47 @@ arg ) +for +arg +in +subsuite +. +config +. +get +( +" +binary_args +" +[ +] +) +: + +if +arg +not +in +chrome_options +[ +" +args +" +] +: + +chrome_options +[ +" +args +" +] +. +append +( +arg +) + # Pass the