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

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

Issue 367063002: Push API: set mock behavior from layout tests and exercise success. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Split tests. Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 description('Tests the Push API surface.');
9
10 shouldBeTrue('!!navigator.push');
11 shouldBeTrue('!!navigator.push.register');
12 shouldBe('navigator.push.register("senderId").constructor', 'Promise');
13 </script>
14 </body>
15 </html>
OLDNEW
« no previous file with comments | « LayoutTests/push_messaging/push-messaging.html ('k') | LayoutTests/push_messaging/push-messaging-api-surface-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698