OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 // https://wicg.github.io/background-fetch/#background-fetch-registration |
| 6 |
5 [ | 7 [ |
6 Exposed=(Window,Worker), | 8 Exposed=(Window,Worker), |
7 RuntimeEnabled=BackgroundFetch | 9 RuntimeEnabled=BackgroundFetch |
8 ] interface BackgroundFetchRegistration { | 10 ] interface BackgroundFetchRegistration { |
9 readonly attribute DOMString tag; | 11 readonly attribute DOMString tag; |
10 readonly attribute FrozenArray<IconDefinition> icons; | 12 readonly attribute FrozenArray<IconDefinition> icons; |
11 readonly attribute long totalDownloadSize; | 13 readonly attribute long totalDownloadSize; |
12 readonly attribute DOMString title; | 14 readonly attribute DOMString title; |
13 // TODO(crbug.com/699957): Implement the `fetches` attribute. | 15 // TODO(crbug.com/699957): Implement the `fetches` attribute. |
14 | 16 |
15 void abort(); | 17 void abort(); |
16 }; | 18 }; |
OLD | NEW |