blob: a4b288fa5976d035f40a673c7c7da465454ecfe6 [file] [log] [blame]
Andrew Top61a84952019-04-30 15:07:33 -07001<!DOCTYPE html>
2<meta charset="utf-8">
3<title>Notification.icon (empty string)</title>
4<link rel="author" title="Intel" href="http://www.intel.com/">
5<link rel="author" title="Xin Liu" href="mailto:xinx.liu@intel.com">
6<script src="/resources/testharness.js"></script>
7<script src="/resources/testharnessreport.js"></script>
8<script src="common.js"></script>
9<div id=passfail></div>
10<script>
11setup({ explicit_timeout: true })
12if (hasNotificationPermission()) {
13 async_test(function (t) {
14 t.step(function () {
15 var notification = null,
16 notifications = []
17 createPassFail("If a notification appears containing no image",
18 t, closeNotifications, notifications)
19 notification = new Notification("New Email Received", {
20 body: "Room 101",
21 icon: ""
22 })
23 notifications.push(notification)
24 })
25 })
26}
27</script>