swh:1:snp:b37d435721bbd450624165f334724e3585346499
Raw File
Tip revision: fda5b2f7c785b32ad563e3bf0c28e407d0199bad authored by Florian Rivoal on 30 March 2018, 04:19:15 UTC
[css-align] Fix typo and clean-up markup
Tip revision: fda5b2f
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>
back to top