You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having a new HTML element to grant permissions for APIs that are restricted to JavaScript feels a little superfluous.
If this is a path forward for adding such elements in the future, for example where a <video tag can access a webcam directly, or an <location tag can show current location, maybe it would make more sense, but I think that it should be part of that proposal.
Even then, it can be argued that it could be reduced to an attribute for those elements, or left out completely to have users grant permissions on first use as is the status quo in most browsers.
Activity
andypaicu commentedon Jun 18, 2025
We're currently re-orienting to capability focused individual elements instead of one generic element.
We don't really think the current status quo is great for anyone: https://github.com/WICG/PEPC/blob/main/explainer.md#1-no-platform-changes, or that we can just take existing elements and augment them https://github.com/WICG/PEPC/blob/main/explainer.md#4-extending-an-existing-html-element