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

Issue 2273743002: Framework and tests for WorkerNavigatorBudget (Closed)

Created:
4 years, 3 months ago by harkness
Modified:
4 years, 3 months ago
Reviewers:
Peter Beverloo
CC:
chromium-reviews, blink-reviews, haraken
Base URL:
https://chromium.googlesource.com/chromium/src.git@mojo_service
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Framework and tests for WorkerNavigatorBudget This CL provides a Worker entrypoint for the BudgetAPI. The WorkerNavigator partial interface provides a BudgetService object, which is the same for both Navigator and WorkerNavigator. BUG=617971 Committed: https://crrev.com/48002352c0a882279f25decc05b61c73c15795a5 Cr-Commit-Position: refs/heads/master@{#414579}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Changed formatting of javascript in html files #

Total comments: 6

Patch Set 3 : code review comments #

Patch Set 4 : Add budget interface to global serviceworker interfaces #

Patch Set 5 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+286 lines, -2 lines) Patch
A third_party/WebKit/LayoutTests/http/tests/budget/get-budget-in-service-worker.html View 1 1 chunk +42 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/budget/get-cost-fails-in-service-worker.html View 1 1 chunk +41 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/budget/get-cost-in-service-worker.html View 1 1 chunk +41 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/budget/resources/instrumentation-service-worker.js View 1 2 1 chunk +61 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-dedicated-worker-expected.txt View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/budget/WorkerNavigatorBudget.h View 1 2 1 chunk +39 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/budget/WorkerNavigatorBudget.cpp View 1 chunk +54 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/modules/budget/WorkerNavigatorBudget.idl View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/modules.gypi View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 32 (21 generated)
harkness
https://codereview.chromium.org/2273743002/diff/1/third_party/WebKit/LayoutTests/http/tests/budget/get-budget-in-service-worker.html File third_party/WebKit/LayoutTests/http/tests/budget/get-budget-in-service-worker.html (right): https://codereview.chromium.org/2273743002/diff/1/third_party/WebKit/LayoutTests/http/tests/budget/get-budget-in-service-worker.html#newcode8 third_party/WebKit/LayoutTests/http/tests/budget/get-budget-in-service-worker.html:8: <script src="../notifications/resources/test-helpers.js"></script> I could also copy the helpers from ...
4 years, 3 months ago (2016-08-23 16:10:51 UTC) #2
Peter Beverloo
lgtm https://codereview.chromium.org/2273743002/diff/20001/third_party/WebKit/LayoutTests/http/tests/budget/resources/instrumentation-service-worker.js File third_party/WebKit/LayoutTests/http/tests/budget/resources/instrumentation-service-worker.js (right): https://codereview.chromium.org/2273743002/diff/20001/third_party/WebKit/LayoutTests/http/tests/budget/resources/instrumentation-service-worker.js#newcode10 third_party/WebKit/LayoutTests/http/tests/budget/resources/instrumentation-service-worker.js:10: var options = event.data.options || {} ; https://codereview.chromium.org/2273743002/diff/20001/third_party/WebKit/LayoutTests/http/tests/budget/resources/instrumentation-service-worker.js#newcode17 ...
4 years, 3 months ago (2016-08-24 15:28:23 UTC) #3
Peter Beverloo
Sorry, two more IWYU comments: https://codereview.chromium.org/2273743002/diff/20001/third_party/WebKit/Source/modules/budget/WorkerNavigatorBudget.h File third_party/WebKit/Source/modules/budget/WorkerNavigatorBudget.h (right): https://codereview.chromium.org/2273743002/diff/20001/third_party/WebKit/Source/modules/budget/WorkerNavigatorBudget.h#newcode8 third_party/WebKit/Source/modules/budget/WorkerNavigatorBudget.h:8: #include "platform/Supplementable.h" #include "platform/heap/GarbageCollected.h" ...
4 years, 3 months ago (2016-08-24 15:31:05 UTC) #4
harkness
https://codereview.chromium.org/2273743002/diff/20001/third_party/WebKit/LayoutTests/http/tests/budget/resources/instrumentation-service-worker.js File third_party/WebKit/LayoutTests/http/tests/budget/resources/instrumentation-service-worker.js (right): https://codereview.chromium.org/2273743002/diff/20001/third_party/WebKit/LayoutTests/http/tests/budget/resources/instrumentation-service-worker.js#newcode10 third_party/WebKit/LayoutTests/http/tests/budget/resources/instrumentation-service-worker.js:10: var options = event.data.options || {} On 2016/08/24 15:28:23, ...
4 years, 3 months ago (2016-08-24 16:22:50 UTC) #5
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/2273743002/60001
4 years, 3 months ago (2016-08-25 12:21:13 UTC) #20
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/281056)
4 years, 3 months ago (2016-08-25 15:48:54 UTC) #22
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/2273743002/80001
4 years, 3 months ago (2016-08-25 16:14:16 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/268766)
4 years, 3 months ago (2016-08-25 18:49:53 UTC) #27
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/2273743002/80001
4 years, 3 months ago (2016-08-25 21:12:54 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-08-25 23:19:51 UTC) #30
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 23:23:16 UTC) #32
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/48002352c0a882279f25decc05b61c73c15795a5
Cr-Commit-Position: refs/heads/master@{#414579}

Powered by Google App Engine
This is Rietveld 408576698