Stop passing the origin in the GetPermissionStatus() call for notifications
We can make the browser process authoritative by having the interface request be routed through RendererInterfaceBinders. A consequence of this is that we no longer will be able to establish a connection after the context is destroyed. That's fine, but leads to a minor change in behaviour: when calling Notification.permission from a detached context, it will now always return "denied". Other features tend to reject the promise in this situation, but we don't have one of those. Throwing when accessing the property will definitely have (bad) side effects. Bug: 595685 Change-Id: I51b988cedabd0689bb118a3d841a6864eb64a24a Reviewed-on: https://chromium-review.googlesource.com/791550 Commit-Queue: Peter Beverloo <peter@chromium.org> Reviewed-by:Avi Drissman <avi@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Reviewed-by:
Mike West <mkwst@chromium.org> Cr-Commit-Position: refs/heads/master@{#519820}
Showing
Please register or sign in to comment