W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2013

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

From: Anne van Kesteren <annevk@annevk.nl>
Date: Thu, 24 Oct 2013 14:15:48 +0100
Message-ID: <CADnb78inpjCpa8LvM0dheqfGCBA355x1iOp0SfvsbOWgyjNmRw@mail.gmail.com>
To: Tobie Langel <tobie.langel@gmail.com>
Cc: WHATWG <whatwg@whatwg.org>, Nikhil Marathe <nsm.nikhil@gmail.com>
On Thu, Oct 24, 2013 at 12:46 PM, Tobie Langel <tobie.langel@gmail.com> 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.


-- 
http://annevankesteren.nl/
Received on Thursday, 24 October 2013 13:16:19 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:12 UTC