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

Issue 1237673002: Introduce the PushSubscription.curve25519dh attribute (3/3) (Closed)

Created:
5 years, 5 months ago by Peter Beverloo
Modified:
5 years, 5 months ago
CC:
blink-reviews, peter+watch_chromium.org, mvanouwerkerk+watch_chromium.org, dglazkov+blink, johnme+watch_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Introduce the PushSubscription.curve25519dh attribute (3/3) This CL introduces the actual curve25519dh attribute (guarded behind the PushMessagingData runtime flag), exposing the ECDH encryption key associated with the subscription. This will still be an empty buffer for non-layout test usages. This CL is part of a three-sided patch: [1] https://codereview.chromium.org/1222903007 [2] https://codereview.chromium.org/1210283005 [3] This CL. BUG=486040 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198949

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -12 lines) Patch
A LayoutTests/http/tests/push_messaging/subscribe-encryption-public-key.html View 1 1 chunk +60 lines, -0 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/push_messaging/PushSubscription.h View 3 chunks +8 lines, -1 line 0 comments Download
M Source/modules/push_messaging/PushSubscription.cpp View 4 chunks +12 lines, -3 lines 0 comments Download
M Source/modules/push_messaging/PushSubscription.idl View 1 chunk +2 lines, -0 lines 0 comments Download
M public/platform/modules/push_messaging/WebPushSubscription.h View 1 1 chunk +1 line, -8 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
Peter Beverloo
+Michaël
5 years, 5 months ago (2015-07-13 13:57:26 UTC) #2
johnme
https://codereview.chromium.org/1237673002/diff/1/LayoutTests/http/tests/push_messaging/subscribe-encryption-public-key.html File LayoutTests/http/tests/push_messaging/subscribe-encryption-public-key.html (right): https://codereview.chromium.org/1237673002/diff/1/LayoutTests/http/tests/push_messaging/subscribe-encryption-public-key.html#newcode46 LayoutTests/http/tests/push_messaging/subscribe-encryption-public-key.html:46: assert_equals(pushSubscription.curve25519dh.byteLength, Seems you might as well add whichever of ...
5 years, 5 months ago (2015-07-14 16:49:50 UTC) #4
Peter Beverloo
Thanks! https://codereview.chromium.org/1237673002/diff/1/LayoutTests/http/tests/push_messaging/subscribe-encryption-public-key.html File LayoutTests/http/tests/push_messaging/subscribe-encryption-public-key.html (right): https://codereview.chromium.org/1237673002/diff/1/LayoutTests/http/tests/push_messaging/subscribe-encryption-public-key.html#newcode46 LayoutTests/http/tests/push_messaging/subscribe-encryption-public-key.html:46: assert_equals(pushSubscription.curve25519dh.byteLength, On 2015/07/14 16:49:50, johnme wrote: > Seems ...
5 years, 5 months ago (2015-07-14 17:06:06 UTC) #5
johnme
lgtm
5 years, 5 months ago (2015-07-14 17:45:14 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1237673002/40001
5 years, 5 months ago (2015-07-15 09:58:42 UTC) #9
commit-bot: I haz the power
5 years, 5 months ago (2015-07-15 11:11:07 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=198949

Powered by Google App Engine
This is Rietveld 408576698