Commit ce6e8b03 authored by Luke Zielinski's avatar Luke Zielinski Committed by Commit Bot

Stop referencing 'useAutomationExtension' in chrome android browsers.

Usage of this option is deprecated and was dropped in
https://github.com/web-platform-tests/wpt/pull/26118

Bug: 1139500
Change-Id: I55ba3accd355eb61fd865007294517a8e8aaac4c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2485011Reviewed-by: default avatarRobert Ma <robertma@chromium.org>
Reviewed-by: default avatarRakib Hasan <rmhasan@google.com>
Commit-Queue: Luke Z <lpz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#818565}
parent 4767de3a
...@@ -47,7 +47,6 @@ def executor_kwargs(test_type, server_config, cache_manager, run_info_data, ...@@ -47,7 +47,6 @@ def executor_kwargs(test_type, server_config, cache_manager, run_info_data,
cache_manager, run_info_data, cache_manager, run_info_data,
**kwargs) **kwargs)
del executor_kwargs["capabilities"]["goog:chromeOptions"]["prefs"] del executor_kwargs["capabilities"]["goog:chromeOptions"]["prefs"]
del executor_kwargs["capabilities"]["goog:chromeOptions"]["useAutomationExtension"]
capabilities = executor_kwargs["capabilities"] capabilities = executor_kwargs["capabilities"]
# Note that for WebLayer, we launch a test shell and have the test shell use # Note that for WebLayer, we launch a test shell and have the test shell use
# WebLayer. # WebLayer.
......
...@@ -47,7 +47,6 @@ def executor_kwargs(test_type, server_config, cache_manager, run_info_data, ...@@ -47,7 +47,6 @@ def executor_kwargs(test_type, server_config, cache_manager, run_info_data,
cache_manager, run_info_data, cache_manager, run_info_data,
**kwargs) **kwargs)
del executor_kwargs["capabilities"]["goog:chromeOptions"]["prefs"] del executor_kwargs["capabilities"]["goog:chromeOptions"]["prefs"]
del executor_kwargs["capabilities"]["goog:chromeOptions"]["useAutomationExtension"]
capabilities = executor_kwargs["capabilities"] capabilities = executor_kwargs["capabilities"]
# Note that for WebView, we launch a test shell and have the test shell use WebView. # Note that for WebView, we launch a test shell and have the test shell use WebView.
# https://chromium.googlesource.com/chromium/src/+/HEAD/android_webview/docs/webview-shell.md # https://chromium.googlesource.com/chromium/src/+/HEAD/android_webview/docs/webview-shell.md
......
...@@ -49,7 +49,6 @@ def executor_kwargs(test_type, server_config, cache_manager, run_info_data, ...@@ -49,7 +49,6 @@ def executor_kwargs(test_type, server_config, cache_manager, run_info_data,
**kwargs) **kwargs)
# Remove unsupported options on mobile. # Remove unsupported options on mobile.
del executor_kwargs["capabilities"]["goog:chromeOptions"]["prefs"] del executor_kwargs["capabilities"]["goog:chromeOptions"]["prefs"]
del executor_kwargs["capabilities"]["goog:chromeOptions"]["useAutomationExtension"]
assert kwargs["package_name"], "missing --package-name" assert kwargs["package_name"], "missing --package-name"
executor_kwargs["capabilities"]["goog:chromeOptions"]["androidPackage"] = \ executor_kwargs["capabilities"]["goog:chromeOptions"]["androidPackage"] = \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment