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 2dde81cbe2db1a5cc7258cdce7c22b3c75c7152d..cddb8d0ea27b9e7b3ed345a01a268564961e2256 100644 |
--- a/LayoutTests/http/tests/notifications/notification-properties.html |
+++ b/LayoutTests/http/tests/notifications/notification-properties.html |
@@ -20,6 +20,7 @@ |
tag: "notification", |
icon: "http://localhost/my_icon.png", |
silent: true, |
+ requireInteraction: true, |
data: "my data", |
actions: [] |
}; |
@@ -40,6 +41,7 @@ |
assert_equals(notification.tag, options.tag); |
assert_equals(notification.icon, options.icon); |
assert_true(notification.silent); |
+ assert_true(notification.requireInteraction); |
assert_equals(notification.data, options.data); |
// Only the first maxActions actions should be reflected. |
assert_object_equals(notification.actions, options.actions.slice(0, Notification.maxActions)); |
@@ -63,6 +65,7 @@ |
assert_equals(emptyNotification.icon, ""); |
assert_equals(notification.vibrate, null); |
assert_false(emptyNotification.silent); |
+ assert_false(emptyNotification.requireInteraction); |
assert_equals(emptyNotification.data, null); |
assert_array_equals(emptyNotification.actions, []); |