DescriptionAdd data property in persistent web notification
When creating a persistent notification from ServiceWorker, the
specification defines a "data" attribute that authors can use to store
arbitrary, serializable content in.
For storing arbitrary, serialized data should be sent to chromium.
And chromium will store this data.
Afterward, this data will be return when onnotificationclick event is fired.
There is no way to test about notification.data in persistent notification, since chromium doesn't support to store this data now.
The Web Notification specification:
https://notifications.spec.whatwg.org/#dom-notification-data
BUG=442129, 467812
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191976
Patch Set 1 #
Total comments: 1
Patch Set 2 : #
Total comments: 4
Patch Set 3 : #
Total comments: 7
Patch Set 4 : #
Total comments: 1
Patch Set 5 : #
Messages
Total messages: 23 (10 generated)
|