summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/bugs/file_bug927901.html
blob: 907b0d96c6c09215a7f0957bef7549c425f6bbfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<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>