New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 704725 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Aug 15
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 3
Type: Task


Show other hotlists

Hotlists containing this issue:
Hotlist-1


Sign in to add a comment

Budget API

Project Member Reported by owe...@chromium.org, Mar 23 2017

Issue description

Change description:
Introduce an API that exposes a 'Budget' to sites based on their site engagement. This budget can be spent by sites to send silent push messages in order to update site's caches, automatically dismiss notifications that the user has dealt with on another device etc.

Note initially the plan is to run an origin trial for this feature.

Changes to API surface:
- Implement the draft spec: https://wicg.github.io/budget-api/

Links:
- GitHub repo with context, explainer etc: https://github.com/beverloo/budget-api

Public standards discussion: 
- WICG discussion: https://discourse.wicg.io/t/proposal-budget-api/1717

Support in other browsers:
Internet Explorer: None
Firefox: None
Safari: None
 

Comment 1 by owe...@chromium.org, Mar 23 2017

Chrome internal launch issue: https://bugs.chromium.org/p/chromium/issues/detail?id=704719
Project Member

Comment 2 by bugdroid1@chromium.org, May 25 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/518fb6006595081fcaceabbd348a52155348fb58

commit 518fb6006595081fcaceabbd348a52155348fb58
Author: peter <peter@chromium.org>
Date: Thu May 25 11:05:31 2017

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}

[modify] https://crrev.com/518fb6006595081fcaceabbd348a52155348fb58/third_party/WebKit/LayoutTests/VirtualTestSuites
[add] https://crrev.com/518fb6006595081fcaceabbd348a52155348fb58/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces.html
[add] https://crrev.com/518fb6006595081fcaceabbd348a52155348fb58/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/resources/budget-api-origin-trial-interfaces-worker-disabled.js
[add] https://crrev.com/518fb6006595081fcaceabbd348a52155348fb58/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/resources/budget-api-origin-trial-interfaces-worker-enabled.php
[modify] https://crrev.com/518fb6006595081fcaceabbd348a52155348fb58/third_party/WebKit/LayoutTests/platform/mac/virtual/stable/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt
[modify] https://crrev.com/518fb6006595081fcaceabbd348a52155348fb58/third_party/WebKit/LayoutTests/platform/mac/virtual/stable/webexposed/global-interface-listing-dedicated-worker-expected.txt
[modify] https://crrev.com/518fb6006595081fcaceabbd348a52155348fb58/third_party/WebKit/LayoutTests/platform/mac/virtual/stable/webexposed/global-interface-listing-expected.txt
[modify] https://crrev.com/518fb6006595081fcaceabbd348a52155348fb58/third_party/WebKit/LayoutTests/platform/mac/virtual/stable/webexposed/global-interface-listing-shared-worker-expected.txt
[modify] https://crrev.com/518fb6006595081fcaceabbd348a52155348fb58/third_party/WebKit/LayoutTests/platform/win/virtual/stable/webexposed/global-interface-listing-expected.txt
[add] https://crrev.com/518fb6006595081fcaceabbd348a52155348fb58/third_party/WebKit/LayoutTests/virtual/origin-trials-runtimeflags-disabled/http/tests/origin_trials/webexposed/budget-api-origin-trial-interfaces-expected.txt
[modify] https://crrev.com/518fb6006595081fcaceabbd348a52155348fb58/third_party/WebKit/LayoutTests/virtual/stable/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt
[modify] https://crrev.com/518fb6006595081fcaceabbd348a52155348fb58/third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-dedicated-worker-expected.txt
[modify] https://crrev.com/518fb6006595081fcaceabbd348a52155348fb58/third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-shared-worker-expected.txt
[modify] https://crrev.com/518fb6006595081fcaceabbd348a52155348fb58/third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp
[modify] https://crrev.com/518fb6006595081fcaceabbd348a52155348fb58/third_party/WebKit/Source/modules/budget/BudgetService.idl
[modify] https://crrev.com/518fb6006595081fcaceabbd348a52155348fb58/third_party/WebKit/Source/modules/budget/BudgetState.idl
[modify] https://crrev.com/518fb6006595081fcaceabbd348a52155348fb58/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5

Components: Blink>PushAPI

Comment 4 by owe...@chromium.org, Sep 12 2017

Labels: migrated-launch-owp Type-Task
This issue has been automatically relabelled type=task because type=launch-owp issues are now officially deprecated. The deprecation is because they were creating confusion about how to get launch approvals, which should be instead done via type=launch issues.

We recommend this issue be used for implementation tracking (for public visibility), but if you already have an issue for that, you may mark this as duplicate.

For more details see here: https://docs.google.com/document/d/1JA6RohjtZQc26bTrGoIE_bSXGXUDQz8vc6G0n_sZJ2o/edit

For any questions, please contact owencm, sshruthi, larforge

Comment 5 by owe...@chromium.org, Sep 13 2017

Summary: Budget API (was: OWP launch: Budget API)
I do not understand, computer, Dell, Inspiron 3847,sept. 2014, ethernet.  61 years old, stroke 10-15-2002, Industrial Engineer. HELP ME!!!
Project Member

Comment 7 by bugdroid1@chromium.org, Aug 9

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/05987805d09b14783a0d695284ce7780d1943d8b

commit 05987805d09b14783a0d695284ce7780d1943d8b
Author: Eric Willigers <ericwilligers@chromium.org>
Date: Thu Aug 09 06:03:27 2018

Retire  Budget runtime flag

The Budget API began shipping in M60. It can be used to retrieve the
amount of budget an origin has available for resource consuming
background operations, as well as the cost associated with doing such
an operation.
https://codereview.chromium.org/2891953002
https://www.chromestatus.com/feature/5691190548627456

BUG= 704725 

Change-Id: Ieae4c7a1f1883e974ea9c9902d71acf528200d5f
Reviewed-on: https://chromium-review.googlesource.com/1166267
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#581804}
[modify] https://crrev.com/05987805d09b14783a0d695284ce7780d1943d8b/third_party/blink/renderer/modules/budget/budget_service.idl
[modify] https://crrev.com/05987805d09b14783a0d695284ce7780d1943d8b/third_party/blink/renderer/modules/budget/navigator_budget.idl
[modify] https://crrev.com/05987805d09b14783a0d695284ce7780d1943d8b/third_party/blink/renderer/modules/budget/worker_navigator_budget.idl
[modify] https://crrev.com/05987805d09b14783a0d695284ce7780d1943d8b/third_party/blink/renderer/platform/runtime_enabled_features.json5

Status: Fixed (was: Assigned)

Sign in to add a comment