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

Side by Side Diff: LayoutTests/fast/notifications/notification-exceptions-expected.txt

Issue 187323005: Revert of Remove support for legacy WebKit Notifications (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 The legacy notification constructor should throw exceptions in certain cases.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 FAIL window.webkitNotifications.createNotification("", "Title", "Message"); shou ld throw SecurityError: Failed to execute 'createNotification' on 'NotificationC enter': Notification permission has not been granted.. Was [object WebKitNotific ation].
7 PASS window.webkitNotifications.createNotification("http:///", "Title", "Message "); threw exception SyntaxError: Failed to execute 'createNotification' on 'Noti ficationCenter': 'http:///' is not a valid icon URL..
8 PASS successfullyParsed is true
9
10 TEST COMPLETE
11
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698