W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2014

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

From: Anne van Kesteren <annevk@annevk.nl>
Date: Sun, 24 Aug 2014 08:53:40 +0200
Message-ID: <CADnb78jPFrLWdKN0Q3dReJrJqHVAEFYCfkWHLywqJ5JbEHPeww@mail.gmail.com>
To: Olli Pettay <olli@pettay.fi>
Cc: whatwg <whatwg@whatwg.org>, atwilson@chromium.org
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

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

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