1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/base/content/test/general/file_dom_notifications.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,23 @@ 1.4 +<html> 1.5 +<head> 1.6 +<script> 1.7 +"use strict"; 1.8 + 1.9 +function showNotification() { 1.10 + var options = { 1.11 + dir: undefined, 1.12 + lang: undefined, 1.13 + body: "Test body", 1.14 + tag: "Test tag", 1.15 + icon: undefined, 1.16 + }; 1.17 + return new Notification("Test title", options); 1.18 +} 1.19 +</script> 1.20 +</head> 1.21 +<body> 1.22 +<form id="notificationForm" onsubmit="showNotification();"> 1.23 + <input type="submit" value="Show notification" id="submit"/> 1.24 +</form> 1.25 +</body> 1.26 +</html>