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

Re: Web Notifications, do we need a new spec?

From: John Gregg <johnnyg@google.com>
Date: Mon, 19 Oct 2009 14:12:26 -0700
Message-ID: <5ce7a0db0910191412s55e0c178hf6c352bcd7784922@mail.gmail.com>
To: Marcos Caceres <marcosc@opera.com>
Cc: ifette@google.com, Jeremy Orlow <jorlow@chromium.org>, public-webapps <public-webapps@w3.org>, Drew Wilson <atwilson@google.com>
Apologies for the delay, I've been spending the majority of my time
completing the initial implementation for Chrome, but I've posted a draft
version of a spec for notifications to
http://sites.google.com/a/chromium.org/dev/developers/design-documents/desktop-notifications/api-specification

I think that's a good starting point for formalizing it.

This specification simplifies some of the notions of the widget spec (such
as, is it necessary to bring the notifying context into view when a
notification is generated?; i prefer they be passive).  It is also more
general in other areas (such as allowing more event handlers), so if there
are specific requirements there we may need to come to consensus.

 -John

2009/9/7 Marcos Caceres <marcosc@opera.com>

>
>
> John Gregg wrote:
> > Hi Marcos,
> >
> > I'm doing the implementation for Chromium so I'm pretty familiar with
> > notifications. Although I'm fairly new to the process, I would be happy
> > to volunteer to help, since I would definitely like to see a new
> > notifications spec come together.
>
> Great! Basically, we just need a plain-text brain-dump from you about
> how your implementation works and what the APIs. That should be
> sufficient as a starting point to get the ball rolling. As I've got some
> experience writing W3C specs, I'm happy to help co-edit.
>
> Before starting on an actual spec, the parts we need are:
>
> Requirements:
>   a simple list of what the requirements are.
>   (e.g., there must be a means to request the user's attention.)
>
> APIs: some IDL (or pseudo code) and a brief description of each of the
> attribute or method.
>
> A description of how you envision notifications play with HTML5's
> browsing contexts/origin.
>
> You might also look at what we originally had in the widget spec (search
> for "The showNotification()  Method" and "The getAttention() Method"):
>
>
> http://dev.w3.org/cvsweb/~checkout~/2006/waf/widgets-api/Overview.src.html?rev=1.87&content-type=text/html;%20charset=iso-8859-1
>
> showNotification() was based on some old HTML5 text, which was removed
> about a year ago. Anyway, please let us know if you need anything else,
> and we look forward your input! :D
>
> Kind regards,
> Marcos
>
Received on Monday, 19 October 2009 21:12:59 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:34 GMT