Code review comment for lp:~uriboni/webbrowser-app/media-access

Revision history for this message
Ugo Riboni (uriboni) wrote :

> I don’t think holding up the request until the tab is focused is a good idea.
> Can you check how other mobile browsers behave in that regard? I would expect
> they either discard the request right away, or focus the tab that issues the
> request to make the user aware of the request.

Both firefox and chrome do something similar to what I suggested: they do nothing, and when you switch to the tab that has requested permission they pop up an authorization request. So it seems that internally, they are actually "holding" on to the request until the user has a chance to decide. However I don't think we can do that with the current implementation of Oxide.

« Back to merge proposal