Re: [whatwg] The behaviour of Notification.requestPermission() in Workers

On Thu, Oct 24, 2013 at 12:46 PM, Tobie Langel <> wrote:
> On Thursday, October 24, 2013 at 11:05 AM, Anne van Kesteren wrote:
>> Given that Notificaiton.permission exists, I'm not sure what the
>> additional value of Notification.requestPermission() in a worker
>> context would be.
> Portability of code between worker and non worker?

The code that is portable will remain portable. The code that only
works in one context cannot be ported. Seems fine. In particular
Notification.requestPermission() will be part of a UI-flow that has no
business in a worker.


Received on Thursday, 24 October 2013 13:16:19 UTC