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

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

Issue 868053003: Expose ServiceWorkerRegistration.showNotification() in Service Workers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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
« no previous file with comments | « LayoutTests/http/tests/notifications/serviceworkerregistration-service-worker-no-permission.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/notifications/ServiceWorkerRegistrationNotifications.idl
diff --git a/Source/modules/notifications/ServiceWorkerRegistrationNotifications.idl b/Source/modules/notifications/ServiceWorkerRegistrationNotifications.idl
index c035165a14cbd559bbbc52218fc1d261b1d3e880..ae434b43c0de610ab6723542807ef03e2d579f28 100644
--- a/Source/modules/notifications/ServiceWorkerRegistrationNotifications.idl
+++ b/Source/modules/notifications/ServiceWorkerRegistrationNotifications.idl
@@ -5,6 +5,7 @@
// https://notifications.spec.whatwg.org/#service-worker-api
[
+ Exposed=(Window, ServiceWorker),
RuntimeEnabled=ServiceWorkerNotifications
] partial interface ServiceWorkerRegistration {
[CallWith=ScriptState] Promise showNotification(DOMString title, optional NotificationOptions options);
« no previous file with comments | « LayoutTests/http/tests/notifications/serviceworkerregistration-service-worker-no-permission.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698