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

Issue 2449963002: Fix bug in service worker push tests: don't cache subscription options (Closed)

Created:
4 years, 1 month ago by awdf
Modified:
4 years, 1 month ago
Reviewers:
Peter Beverloo
CC:
chromium-reviews, Peter Beverloo, johnme+watch_chromium.org, harkness+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix bug in service worker push tests: don't cache subscription options - This bug meant that calling workerSubscribeNoKey after workerSubscribe would actually subscribe with the cached key instead of no key. - This meant that some tests in PushMessagingBrowserTest were not testing exactly what they intended to test, prior to this patch. BUG= Committed: https://crrev.com/db15f2e4e890234356aaa82befafb0efb917cd20 Cr-Commit-Position: refs/heads/master@{#428108}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix bug in sw push tests: stop caching subscription options between messages #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -4 lines) Patch
M chrome/test/data/push_messaging/service_worker.js View 1 2 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
awdf
As noticed when debugging with johnme@! Decided to put this in a separate cl as ...
4 years, 1 month ago (2016-10-25 15:56:25 UTC) #2
awdf
+peter@ for review It might be nice to get this in before https://codereview.chromium.org/2452833004 un-suppresses the ...
4 years, 1 month ago (2016-10-27 17:08:41 UTC) #9
Peter Beverloo
lgtm https://codereview.chromium.org/2449963002/diff/1/chrome/test/data/push_messaging/service_worker.js File chrome/test/data/push_messaging/service_worker.js (right): https://codereview.chromium.org/2449963002/diff/1/chrome/test/data/push_messaging/service_worker.js#newcode47 chrome/test/data/push_messaging/service_worker.js:47: userVisibleOnly: true nit: please use 4 space indent ...
4 years, 1 month ago (2016-10-27 17:17:59 UTC) #10
awdf
https://codereview.chromium.org/2449963002/diff/1/chrome/test/data/push_messaging/service_worker.js File chrome/test/data/push_messaging/service_worker.js (right): https://codereview.chromium.org/2449963002/diff/1/chrome/test/data/push_messaging/service_worker.js#newcode47 chrome/test/data/push_messaging/service_worker.js:47: userVisibleOnly: true On 2016/10/27 17:17:59, Peter Beverloo wrote: > ...
4 years, 1 month ago (2016-10-27 17:34:39 UTC) #11
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/2449963002/20001
4 years, 1 month ago (2016-10-27 17:35:10 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-10-27 19:21:12 UTC) #16
commit-bot: I haz the power
4 years, 1 month ago (2016-10-27 19:32:46 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/db15f2e4e890234356aaa82befafb0efb917cd20
Cr-Commit-Position: refs/heads/master@{#428108}

Powered by Google App Engine
This is Rietveld 408576698