W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2014

RE: Service worker popup (rich notification)

From: Domenic Denicola <domenic@domenicdenicola.com>
Date: Mon, 6 Oct 2014 13:46:07 +0000
To: Anne van Kesteren <annevk@annevk.nl>, John Mellor <johnme@google.com>
CC: WebApps WG <public-webapps@w3.org>
Message-ID: <82172a1737e145f19df314a4c50c7183@BN1PR05MB325.namprd05.prod.outlook.com>
From: annevankesteren@gmail.com [mailto:annevankesteren@gmail.com] On Behalf Of Anne van Kesteren

> Constructing an object as a means of opening a new window seems really weird. Is that the pattern common JavaScript widget libraries adopt?

Says the creator of `new Notification({...})` ;)

But, I think the answer to your question is indeed yes. It's good to have an object representing the new window, that you can manipulate (e.g. call a `.close()` method on, or send messages to).

That said, I can't think of any examples off the top of my head, so I might be wrong :(
Received on Monday, 6 October 2014 13:46:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:31 UTC