W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2010

Re: Notifications

From: Jonas Sicking <jonas@sicking.cc>
Date: Wed, 10 Feb 2010 15:22:24 -0800
Message-ID: <63df84f1002101522ief1cbecldd3f75e8e26b919@mail.gmail.com>
To: Drew Wilson <atwilson@google.com>
Cc: robert@ocallahan.org, Henri Sivonen <hsivonen@iki.fi>, John Gregg <johnnyg@google.com>, Olli@pettay.fi, public-webapps <public-webapps@w3.org>
On Wed, Feb 10, 2010 at 3:03 PM, Drew Wilson <atwilson@google.com> wrote:
> On Wed, Feb 10, 2010 at 2:33 PM, Robert O'Callahan <robert@ocallahan.org>
> wrote:
>> On Thu, Feb 11, 2010 at 11:10 AM, Drew Wilson <atwilson@google.com> wrote:
>>> One of the suggestions made previously on this thread was to coalesce
>>> createNotification() and createHTMLNotification() into a single API with an
>>> optional HTML parameter - this would allow UAs on systems with
>>> Growl/NotifyOSD to ignore the HTML parameter passed in, and only display the
>>> text + icon information through the appropriate system framework. This also
>>> addresses concerns expressed on WHATWG that platforms that don't support
>>> createHTMLNotification() would break the web because web applications would
>>> fail to check for the existence of HTML support before calling these APIs -
>>> UAs would always have a useful fallback.
>> The problem with that is that authors who test with a system that supports
>> HTML notifications could easily provide the wrong non-HTML message, or no
>> message at all, and not notice. It also forces authors to say things twice.
> Analogously, developers can (and do!) create pages that rely on javascript
> or images being enabled, which break if a UA does not support them. I would
> not use this as an argument against UAs supporting Javascript or images.

This has indeed lead to that any browser that wants to get a
significant user base, or wants to be able to browse a significant
part of the web has to implement a Javascript engine and the DOM.

The argument is that the same thing would happen here. Every browser
would have to implement support for HTML notifications. I.e. calling
it "optional" will likely only be true in theory after a while.

/ Jonas
Received on Wednesday, 10 February 2010 23:23:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:05 UTC