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

Unified Diff: LayoutTests/http/tests/notifications/notification-properties.html

Issue 1254423011: Add Notification.maxActions so websites know how many buttons we support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@staticreadonlypeter
Patch Set: Address review nits Created 5 years, 5 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 | « no previous file | Source/modules/notifications/Notification.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/notifications/notification-properties.html
diff --git a/LayoutTests/http/tests/notifications/notification-properties.html b/LayoutTests/http/tests/notifications/notification-properties.html
index f54a903dc501b4142c5e42c88db5ef32ee43ea90..01f10f9edfb7c8b8641f58a7174c25903001e1f4 100644
--- a/LayoutTests/http/tests/notifications/notification-properties.html
+++ b/LayoutTests/http/tests/notifications/notification-properties.html
@@ -11,6 +11,8 @@
// semantics defined by the specification. When the test is being ran
// manually, grant Notification permission first.
test(function () {
+ assert_greater_than_equal(Notification.maxActions, 0);
+
var options = {
dir: "rtl",
lang: "nl-NL",
« no previous file with comments | « no previous file | Source/modules/notifications/Notification.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698