gecko-dev/dom/tests/mochitest/bugs/file_bug927901.html

19 строки
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>