[Webkit-unassigned] [Bug 61140] [GTK] Add HTML5 Notifications support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 21 11:27:57 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=61140





--- Comment #18 from Xan Lopez <xan.lopez at gmail.com>  2011-06-21 11:27:56 PST ---
OK, after reading a bit about this, this is what I think would be a reasonable design for it:

- The permission bits would go in the WebView, as signals, to keep things consistent with what we have.

- There's one extra signal when the WebView wants to show a particular notification. The UA can connect to this and do whatever it wants with it.

- We have a notification object with all the data bits and two signals, show and cancel. This is the DOM object defined in the spec and available in our GObject bindings if we enable it (I don't think we are doing this now).

Also all the mentions to JavaScript in the doc are wrong, this is not directly related to JS other than JS being the default language to access the DOM from browsers.

This is mostly from reading http://www.w3.org/TR/notifications/#bib-PERMISSIONS and the suggested patch.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list