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

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

Issue 901843006: Allow the embedder to disable the Notification constructor. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | « Source/modules/notifications/Notification.cpp ('k') | Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/notifications/Notification.idl
diff --git a/Source/modules/notifications/Notification.idl b/Source/modules/notifications/Notification.idl
index ccb01ef100b299b13f23502e0198ecf1cee4da9d..b09bece2edbc6757e165c75ac770a501bbda945e 100644
--- a/Source/modules/notifications/Notification.idl
+++ b/Source/modules/notifications/Notification.idl
@@ -36,6 +36,7 @@
ConstructorCallWith=ExecutionContext,
Exposed=(Window,Worker),
MeasureAs=NotificationCreated,
+ RaisesException=Constructor,
RuntimeEnabled=Notifications,
] interface Notification : EventTarget {
[CallWith=ExecutionContext, MeasureAs=NotificationPermission] static readonly attribute DOMString permission;
« no previous file with comments | « Source/modules/notifications/Notification.cpp ('k') | Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698