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

Issue 673783003: BrowserTest for delivering push message to service worker. (Closed)

Created:
6 years, 2 months ago by Michael van Ouwerkerk
Modified:
6 years, 1 month ago
Reviewers:
*Peter Beverloo, *fgorski
CC:
chromium-reviews, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@PushIntegrationTest2
Project:
chromium
Visibility:
Public.

Description

BrowserTest for delivering push message to service worker. BUG=350377 Committed: https://crrev.com/092dc8bd2de3286a5b13893493e173be2578110d Cr-Commit-Position: refs/heads/master@{#301376}

Patch Set 1 #

Patch Set 2 : Minor cleanups. #

Total comments: 4

Patch Set 3 : Use generic data requesting class in js. #

Total comments: 16

Patch Set 4 : Rebase, address review comments. #

Total comments: 6

Patch Set 5 : Break long line. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -33 lines) Patch
M chrome/browser/services/gcm/push_messaging_browsertest.cc View 1 2 3 5 chunks +59 lines, -24 lines 0 comments Download
M chrome/test/data/push_messaging/service_worker.js View 1 2 3 1 chunk +16 lines, -2 lines 0 comments Download
M chrome/test/data/push_messaging/test.html View 1 2 3 4 2 chunks +58 lines, -7 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
Michael van Ouwerkerk
Peter: please take a look at the whole patch.
6 years, 2 months ago (2014-10-23 13:54:49 UTC) #2
Michael van Ouwerkerk
Filip: please review the gcm bits.
6 years, 2 months ago (2014-10-23 16:09:02 UTC) #6
fgorski
I am a little worried by the way the test is implemented. https://codereview.chromium.org/673783003/diff/20001/chrome/test/data/push_messaging/test.html File chrome/test/data/push_messaging/test.html ...
6 years, 2 months ago (2014-10-23 16:29:51 UTC) #7
Michael van Ouwerkerk
Thanks Filip! Not sure this is what you were looking for, but please take another ...
6 years, 2 months ago (2014-10-23 16:39:52 UTC) #8
Michael van Ouwerkerk
Filip: since you seemed concerned, I've added an generic js class for requesting data that ...
6 years, 2 months ago (2014-10-24 14:31:05 UTC) #9
Peter Beverloo
https://codereview.chromium.org/673783003/diff/40001/chrome/test/data/push_messaging/service_worker.js File chrome/test/data/push_messaging/service_worker.js (right): https://codereview.chromium.org/673783003/diff/40001/chrome/test/data/push_messaging/service_worker.js#newcode5 chrome/test/data/push_messaging/service_worker.js:5: this.onmessage = function(event) { This doesn't seem to be ...
6 years, 2 months ago (2014-10-24 14:54:58 UTC) #10
fgorski
lgtm, but please address comments form Peter. Also, I like the solution to the polling ...
6 years, 2 months ago (2014-10-24 17:09:24 UTC) #11
fgorski
Update to one of my comments. https://codereview.chromium.org/673783003/diff/40001/chrome/browser/services/gcm/push_messaging_browsertest.cc File chrome/browser/services/gcm/push_messaging_browsertest.cc (right): https://codereview.chromium.org/673783003/diff/40001/chrome/browser/services/gcm/push_messaging_browsertest.cc#newcode182 chrome/browser/services/gcm/push_messaging_browsertest.cc:182: message.data = {{"data", ...
6 years, 2 months ago (2014-10-24 21:53:49 UTC) #12
Michael van Ouwerkerk
Thanks for the reviews! Peter: please take another look. https://codereview.chromium.org/673783003/diff/40001/chrome/browser/services/gcm/push_messaging_browsertest.cc File chrome/browser/services/gcm/push_messaging_browsertest.cc (right): https://codereview.chromium.org/673783003/diff/40001/chrome/browser/services/gcm/push_messaging_browsertest.cc#newcode182 chrome/browser/services/gcm/push_messaging_browsertest.cc:182: ...
6 years, 1 month ago (2014-10-27 15:14:30 UTC) #13
Peter Beverloo
lgtm https://codereview.chromium.org/673783003/diff/60001/chrome/test/data/push_messaging/test.html File chrome/test/data/push_messaging/test.html (right): https://codereview.chromium.org/673783003/diff/60001/chrome/test/data/push_messaging/test.html#newcode34 chrome/test/data/push_messaging/test.html:34: if (this.data) { Maybe strict check on === ...
6 years, 1 month ago (2014-10-27 15:20:49 UTC) #14
Michael van Ouwerkerk
Thanks! https://codereview.chromium.org/673783003/diff/60001/chrome/test/data/push_messaging/test.html File chrome/test/data/push_messaging/test.html (right): https://codereview.chromium.org/673783003/diff/60001/chrome/test/data/push_messaging/test.html#newcode34 chrome/test/data/push_messaging/test.html:34: if (this.data) { On 2014/10/27 15:20:49, Peter Beverloo ...
6 years, 1 month ago (2014-10-27 15:27:18 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/673783003/80001
6 years, 1 month ago (2014-10-27 15:29:06 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
6 years, 1 month ago (2014-10-27 16:27:10 UTC) #18
commit-bot: I haz the power
6 years, 1 month ago (2014-10-27 16:27:55 UTC) #19
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/092dc8bd2de3286a5b13893493e173be2578110d
Cr-Commit-Position: refs/heads/master@{#301376}

Powered by Google App Engine
This is Rietveld 408576698