1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/tests/mochitest/bugs/file_bug927901.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +<html> 1.5 + <head> 1.6 + <title></title> 1.7 + <script> 1.8 + var ret = "pass"; 1.9 + try { 1.10 + window.foo = window.crypto.getRandomValues; 1.11 + } catch(ex) { 1.12 + ret = "" + ex; 1.13 + } 1.14 + parent.postMessage(ret, "*"); 1.15 + </script> 1.16 + <style> 1.17 + </style> 1.18 + </head> 1.19 + <body onload="document.body.textContent = 'Crypto test file on ' + location"> 1.20 + </body> 1.21 +</html>