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

Unified 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, 10 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
Index: LayoutTests/fast/notifications/notification-exceptions-expected.txt
diff --git a/LayoutTests/fast/notifications/notification-exceptions-expected.txt b/LayoutTests/fast/notifications/notification-exceptions-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afa68b24c3c0b0df9c6d91e98284acb35ef0fd8f
--- /dev/null
+++ b/LayoutTests/fast/notifications/notification-exceptions-expected.txt
@@ -0,0 +1,11 @@
+The legacy notification constructor should throw exceptions in certain cases.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+FAIL window.webkitNotifications.createNotification("", "Title", "Message"); should throw SecurityError: Failed to execute 'createNotification' on 'NotificationCenter': Notification permission has not been granted.. Was [object WebKitNotification].
+PASS window.webkitNotifications.createNotification("http:///", "Title", "Message"); threw exception SyntaxError: Failed to execute 'createNotification' on 'NotificationCenter': 'http:///' is not a valid icon URL..
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698