Re: [whatwg] Notifications and service workers

On Mon, Oct 6, 2014 at 9:06 PM, Jonas Sicking <jonas@sicking.cc> wrote:
> I think we should define that non-persistent notifications disappear
> after a timeout. And define that on mobile platforms with
> "notification centers", that these notifications are *not* added
> there, but rather is just displayed on screen for a short period of
> time.

Done: https://notifications.spec.whatwg.org/#lifetime-and-ui-integration


> I also think that we should define that for persistent notifications,
> that these *are* added to mobile "notification centers".

Done (same link).


> I also think that we should define that clicking a non-permanent
> should as default action focus the window which created the
> notification. We should also define that during the "click" event the
> browser is encouraged to allow calls to window.focus() to, work. Even
> in UAs which have restrictive policies about when window.focus() is
> honored.

Done: https://notifications.spec.whatwg.org/#activating-a-notification


-- 
https://annevankesteren.nl/

Received on Wednesday, 8 October 2014 14:11:30 UTC