Contact emails
Specification
SummaryThis exposes WebDriver commands for creating, removing and updating pressure source samples for so-called "virtual pressure sources": pressure sources that do not depend on underlying hardware or operating system support and can be used for testing.
Not only does this allow ChromeDriver users to test this API more easily, but it was also one of the suggestions brought up during the Intent to Ship thread for this API, as the existing web tests in WPT depend on MojoJS and are not interoperable.
Blink component
TAG reviewNone
TAG review statusNot applicable
Risks
Interoperability and CompatibilityThis feature implements WebDriver extension commands in ChromeDriver that are used in web-platform-tests and can also be used by ChromeDriver users. This feature is therefore not web-exposed, but it does intend to help increase adoption of the spec by making it possible for any implementation to run the existing web tests without having to use JS mocks that are heavily Mojo-based although not dependent on Mojo.
Gecko: No signal for this feature (Not in favor of Compute Pressure API)
WebKit: No signal for this feature (Not in favor of Compute Pressure API)
Web developers: No signals
Other signals: Compute Pressure API Intent To Ship comment.
Securityn/a, this is exposed through WebDriver. There have been changes to the Compute Pressure code in //content and //services.
WebView application risksNone, this API is not exposed on Android.
Ongoing technical constraintsWebDriver endpoints and virtual pressure sources work in Window and Dedicated Worker scopes, but not shared worker ones: we store virtual pressure source information in WebContentsUserData, which does not integrate well with shared workers. Shared worker support would need to work with origins instead, but doing so would not play well with any DevTools frontend work to support the Compute Pressure API. The same constraint is also present in the spec, and feedback is being gathered in issue 285.
DebuggabilityThis is a debugging feature. It exposes new ChromeDriver and CDP endpoints, but the DevTools frontend has not been touched.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?Windows, Mac, Linux, ChromeOS
The feature is currently tested by WPT, but the tests depend on Mojo-specific JS mocks. Having these endpoints is the first step towards making the existing web tests interoperable.
Requires code in //chrome?True: //chrome/test/chromedriver
Tracking bug
Estimated milestonesShipping on desktop 130
Link to entry on the Chrome Platform Status
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/DS0PR11MB79029DDFA8D49E3C82BEAF4393CF2%40DS0PR11MB7902.namprd11.prod.outlook.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOmohSKiAKXvfz0kwH5rPd1jpB5Ub4%2B%3D-hT%3D7j5i6nFB1mq6tg%40mail.gmail.com.
Could you please request reviews for the various review gate bits
in your chromestatus entry?
(privacy, security, enterprise... etc)
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/97a48e59-eefb-49bc-897c-06805d522990%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADsXd2Movb8D-R0W_L8uSnREb%2BGGXLX8T6AfNFjn5W%3D4fkb85A%40mail.gmail.com.