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

Unified Diff: third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRegistration.idl

Issue 2762663002: BackgroundFetchRegistration.abort() should return a Promise. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRegistration.idl
diff --git a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRegistration.idl b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRegistration.idl
index e1bba570029c3e80790db7615c6e7371d9b177b5..8608634c5147b5cb36c65cf01887e0ad7b78ece0 100644
--- a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRegistration.idl
+++ b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRegistration.idl
@@ -14,5 +14,5 @@
readonly attribute DOMString title;
// TODO(crbug.com/699957): Implement the `activeFetches` attribute.
- void abort();
+ [CallWith=ScriptState] Promise<bool> abort();
};

Powered by Google App Engine
This is Rietveld 408576698