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

Issue 686133003: Reject push registrations when no sender Id has been provided. (Closed)

Created:
6 years, 1 month ago by Peter Beverloo
Modified:
6 years, 1 month ago
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, jam, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Reject push registrations when no sender Id has been provided. We require this because of the underlying GCM implementation. The sender Id can be provided through a manifest (which the browser tests uses already). Make sure that the registration request is rejected with a descriptive error if none has been provided. BUG=428277 Committed: https://crrev.com/aeeaf1b32fe3c04bc8a62c6f046158a6984f89ef Cr-Commit-Position: refs/heads/master@{#301942}

Patch Set 1 #

Total comments: 4

Patch Set 2 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -4 lines) Patch
M chrome/browser/services/gcm/push_messaging_browsertest.cc View 1 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/test/data/push_messaging/test.html View 1 1 chunk +9 lines, -0 lines 0 comments Download
M content/public/common/push_messaging_status.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M content/public/common/push_messaging_status.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/push_messaging_dispatcher.cc View 1 chunk +9 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Peter Beverloo
+mvanouwerkerk for Push +fgorski for OWNERS
6 years, 1 month ago (2014-10-29 13:42:29 UTC) #2
Michael van Ouwerkerk
Thanks Peter! lgtm with nits https://codereview.chromium.org/686133003/diff/1/chrome/test/data/push_messaging/test.html File chrome/test/data/push_messaging/test.html (right): https://codereview.chromium.org/686133003/diff/1/chrome/test/data/push_messaging/test.html#newcode62 chrome/test/data/push_messaging/test.html:62: sendResultToTest('ok'); Please be more ...
6 years, 1 month ago (2014-10-29 13:53:18 UTC) #3
Peter Beverloo
Done. Thanks Michael! +jam for content/ stamp. https://codereview.chromium.org/686133003/diff/1/chrome/test/data/push_messaging/test.html File chrome/test/data/push_messaging/test.html (right): https://codereview.chromium.org/686133003/diff/1/chrome/test/data/push_messaging/test.html#newcode62 chrome/test/data/push_messaging/test.html:62: sendResultToTest('ok'); On ...
6 years, 1 month ago (2014-10-29 13:56:24 UTC) #5
fgorski
gcm lgtm
6 years, 1 month ago (2014-10-29 16:04:18 UTC) #6
jam
rerouting to Avi
6 years, 1 month ago (2014-10-29 20:06:27 UTC) #8
Avi (use Gerrit)
lgtm stamp
6 years, 1 month ago (2014-10-29 20:26:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/686133003/20001
6 years, 1 month ago (2014-10-29 20:47:33 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 1 month ago (2014-10-29 21:47:34 UTC) #12
commit-bot: I haz the power
6 years, 1 month ago (2014-10-29 21:48:27 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/aeeaf1b32fe3c04bc8a62c6f046158a6984f89ef
Cr-Commit-Position: refs/heads/master@{#301942}

Powered by Google App Engine
This is Rietveld 408576698