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

Issue 2370103003: Added browser tests to test the BudgetAPI. Also added BudgetAPI to ExperimentalWebPlatformFeatures. (Closed)

Created:
4 years, 2 months ago by harkness
Modified:
4 years, 2 months ago
Reviewers:
Peter Beverloo, haraken
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added browser tests to test the BudgetAPI. Also added BudgetAPI to ExperimentalWebPlatformFeatures. Added browser tests to test the BudgetAPI. These test the getBudget() and reserve() methods from Blink into the chrome layer. The correct functioning is then tested by a direct call to BudgetManager::Consume. Also added BudgetAPI to ExperimentalWebPlatformFeatures. BUG=617971 Committed: https://crrev.com/9f633be4d10a0a77f21186cdd514ad883ee07656 Cr-Commit-Position: refs/heads/master@{#422431}

Patch Set 1 #

Patch Set 2 : Fixed copyright #

Total comments: 29

Patch Set 3 : Code review comments and separated out shared code. #

Total comments: 8

Patch Set 4 : Fixed nits #

Patch Set 5 : Rebase and add script tag for result_queue.js to subscope tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+348 lines, -50 lines) Patch
A chrome/browser/budget_service/budget_manager_browsertest.cc View 1 2 3 1 chunk +163 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/budget_service/budget_test.js View 1 2 1 chunk +62 lines, -0 lines 0 comments Download
A chrome/test/data/budget_service/service_worker.js View 1 2 3 1 chunk +52 lines, -0 lines 0 comments Download
A chrome/test/data/budget_service/test.html View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/test/data/push_messaging/push_test.js View 1 2 3 4 1 chunk +2 lines, -49 lines 0 comments Download
M chrome/test/data/push_messaging/subscope1/test.html View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/push_messaging/subscope2/test.html View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/push_messaging/test.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/push_messaging/test_no_subscription_options.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/result_queue.js View 1 2 1 chunk +52 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 27 (17 generated)
harkness
4 years, 2 months ago (2016-09-27 13:55:43 UTC) #2
Peter Beverloo
https://codereview.chromium.org/2370103003/diff/20001/chrome/browser/budget_service/budget_manager_browsertest.cc File chrome/browser/budget_service/budget_manager_browsertest.cc (right): https://codereview.chromium.org/2370103003/diff/20001/chrome/browser/budget_service/budget_manager_browsertest.cc#newcode25 chrome/browser/budget_service/budget_manager_browsertest.cc:25: // const char kManifestSenderId[] = "1234567890"; nit: delete commented ...
4 years, 2 months ago (2016-09-27 15:57:48 UTC) #5
harkness
https://codereview.chromium.org/2370103003/diff/20001/chrome/browser/budget_service/budget_manager_browsertest.cc File chrome/browser/budget_service/budget_manager_browsertest.cc (right): https://codereview.chromium.org/2370103003/diff/20001/chrome/browser/budget_service/budget_manager_browsertest.cc#newcode25 chrome/browser/budget_service/budget_manager_browsertest.cc:25: // const char kManifestSenderId[] = "1234567890"; On 2016/09/27 15:57:47, ...
4 years, 2 months ago (2016-09-28 12:29:21 UTC) #6
Peter Beverloo
lgtm % comments Please also update the CL description so that the first line is ...
4 years, 2 months ago (2016-09-28 13:04:28 UTC) #7
harkness
https://codereview.chromium.org/2370103003/diff/20001/chrome/browser/budget_service/budget_manager_browsertest.cc File chrome/browser/budget_service/budget_manager_browsertest.cc (right): https://codereview.chromium.org/2370103003/diff/20001/chrome/browser/budget_service/budget_manager_browsertest.cc#newcode95 chrome/browser/budget_service/budget_manager_browsertest.cc:95: bool success_; On 2016/09/28 13:04:26, Peter Beverloo wrote: > ...
4 years, 2 months ago (2016-09-28 14:34:20 UTC) #9
harkness
haraken@chromium.org: Please review changes in third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in
4 years, 2 months ago (2016-09-28 14:57:08 UTC) #13
haraken
On 2016/09/28 14:57:08, harkness wrote: > mailto:haraken@chromium.org: Please review changes in > > third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in LGTM
4 years, 2 months ago (2016-09-28 15:00:05 UTC) #14
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/2370103003/80001
4 years, 2 months ago (2016-10-03 15:52:20 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-03 15:57:46 UTC) #25
commit-bot: I haz the power
4 years, 2 months ago (2016-10-03 15:59:49 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9f633be4d10a0a77f21186cdd514ad883ee07656
Cr-Commit-Position: refs/heads/master@{#422431}

Powered by Google App Engine
This is Rietveld 408576698