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

Issue 2511133003: Revert of Handle push resubscribes with no sender info (avoids DCHECK) (Closed)

Created:
4 years, 1 month ago by jennyz
Modified:
4 years, 1 month ago
Reviewers:
CC:
chromium-reviews
Target Ref:
refs/pending/branch-heads/2883
Project:
chromium
Visibility:
Public.

Description

Revert of Handle push resubscribes with no sender info (avoids DCHECK) (patchset #2 id:20001 of https://codereview.chromium.org/2487233002/ ) Reason for revert: https://uberchromegw.corp.google.com/i/chromeos.chrome/builders/Linux%20ChromeOS%20Buildspec%20Tests/builds/1007 Original issue's description: > Handle push resubscribes with no sender info (avoids DCHECK) > > - Prior to this patch you would fail a DCHECK if you called > PushManager.subscribe() with a sender id or key and then > PushManager.subscribe() without a sender id or key. > > - This fixes that and only allows resubscribing with no sender info > when the original subscribe was made with a gcm_sender_id. > Otherwise we throw an AbortError - no key provided. > > BUG=659230 > > Review-Url: https://codereview.chromium.org/2469293002 > Cr-Commit-Position: refs/heads/master@{#430601} > (cherry picked from commit d8e7aa32e6e15b1ce0cde3a6ccf878fb16ffc816) > > Committed: https://chromium.googlesource.com/chromium/src/+/bd071b0aaa4d50bb0cd48becbd108fa87802c728 TBR=harkness@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=659230 NOTRY=true NOPRESUBMIT=true TBR=harkness@chromium.org

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -336 lines) Patch
M chrome/browser/push_messaging/push_messaging_browsertest.cc View 5 chunks +32 lines, -252 lines 0 comments Download
M chrome/test/data/push_messaging/push_test.js View 2 chunks +1 line, -20 lines 0 comments Download
M chrome/test/data/push_messaging/service_worker.js View 1 chunk +0 lines, -3 lines 0 comments Download
D chrome/test/data/push_messaging/test_no_manifest.html View 1 chunk +0 lines, -12 lines 0 comments Download
M content/browser/push_messaging/push_messaging_message_filter.cc View 4 chunks +12 lines, -49 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
jennyz
Created Revert of Handle push resubscribes with no sender info (avoids DCHECK)
4 years, 1 month ago (2016-11-18 00:09:13 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2511133003/1
4 years, 1 month ago (2016-11-18 00:10:44 UTC) #3
commit-bot: I haz the power
CLs for remote refs other than refs/pending/heads/master must contain NOTRY=true and NOPRESUBMIT=true in order for ...
4 years, 1 month ago (2016-11-18 00:10:45 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2511133003/1
4 years, 1 month ago (2016-11-18 00:14:21 UTC) #8
commit-bot: I haz the power
Failed to apply the patch.
4 years, 1 month ago (2016-11-18 00:19:04 UTC) #10
jennyz
4 years, 1 month ago (2016-11-18 07:20:08 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2511133003/1
4 years, 1 month ago (2016-11-18 07:20:26 UTC) #15
commit-bot: I haz the power
4 years, 1 month ago (2016-11-18 07:23:29 UTC) #17
Message was sent while issue was closed.
Committed patchset #1 (id:1)

Powered by Google App Engine
This is Rietveld 408576698