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

Issue 2413643005: Add browser tests for NavigationPreload. (Closed)

Created:
4 years, 2 months ago by horo
Modified:
4 years, 1 month ago
Reviewers:
falken
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, shimazu+serviceworker_chromium.org, serviceworker-reviews, jam, nhiroki, kinuko+serviceworker, horo+watch_chromium.org, darin-cc_chromium.org, kinuko+watch, tzik, blink-worker-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add browser tests for NavigationPreload. This CL depends on https://codereview.chromium.org/2416843002/ FetchEvent.navigationPreload will be implemented in the following steps. [1/4] Introduce FetchEventPreloadHandle to pass the preload response to FetchEvent. https://codereview.chromium.org/2417793002/ [2/4] Implement ServiceWorkerFetchDispatcher::MaybeStartNavigationPreload(). https://codereview.chromium.org/2410333006/ [3/4] Implement FetchEvent.navigationPreload. https://codereview.chromium.org/2416843002/ [4/4] Add browser tests for NavigationPreload. https://codereview.chromium.org/2413643005/ This CL. Currently NavigationPreloadManager.enable() API is not implemented yet. So in those tests, we sets this flag by directly calling ServiceWorkerVersion. set_navigation_preload_enabled() BUG=649558 R=falken@chromium.org Committed: https://crrev.com/84814befc09874e372a5aec52c1553c9dd519797 Cr-Commit-Position: refs/heads/master@{#427705}

Patch Set 1 #

Total comments: 12

Patch Set 2 : rebase #

Patch Set 3 : incorporated falken's comment #

Patch Set 4 : browser-side-navigation.linux.content_browsertests.filter #

Unified diffs Side-by-side diffs Delta from patch set Stats (+527 lines, -0 lines) Patch
M content/browser/service_worker/service_worker_browsertest.cc View 1 2 5 chunks +524 lines, -0 lines 0 comments Download
M testing/buildbot/filters/browser-side-navigation.linux.content_browsertests.filter View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 95 (76 generated)
horo
falken@ Could you please review this?
4 years, 2 months ago (2016-10-19 04:24:54 UTC) #33
falken
lgtm. nice thorough tests. looks great. https://codereview.chromium.org/2413643005/diff/200001/content/browser/service_worker/service_worker_browsertest.cc File content/browser/service_worker/service_worker_browsertest.cc (right): https://codereview.chromium.org/2413643005/diff/200001/content/browser/service_worker/service_worker_browsertest.cc#newcode1575 content/browser/service_worker/service_worker_browsertest.cc:1575: " ' {port: ...
4 years, 2 months ago (2016-10-20 08:17:40 UTC) #39
horo
Thank you. https://chromiumcodereview.appspot.com/2413643005/diff/200001/content/browser/service_worker/service_worker_browsertest.cc File content/browser/service_worker/service_worker_browsertest.cc (right): https://chromiumcodereview.appspot.com/2413643005/diff/200001/content/browser/service_worker/service_worker_browsertest.cc#newcode1575 content/browser/service_worker/service_worker_browsertest.cc:1575: " ' {port: channel.port2}, [channel.port2]);\\n' +\n" On ...
4 years, 2 months ago (2016-10-20 14:05:34 UTC) #44
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/2413643005/240001
4 years, 1 month ago (2016-10-25 09:55:13 UTC) #56
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/323713)
4 years, 1 month ago (2016-10-25 11:44:20 UTC) #58
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/2413643005/240001
4 years, 1 month ago (2016-10-25 12:01:50 UTC) #60
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/323762)
4 years, 1 month ago (2016-10-25 13:40:10 UTC) #62
horo
As I talked offline, I added "-ServiceWorkerBrowserTest/ServiceWorkerNavigationPreloadTest.*" to browser-side-navigation.linux.content_browsertests.filter to avoid the test failure on ...
4 years, 1 month ago (2016-10-26 03:18:30 UTC) #69
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/2413643005/300001
4 years, 1 month ago (2016-10-26 03:19:04 UTC) #73
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/324554)
4 years, 1 month ago (2016-10-26 04:16:39 UTC) #75
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/2413643005/300001
4 years, 1 month ago (2016-10-26 04:28:12 UTC) #77
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/319261)
4 years, 1 month ago (2016-10-26 06:44:08 UTC) #79
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/2413643005/300001
4 years, 1 month ago (2016-10-26 06:50:38 UTC) #81
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/319337)
4 years, 1 month ago (2016-10-26 09:32:16 UTC) #83
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/2413643005/300001
4 years, 1 month ago (2016-10-26 09:41:12 UTC) #85
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/319410)
4 years, 1 month ago (2016-10-26 12:17:33 UTC) #87
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/2413643005/300001
4 years, 1 month ago (2016-10-26 12:52:45 UTC) #89
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/2413643005/300001
4 years, 1 month ago (2016-10-26 15:36:08 UTC) #92
horo
4 years, 1 month ago (2016-10-26 16:19:21 UTC) #94
Message was sent while issue was closed.
Committed patchset #4 (id:300001) manually as
84814befc09874e372a5aec52c1553c9dd519797 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698