gecko/dom/tests/mochitest/bugs/file_bug927901.html
Olli Pettay ae81d3f95d test for Bug 927901, rs=jst
--HG--
extra : rebase_source : aa8f7c00f84454858e89ac06721cadef8bb5adba
2013-10-26 00:35:34 +03:00

19 lines
371 B
HTML

<html>
<head>
<title></title>
<script>
var ret = "pass";
try {
window.foo = window.crypto.getRandomValues;
} catch(ex) {
ret = "" + ex;
}
parent.postMessage(ret, "*");
</script>
<style>
</style>
</head>
<body onload="document.body.textContent = 'Crypto test file on ' + location">
</body>
</html>