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

Issue 2891953002: Ship and experiment with the Budget API (Closed)

Created:
3 years, 7 months ago by Peter Beverloo
Modified:
3 years, 6 months ago
CC:
chromium-reviews, iclelland+watch_chromuim.org, chasej+watch_chromium.org, haraken, blink-reviews-bindings_chromium.org, blink-reviews, kinuko+watch
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Ship and experiment with the Budget API This CL enables the BudgetManager.reserve() method and activates the Origin Trial for the BudgetManager.getBudget() and getCost() methods, in accordance with the following Intents on blink-dev: Intent to Ship: The Budget API’s reserve() method: https://groups.google.com/a/chromium.org/d/topic/blink-dev/yBtmc-4xl_o/discussion Intent to Experiment: The Budget API’s getCost() and getBudget() methods: https://groups.google.com/a/chromium.org/d/topic/blink-dev/_l_fxUTWCHs/discussion Feedback from the TAG has been received and responded to in the issues kindly filed by Alex. This led to a number of clarifications and changes in the specification, which are in line with Chrome's implementation. TAG review: https://github.com/w3ctag/design-reviews/issues/169 https://github.com/WICG/budget-api/issues?q=is%3Aissue%20tag BUG=704725 Review-Url: https://codereview.chromium.org/2891953002 Cr-Commit-Position: refs/heads/master@{#474622} Committed: https://chromium.googlesource.com/chromium/src/+/518fb6006595081fcaceabbd348a52155348fb58

Patch Set 1 #

Patch Set 2 : Ship and experiment with the Budget API #

Total comments: 8

Patch Set 3 : Ship and experiment with the Budget API #

Patch Set 4 : one more result file #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -4 lines) Patch
M third_party/WebKit/LayoutTests/VirtualTestSuites View 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces.html View 1 1 chunk +24 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/resources/budget-api-origin-trial-interfaces-worker-disabled.js View 1 1 chunk +6 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/resources/budget-api-origin-trial-interfaces-worker-enabled.php View 1 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/virtual/stable/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/virtual/stable/webexposed/global-interface-listing-dedicated-worker-expected.txt View 1 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/virtual/stable/webexposed/global-interface-listing-shared-worker-expected.txt View 1 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 chunks +5 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/virtual/origin-trials-runtimeflags-disabled/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt View 1 2 3 1 chunk +8 lines, -0 lines 3 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-dedicated-worker-expected.txt View 1 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-shared-worker-expected.txt View 1 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp View 1 2 4 chunks +61 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/budget/BudgetService.idl View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/budget/BudgetState.idl View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (20 generated)
Peter Beverloo
+Ian, John, PTAL! I'll add an API OWNER for the stable changes once you're happy, ...
3 years, 7 months ago (2017-05-23 18:53:58 UTC) #8
johnme
https://codereview.chromium.org/2891953002/diff/20001/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt File third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt (right): https://codereview.chromium.org/2891953002/diff/20001/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt#newcode2 third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt:2: FAIL Budget API related properties on interfaces in Origin-Trial ...
3 years, 7 months ago (2017-05-24 12:08:44 UTC) #11
Peter Beverloo
Thanks John! PTAL https://codereview.chromium.org/2891953002/diff/20001/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt File third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt (right): https://codereview.chromium.org/2891953002/diff/20001/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt#newcode2 third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt:2: FAIL Budget API related properties on ...
3 years, 7 months ago (2017-05-24 14:35:42 UTC) #14
iclelland
https://codereview.chromium.org/2891953002/diff/60001/third_party/WebKit/LayoutTests/virtual/origin-trials-runtimeflags-disabled/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt File third_party/WebKit/LayoutTests/virtual/origin-trials-runtimeflags-disabled/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt (right): https://codereview.chromium.org/2891953002/diff/60001/third_party/WebKit/LayoutTests/virtual/origin-trials-runtimeflags-disabled/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt#newcode3 third_party/WebKit/LayoutTests/virtual/origin-trials-runtimeflags-disabled/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt:3: PASS Budget API related interfaces in SW - no ...
3 years, 6 months ago (2017-05-24 15:26:37 UTC) #17
Peter Beverloo
https://codereview.chromium.org/2891953002/diff/60001/third_party/WebKit/LayoutTests/virtual/origin-trials-runtimeflags-disabled/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt File third_party/WebKit/LayoutTests/virtual/origin-trials-runtimeflags-disabled/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt (right): https://codereview.chromium.org/2891953002/diff/60001/third_party/WebKit/LayoutTests/virtual/origin-trials-runtimeflags-disabled/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt#newcode3 third_party/WebKit/LayoutTests/virtual/origin-trials-runtimeflags-disabled/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt:3: PASS Budget API related interfaces in SW - no ...
3 years, 6 months ago (2017-05-24 15:31:25 UTC) #18
iclelland
LGTM https://codereview.chromium.org/2891953002/diff/60001/third_party/WebKit/LayoutTests/virtual/origin-trials-runtimeflags-disabled/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt File third_party/WebKit/LayoutTests/virtual/origin-trials-runtimeflags-disabled/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt (right): https://codereview.chromium.org/2891953002/diff/60001/third_party/WebKit/LayoutTests/virtual/origin-trials-runtimeflags-disabled/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt#newcode3 third_party/WebKit/LayoutTests/virtual/origin-trials-runtimeflags-disabled/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt:3: PASS Budget API related interfaces in SW - ...
3 years, 6 months ago (2017-05-24 15:50:38 UTC) #19
johnme
lgtm
3 years, 6 months ago (2017-05-24 16:31:59 UTC) #20
Peter Beverloo
+rbyers for API OWNERS See the description for the rationale :)
3 years, 6 months ago (2017-05-24 19:59:43 UTC) #25
Rick Byers
webexposed LGTM (man it's annoying how many files need to change now)
3 years, 6 months ago (2017-05-25 02:29:38 UTC) #26
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/2891953002/60001
3 years, 6 months ago (2017-05-25 11:00:34 UTC) #28
commit-bot: I haz the power
3 years, 6 months ago (2017-05-25 11:05:52 UTC) #31
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/518fb6006595081fcaceabbd348a...

Powered by Google App Engine
This is Rietveld 408576698