Contact emails
jfern...@igalia.com
Specification
https://html.spec.whatwg.org/multipage/system-state.html#custom-handlers
Summary
The proposed `setRPHRegistrationMode` WebDriver extension command places the user agent in a mode where it will automatically accept or reject (depending on the mode) future Custom Protocol Handlers registrations. This allows full end-to-end testing of Custom Handlers API (eg, registerProtocolHandler), which normally requires user interaction to confirm the user's consent to the protocol registration.
Blink component
Internals>Headless
TAG review
None
TAG review status
Not
applicable
Risks
Interoperability and Compatibility
The WebDriver command is only implemented in ChromeDriver, so any test using will fail in other engines.
WebKit based browsers don´t implement the registerProtocolHandler API, so it doesn't affect to them
There is a bug [1] in Firefox to implement the new webdriver command in Marionette.
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1788789
Gecko:
Positive (https://github.com/mozilla/standards-positions/issues/685)
WebKit:
No signal Safari doesn't implement the registerProtocolHandler
API, but nobody opposed to the feature.
Web
developers: No signals
Other
signals:
WebView application risks
Does this intent deprecate or change behavior
of existing APIs, such that it has potentially high risk for
Android WebView-based applications?
None
Goals for experimentation
Ongoing technical constraints
None
Debuggability
None
Will this feature be supported on all six Blink
platforms (Windows, Mac, Linux, ChromeOS, Android, and Android
WebView)?
Yes
Yes
https://wpt.fyi/results/html/webappapis/system-state-and-capabilities/the-navigator-object?label=master&label=experimental&aligned&q=protocol-handler
None
Finch feature name
None
Non-finch justification
This feature is just for WebDriver and part of the implementation lives in the WPT repository as testdriver.js support logic.
Requires code in //chrome?
False
Tracking bug
https://bugs.chromium.org/p/chromium/issues/detail?id=1359103
Estimated milestones
No milestones specified
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5153153574502400