Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sensors: Add content_shell code path for virtual sensors manipulation #41411

Closed
wants to merge 1 commit into from

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Aug 10, 2023

content_shell does not use ChromeDriver, so we need a separate
implementation for the testdriver.js commands we are adding.

This implementation is anchored on Blink's Internals system, which uses
the newly-added WebSensorProviderAutomation Mojo interface implemented
by content/web_test/browser's WebTestSensorProviderManager to translate
the virtual sensor calls into calls to WebContentsSensorProviderProxy
that will ultimately reach //services.

Bug: 1278377
Change-Id: I13f49d529b36916d1f98b4792839e818fd7e8bdb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4770865
Commit-Queue: Raphael Kubo Da Costa <raphael.kubo.da.costa@intel.com>
Reviewed-by: Matt Reynolds <mattreynolds@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1212214}

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-4770865 branch 2 times, most recently from b546d0e to d08a056 Compare September 6, 2023 18:53
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-4770865 branch 6 times, most recently from 844a983 to 81c8024 Compare October 12, 2023 19:15
@chromium-wpt-export-bot chromium-wpt-export-bot changed the title sensors: Add content_shell code path for new sensor manipulation commands. sensors: Add content_shell code path for virtual sensors manipulation Oct 12, 2023
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-4770865 branch 4 times, most recently from 9417f96 to adb9a2e Compare October 18, 2023 11:27
content_shell does not use ChromeDriver, so we need a separate
implementation for the testdriver.js commands we are adding.

This implementation is anchored on Blink's Internals system, which uses
the newly-added WebSensorProviderAutomation Mojo interface implemented
by content/web_test/browser's WebTestSensorProviderManager to translate
the virtual sensor calls into calls to WebContentsSensorProviderProxy
that will ultimately reach //services.

Bug: 1278377
Change-Id: I13f49d529b36916d1f98b4792839e818fd7e8bdb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4770865
Commit-Queue: Raphael Kubo Da Costa <raphael.kubo.da.costa@intel.com>
Reviewed-by: Matt Reynolds <mattreynolds@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1212214}
@rakuco
Copy link
Member

rakuco commented Oct 23, 2023

For the record, this change was landed as part of #41906

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants