Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Issue 1005353002: Add data property in persistent web notification (Closed)

Created:
5 years, 9 months ago by Sanghyun Park
Modified:
5 years, 9 months ago
CC:
blink-reviews, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Add 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 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -5 lines) Patch
M Source/modules/notifications/Notification.cpp View 1 2 3 3 chunks +11 lines, -1 line 0 comments Download
M Source/modules/notifications/ServiceWorkerRegistrationNotifications.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp View 1 4 chunks +14 lines, -2 lines 0 comments Download
M Source/modules/notifications/ServiceWorkerRegistrationNotifications.idl View 1 chunk +1 line, -1 line 0 comments Download
M public/platform/modules/notifications/WebNotificationData.h View 1 2 3 4 3 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
Sanghyun Park
This patch is for persistent web notification. Please refer the below comment. Thanks. https://codereview.chromium.org/1005353002/diff/1/public/platform/modules/notifications/WebNotificationData.h File ...
5 years, 9 months ago (2015-03-15 14:23:55 UTC) #3
Peter Beverloo
Thanks! lgtm % the following comments. I've launched some try-bots as well. What's the plan ...
5 years, 9 months ago (2015-03-15 16:25:05 UTC) #4
Sanghyun Park
On 2015/03/15 16:25:05, Peter Beverloo wrote: > Thanks! > > lgtm % the following comments. ...
5 years, 9 months ago (2015-03-15 17:44:22 UTC) #5
Sanghyun Park
Thanks for review. I'll fix about these https://codereview.chromium.org/1005353002/diff/20001/Source/modules/notifications/Notification.cpp File Source/modules/notifications/Notification.cpp (right): https://codereview.chromium.org/1005353002/diff/20001/Source/modules/notifications/Notification.cpp#newcode172 Source/modules/notifications/Notification.cpp:172: // No ...
5 years, 9 months ago (2015-03-15 17:45:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1005353002/60001
5 years, 9 months ago (2015-03-15 18:07:46 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_chromium_gn_rel/builds/29451)
5 years, 9 months ago (2015-03-15 18:55:13 UTC) #12
Peter Beverloo
Two optional nits and one comment - nothing serious :) https://codereview.chromium.org/1005353002/diff/60001/Source/modules/notifications/Notification.cpp File Source/modules/notifications/Notification.cpp (right): https://codereview.chromium.org/1005353002/diff/60001/Source/modules/notifications/Notification.cpp#newcode172 ...
5 years, 9 months ago (2015-03-15 22:35:04 UTC) #13
Sanghyun Park
Thank you for review. https://codereview.chromium.org/1005353002/diff/60001/Source/modules/notifications/Notification.cpp File Source/modules/notifications/Notification.cpp (right): https://codereview.chromium.org/1005353002/diff/60001/Source/modules/notifications/Notification.cpp#newcode172 Source/modules/notifications/Notification.cpp:172: // No send data property ...
5 years, 9 months ago (2015-03-16 00:00:21 UTC) #14
Sanghyun Park
Dear Peter. I uploaded new patch. Would you review this again?
5 years, 9 months ago (2015-03-16 06:33:49 UTC) #16
Peter Beverloo
Please mention the bug you filed for testing this feature in the CL description (in ...
5 years, 9 months ago (2015-03-16 11:19:30 UTC) #18
Sanghyun Park
Thanks :) On 2015/03/16 11:19:30, Peter Beverloo wrote: > Please mention the bug you filed ...
5 years, 9 months ago (2015-03-16 12:09:35 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1005353002/120001
5 years, 9 months ago (2015-03-17 03:11:11 UTC) #22
commit-bot: I haz the power
5 years, 9 months ago (2015-03-17 04:58:59 UTC) #23
Message was sent while issue was closed.
Committed patchset #5 (id:120001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=191976

Powered by Google App Engine
This is Rietveld 408576698