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

Side by Side Diff: LayoutTests/push_messaging/push-messaging-expected.txt

Issue 367063002: Push API: set mock behavior from layout tests and exercise success. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
1 Tests for the Push API. 1 Tests for the Push API.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS !!navigator.push is true 6 PASS !!navigator.push is true
7 PASS !!navigator.push.register is true 7 PASS !!navigator.push.register is true
8 PASS navigator.push.register("senderId").constructor is Promise 8 PASS navigator.push.register("senderId").constructor is Promise
9 PASS error.name is "AbortError" 9 PASS error.name is "AbortError"
10 PASS registration.pushEndpoint is "endpoint"
11 PASS registration.pushRegistrationId is "registrationId"
10 PASS successfullyParsed is true 12 PASS successfullyParsed is true
11 13
12 TEST COMPLETE 14 TEST COMPLETE
13 15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698