Files
palemoon27/testing/web-platform/tests/notifications/notification-body-basic-manual.html
T

18 lines
701 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>Web Notifications Test: notification - body (basic)</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 must return the notification's body and the empty string otherwise.">
<body>
<p>Test passes if a notification popups and the notification's body content is "Room 101".</p>
<script>
var notification = new Notification("New Email Received", {
body: "Room 101"
});
</script>
</body>