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 |
+ |