Revision e01a49c08af9328337c80b5d946d24b5274bc400 authored by Brad Werth on 26 April 2018, 08:13:36 UTC, committed by moz-wptsync-bot on 26 April 2018, 08:42:17 UTC
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1265342 gecko-commit: 3032f8adbcf177c75cb7ddacaade47e23e1ed88f gecko-integration-branch: central gecko-reviewers: dholbert
1 parent c09df8b
icon-empty-manual.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>Notification.icon (empty string)</title>
<link rel="author" title="Intel" href="http://www.intel.com/">
<link rel="author" title="Xin Liu" href="mailto:xinx.liu@intel.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="common.js"></script>
<div id=passfail></div>
<script>
setup({ explicit_timeout: true })
if (hasNotificationPermission()) {
async_test(function (t) {
t.step(function () {
var notification = null,
notifications = []
createPassFail("If a notification appears containing no image",
t, closeNotifications, notifications)
notification = new Notification("New Email Received", {
body: "Room 101",
icon: ""
})
notifications.push(notification)
})
})
}
</script>
Computing file changes ...