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 8c495b05def5524716e5de5a8646c42832685b2d..b97e6bedfb3c539188cac61827ca7a9620433dac 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("senderId").constructor', 'Promise'); |
+shouldBeTrue('!!navigator.push.hasPermission'); |
+shouldBe('navigator.push.hasPermission().constructor', 'Promise'); |
+ |
</script> |
</body> |
</html> |