Chromium Code Reviews
DescriptionHandle 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
Patch Set 1 #Patch Set 2 : Handle push resubscribes with no sender info (avoids DCHECK) #
Messages
Total messages: 3 (1 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||