Force enable Shadow DOM v0 for chrome driver.
This patch is a preparation for Shadow DOM V0, Custom Element V0 (CEv0) and HTML Imports removal.
Intent to Deprecate and Remove: http://bit.ly/2RGHe3x
Though we soon make these APIs only available for test by turning the json5 feature flag
from status: "stable" to status: "test", there is browser tests/chrome internal components that
use them.
ChromeDriverTest is a one of them and this patch reenable Shadow DOM v0 for it.
We should migration it using new APIs.
Bug: 911943
Change-Id: I0d97f4414aa5d17ddd611a38f34c34238880e27e
Reviewed-on: https://chromium-review.googlesource.com/c/1405958
Reviewed-by: John Chen <johnchen@chromium.org>
Commit-Queue: Yoichi Osato <yoichio@chromium.org>
Cr-Commit-Position: refs/heads/master@{#622281}
diff --git a/chrome/test/chromedriver/chrome_launcher.cc b/chrome/test/chromedriver/chrome_launcher.cc
index 17b2abe..3469b72 100644
--- a/chrome/test/chromedriver/chrome_launcher.cc
+++ b/chrome/test/chromedriver/chrome_launcher.cc
@@ -89,6 +89,11 @@
"use-mock-keychain",
"test-type=webdriver",
"force-fieldtrials=SiteIsolationExtensions/Control",
+ // TODO(yoichio): This is temporary switch to support chrome internal
+ // components migration from the old web APIs.
+ // After completion of the migration, we should remove this.
+ // See crbug.com/911943 for detail.
+ "enable-blink-features=ShadowDOMV0",
};
const char* const kAndroidSwitches[] = {