Provide a new HTML element that interacts with the permission flow. The permission prompt is currently triggered directly from JS without the user agent having any strong signal of the user's intent. Having an in-content element that the user uses to trigger the permission flow allows for improved permission prompt UX for users as well as a recovery path from the "denied" permission state for sites. Explainer: https://github.com/andypaicu/PEPC/blob/main/explainer.md
There is a risk that this feature fails to be adopted by other browsers. This can be mitigated by polyfilling some of the functionality to ensure the feature is not completely broken in non-implementing browsers.
This feature will likely be used in tandem with the Permissions API (https://www.w3.org/TR/permissions/) which is already supported. The Permissions API runs async. No foreseen ergonomics risks.
A polyfill can help developers use this feature without risking broken functionality on non-supporting browsers.
https://github.com/WICG/PEPC/blob/main/explainer.md#Security
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
None
None
WPT tests started: https://wpt.fyi/results/html/semantics/permission-element
DevTrial on desktop | 121 |
Contact emails
andy...@google.com, pjmcl...@google.com, eng...@google.comExplainer
https://github.com/andypaicu/PEPC/blob/main/explainer.mdSpecification
NoneDesign docs
https://docs.google.com/document/d/1a1gjlJ4VkAWoG8AeGKZDcQXm_c0q-cFTs_5MxmjWVYI/edit?usp=sharing
--
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/CALTCLq62Sud6QPcs4McuUswJv2GRiE-X97tQCwxzvA9rfwd55w%40mail.gmail.com.
On Mon, Nov 20, 2023 at 9:05 AM Andy Paicu <andy...@chromium.org> wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.