| Index: LayoutTests/fast/notifications/notifications-no-icon.html
|
| diff --git a/LayoutTests/fast/notifications/notifications-no-icon.html b/LayoutTests/fast/notifications/notifications-no-icon.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5c722ed9f296e5df71aedb653569dc7e2564af5f
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/notifications/notifications-no-icon.html
|
| @@ -0,0 +1,38 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| + <script type="text/javascript">
|
| + function log(message)
|
| + {
|
| + document.getElementById("result").innerHTML += message + "<br>";
|
| + }
|
| +
|
| + function runTests()
|
| + {
|
| + if (window.testRunner) {
|
| + testRunner.grantWebNotificationPermission("file://");
|
| + testRunner.dumpAsText();
|
| + if (testRunner.dumpNotifications)
|
| + testRunner.dumpNotifications();
|
| + }
|
| +
|
| + if (!window.webkitNotifications) {
|
| + log("FAIL: No webkitNotifications interface!");
|
| + }
|
| +
|
| + var M = window.webkitNotifications.createNotification("", "New E-mail", "Meet me tonight at 8!");
|
| + M.show();
|
| + }
|
| + </script>
|
| +</head>
|
| +<body>
|
| +<p>Sending notifications with permission...</p>
|
| +
|
| +
|
| +<script type="text/javascript">
|
| +runTests();
|
| +</script>
|
| +
|
| +<div id="result"></div>
|
| +</body>
|
| +</html>
|
|
|