WebKit / standards-positions

WebKit's positions on emerging web specifications
https://webkit.org/standards-positions/
241 stars 18 forks source link

Page Embedded Permission Control (PEPC) #270

Closed b1tr0t closed 3 months ago

b1tr0t commented 9 months ago

WebKittens

@marcoscaceres

Title of the spec

Page Embedded Permission Control

URL to the spec

No response

URL to the spec's repository

https://github.com/WICG/PEPC

Issue Tracker URL

No response

Explainer URL

No response

TAG Design Review URL

No response

Mozilla standards-positions issue URL

https://github.com/mozilla/standards-positions/issues/908

WebKit Bugzilla URL

No response

Radar URL

No response

Description

The Page Embedded Permission Control (prev Permission Element) is a new HTML element embedded into web content that allows users to initiate a permission request flow (vs. permissions api which lets developers prompt users). This reframes the current permission model from developer-push to user-pull, where we can be confident of user intent.

b1tr0t commented 7 months ago

Gentle nudge on this, we'd love position feedback.

Thanks all!

marcoscaceres commented 7 months ago

Sorry for the delay, @b1tr0t. I left some feedback in the latest PR. We are drafting a position but a lot of people are away at the moment so we might not be able to publish it until early Jan.

marcoscaceres commented 3 months ago

This is draft position. Unless folks object, we would like to make it our official position in a week or so.

The PEPC proposal introduces a new HTML element (<permission>) to integrate permission requests into webpages. While promising, several concerns arise, categorized as follows:

Complexity

Device Independence

Duplication

Internationalization

Maintenance

Portability

Usability

While the PEPC proposal aims to address certain limitations of the current web permission model, it introduces new challenges in terms of complexity, device independence, duplication, internationalization, maintenance, portability, and usability. We are also concerned about adding yet another mechanism for requesting permission to use a powerful feature, which is something that has been rejected in the past by several browser vendors (i.e., this looks a lot like a markup equivalent to permissions.request()).

We instead suggests that we collaborate on an evolutionary approach by focusing on enhancing the existing permission request model of the web, addressing permission spam issues in specific APIs (like Notifications and Geolocation), and exploring enhancements to HTML’s user activation model.

Position summary

Given the above, we are "opposed" to this proposal as it currently stands, but would like to continue to collaborate on a solution.