[whatwg] [Notifications] Behavior of Notification.requestPermission in workers

2014-07-28 Thread Peter Beverloo
Since the entire Notification object is exposed both on window and in workers, I'd like some clarification on the intended behavior of Notification.requestPermission() when called in the background. http://notifications.spec.whatwg.org/#dom-notification-requestpermission Some options: (1)

Re: [whatwg] [Notifications] Behavior of Notification.requestPermission in workers

2014-07-28 Thread Anne van Kesteren
On Mon, Jul 28, 2014 at 6:55 PM, Peter Beverloo bever...@google.com wrote: Any opinions? I prefer (4), add [Exposed=Window]. -- http://annevankesteren.nl/

Re: [whatwg] [Notifications] Behavior of Notification.requestPermission in workers

2014-07-28 Thread Peter Beverloo
That'd work for me too. Peter On Mon, Jul 28, 2014 at 1:00 PM, Anne van Kesteren ann...@annevk.nl wrote: On Mon, Jul 28, 2014 at 6:55 PM, Peter Beverloo bever...@google.com wrote: Any opinions? I prefer (4), add [Exposed=Window]. -- http://annevankesteren.nl/