Re: Request for comments: Permission Delegation to Iframes

On Wed, Mar 16, 2016 at 3:54 PM, Chris Palmer <> wrote:

> On Wed, Mar 16, 2016 at 7:24 AM, Richard Barnes <>
> wrote:
> Do we even need an API here?  It seems like you could achieve the same
>> effect with less back-and-forth / code changes by stipulating that
>> permissions requested from iframe are only valid in the scope of the
>> top-level page.  That might make some iframed stuff sad, but you could
>> still get full cross-site-usable permissions if you get users to visit your
>> site.
> There would still be the situation that an embedee could cause a bad
> experience for a person who is using the embedder origin, by requesting
> lots of permissions. This is annoying, causes permission request fatigue,
> and reflects badly on the embedder (since we believe, on evidence, that
> people only perceive the embedder).

This seems like something for the market to sort out (i.e., don't use
annoying embeds), rather than a compelling reason to build an API.

And it's not clear to me that the proposed API does much for this problem.
It seems like you would have to say that using permission="..." would
disable prompts for permissions not on that list, i.e., that you can't mix
and match delegated with traditional permissions.  Which of course also has
its own transition issues.


> I admit that this doesn't have a great transition story.  Do you have any
>> telemetry on how often permissions-requesting things are used from
>> iframes?  That will bound our ability to do stuff in any case.
> See the Usage section in
> the good news is that usage from cross-origin iframes is low, so we have a
> chance now to get this right before we have a large installed base of
> iframes depending on being able to ask for permissions. It's not 0, but
> it's not yet high.

Received on Wednesday, 16 March 2016 20:03:24 UTC