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

Issue 1160253004: BackgroundSync sync events need to be ExtendableEvents, content browser tests (Closed)

Created:
5 years, 6 months ago by chasej
Modified:
5 years, 6 months ago
Reviewers:
michaeln, jkarlin
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, maxbogue+watch_chromium.org, zea+watch_chromium.org, tzik, serviceworker-reviews, jam, nhiroki, plaree+watch_chromium.org, darin-cc_chromium.org, pvalenzuela+watch_chromium.org, horo+watch_chromium.org, kinuko+serviceworker, kinuko+watch, tim+watch_chromium.org, jkarlin+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@486890-syncevent
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

BackgroundSync sync events need to be ExtendableEvents, content browser tests This is part of a series of patches to correctly fire the Sync event as an ExtendableEvent, instead of a regular Event [1/4] https://codereview.chromium.org/1162243003/, content side fix [2/4] https://codereview.chromium.org/1148293011/, blink side fix [3/4] This patch, content browser tests [4/4] https://codereview.chromium.org/1146063005/, cleanup Specific changes in this patch - Add content browser tests for sync event - Verify the event is created/fired with the correct type/interface - Verify that waitUntil promise is handled correctly, both for resolve and reject BUG=486890 Committed: https://crrev.com/09bca2984b59b0f9a5a8c0fa2f83783b4aef130b Cr-Commit-Position: refs/heads/master@{#334858}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Rebase #

Patch Set 3 : Address nits #

Total comments: 4

Patch Set 4 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -0 lines) Patch
M content/browser/service_worker/service_worker_browsertest.cc View 1 2 2 chunks +77 lines, -0 lines 0 comments Download
A content/test/data/background_sync/sync_event_fulfilled.js View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
A content/test/data/background_sync/sync_event_interface.js View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
A content/test/data/background_sync/sync_event_rejected.js View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
chasej
Please take a look at the tests. The tests won't pass until the previous CL ...
5 years, 6 months ago (2015-06-04 16:51:13 UTC) #2
chasej
jkarlin, PTAL.
5 years, 6 months ago (2015-06-11 16:31:03 UTC) #3
jkarlin
lgtm with nits. Great to have these tests. You'll need to find an OWNER of ...
5 years, 6 months ago (2015-06-12 13:11:19 UTC) #4
chasej
Addressed the nits. Unfortunately, had to rebase first. https://codereview.chromium.org/1160253004/diff/1/content/browser/service_worker/service_worker_browsertest.cc File content/browser/service_worker/service_worker_browsertest.cc (right): https://codereview.chromium.org/1160253004/diff/1/content/browser/service_worker/service_worker_browsertest.cc#newcode1187 content/browser/service_worker/service_worker_browsertest.cc:1187: // ...
5 years, 6 months ago (2015-06-12 16:04:13 UTC) #9
chasej
michaeln, please take a look (as you reviewed the previous related CLs).
5 years, 6 months ago (2015-06-12 16:07:41 UTC) #11
michaeln
lgtm 2 https://codereview.chromium.org/1160253004/diff/120001/content/test/data/background_sync/sync_event_fulfilled.js File content/test/data/background_sync/sync_event_fulfilled.js (right): https://codereview.chromium.org/1160253004/diff/120001/content/test/data/background_sync/sync_event_fulfilled.js#newcode13 content/test/data/background_sync/sync_event_fulfilled.js:13: resolve("Fulfilled"); I don't think the "Fulfilled" value ...
5 years, 6 months ago (2015-06-15 20:34:32 UTC) #12
chasej
https://codereview.chromium.org/1160253004/diff/120001/content/test/data/background_sync/sync_event_fulfilled.js File content/test/data/background_sync/sync_event_fulfilled.js (right): https://codereview.chromium.org/1160253004/diff/120001/content/test/data/background_sync/sync_event_fulfilled.js#newcode13 content/test/data/background_sync/sync_event_fulfilled.js:13: resolve("Fulfilled"); On 2015/06/15 20:34:32, michaeln wrote: > I don't ...
5 years, 6 months ago (2015-06-17 16:18:07 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1160253004/140001
5 years, 6 months ago (2015-06-17 16:19:28 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:140001)
5 years, 6 months ago (2015-06-17 16:55:00 UTC) #17
commit-bot: I haz the power
5 years, 6 months ago (2015-06-17 16:57:12 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/09bca2984b59b0f9a5a8c0fa2f83783b4aef130b
Cr-Commit-Position: refs/heads/master@{#334858}

Powered by Google App Engine
This is Rietveld 408576698