blob: 76be5eba6c5215bb36c5a6d6a28c04e2b4cd20dd [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<title>Web Notifications Test: notification - body (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">
<link rel="help" title="5 API" href="http://www.w3.org/TR/notifications/">
<meta name="flags" content="interact">
<meta name="assert" content="The body attribute set empty string, then the notification's body content show nothing.">
<body>
<p>Test passes if a notification popups and the notification have no body content.</p>
<script>
var notification = new Notification("New Email Received", {
body: ""
});
</script>
</body>