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

Unified Diff: LayoutTests/push_messaging/push-messaging-api-surface.html

Issue 658723003: Blink implementation of PushManager#hasPermission() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Layout test Created 6 years, 2 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 | LayoutTests/push_messaging/push-messaging-api-surface-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/push_messaging/push-messaging-api-surface-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698