Re: [whatwg] Notification's click event should be cancelable

On Fri, Aug 15, 2014 at 2:38 PM, Olli Pettay <olli@pettay.fi> wrote:
> in order to prevent whatever default action Notification's click event has
> (for example focus the tab which initiated the Notification), the click
> event
> should be cancelable so that .preventDefault() can be called.
>
> Some background
> https://bugzilla.mozilla.org/show_bug.cgi?id=874050&mark=25-26#c25
> https://bugzilla.mozilla.org/show_bug.cgi?id=1009190#c0

Given that a single notification can be represented by many
Notification objects, what kind of semantics are you expecting? A
single listener setting the canceled flag causing any action to not be
done?


-- 
http://annevankesteren.nl/

Received on Sunday, 24 August 2014 06:54:05 UTC