Skip to content

Suitability for inclusion #58

Open

Description

@mariusor

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

  1. andypaicu commented on Jun 18, 2025

    @andypaicu
    Collaborator

    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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions