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

Unified Diff: Source/modules/notifications/ServiceWorkerRegistrationNotifications.idl

Issue 1005353002: Add data property in persistent web notification (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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: Source/modules/notifications/ServiceWorkerRegistrationNotifications.idl
diff --git a/Source/modules/notifications/ServiceWorkerRegistrationNotifications.idl b/Source/modules/notifications/ServiceWorkerRegistrationNotifications.idl
index ae434b43c0de610ab6723542807ef03e2d579f28..d1a4260199e2d8c51c971a2b11717ee2b811f160 100644
--- a/Source/modules/notifications/ServiceWorkerRegistrationNotifications.idl
+++ b/Source/modules/notifications/ServiceWorkerRegistrationNotifications.idl
@@ -8,5 +8,5 @@
Exposed=(Window, ServiceWorker),
RuntimeEnabled=ServiceWorkerNotifications
] partial interface ServiceWorkerRegistration {
- [CallWith=ScriptState] Promise showNotification(DOMString title, optional NotificationOptions options);
+ [CallWith=ScriptState, RaisesException] Promise showNotification(DOMString title, optional NotificationOptions options);
};

Powered by Google App Engine
This is Rietveld 408576698