gecko/browser/base/content/test/general/file_dom_notifications.html
Jared Wein e5be7ca582 Bug 853972 - Clicking on a notification should select the originating tab. r=felipe,wchen
--HG--
extra : rebase_source : e8f794ff0e474d669489eff7e82b3b0eccf4db0e
2014-01-13 13:56:28 +01:00

24 lines
454 B
HTML

<html>
<head>
<script>
"use strict";
function showNotification() {
var options = {
dir: undefined,
lang: undefined,
body: "Test body",
tag: "Test tag",
icon: undefined,
};
return new Notification("Test title", options);
}
</script>
</head>
<body>
<form id="notificationForm" onsubmit="showNotification();">
<input type="submit" value="Show notification" id="submit"/>
</form>
</body>
</html>