Index: LayoutTests/push_messaging/push-messaging-api-surface.html |
diff --git a/LayoutTests/push_messaging/push-messaging-api-surface.html b/LayoutTests/push_messaging/push-messaging-api-surface.html |
index 747f1896382d8bd671494738236d202017eec726..d87acfb99da5180b0c99ec4818cf4fe7c66e6c8b 100644 |
--- a/LayoutTests/push_messaging/push-messaging-api-surface.html |
+++ b/LayoutTests/push_messaging/push-messaging-api-surface.html |
@@ -10,6 +10,9 @@ description('Tests the Push API surface.'); |
shouldBeTrue('!!navigator.push'); |
shouldBeTrue('!!navigator.push.register'); |
shouldBe('navigator.push.register().constructor', 'Promise'); |
+shouldBeTrue('!!navigator.push.hasPermission'); |
+shouldBe('navigator.push.hasPermission().constructor', 'Promise'); |
+ |
</script> |
</body> |
</html> |