forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make screen_enumeration WPT run on Android
This fixes the following issues that prevented the screen_enumeration WPT from passing on Clank and WL (may also apply to other tests): 1) Enable MojoJS when running run_android_wpt.py This allows WPT to access mojo interfaces like on Desktop platforms. 2) Implement GetDefaultBrowserContext() on Clank and WL This method from content::DevToolsManagerDelegate is called when a WPT tries to enable permissions via test_driver.set_permission(). On Clank we can use the same implementation than on Desktop via ProfileManager but on WL this CL currently just uses the first available Profile via ProfileImpl::GetAllProfiles(). Bug: 1180429 Change-Id: I9fb715806661d2be3d532cbd17bf9758d54aec21 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2797375 Reviewed-by: Robbie McElrath <rmcelrath@chromium.org> Reviewed-by: Colin Blundell <blundell@chromium.org> Reviewed-by: Dirk Pranke <dpranke@google.com> Commit-Queue: Richard Knoll <knollr@chromium.org> Cr-Commit-Position: refs/heads/master@{#869746}
- Loading branch information
Showing
7 changed files
with
32 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters