|
|
Chromium Code Reviews|
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. |
DescriptionFix 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 #Messages
Total messages: 18 (11 generated)
awdf@chromium.org changed reviewers: + johnme@chromium.org
As noticed when debugging with johnme@! Decided to put this in a separate cl as it's kinda unrelated.
The CQ bit was checked by awdf@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from ========== 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= ========== to ========== 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= ==========
awdf@chromium.org changed reviewers: + peter@chromium.org - johnme@chromium.org
+peter@ for review It might be nice to get this in before https://codereview.chromium.org/2452833004 un-suppresses the PushMessagingBrowserTests for chromeOS & linux. It also blocks https://bugs.chromium.org/p/chromium/issues/detail?id=659230 right now
lgtm https://codereview.chromium.org/2449963002/diff/1/chrome/test/data/push_messa... File chrome/test/data/push_messaging/service_worker.js (right): https://codereview.chromium.org/2449963002/diff/1/chrome/test/data/push_messa... chrome/test/data/push_messaging/service_worker.js:47: userVisibleOnly: true nit: please use 4 space indent for dictionary values. May also want to s/var/let/ while you're here.
https://codereview.chromium.org/2449963002/diff/1/chrome/test/data/push_messa... File chrome/test/data/push_messaging/service_worker.js (right): https://codereview.chromium.org/2449963002/diff/1/chrome/test/data/push_messa... chrome/test/data/push_messaging/service_worker.js:47: userVisibleOnly: true On 2016/10/27 17:17:59, Peter Beverloo wrote: > nit: please use 4 space indent for dictionary values. May also want to > s/var/let/ while you're here. Done.
The CQ bit was checked by awdf@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from peter@chromium.org Link to the patchset: https://codereview.chromium.org/2449963002/#ps20001 (title: "Fix bug in sw push tests: stop caching subscription options between messages")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== 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= ========== to ========== 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= ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== 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= ========== to ========== 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} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/db15f2e4e890234356aaa82befafb0efb917cd20 Cr-Commit-Position: refs/heads/master@{#428108} |
