summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/bugs/file_bug927901.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/tests/mochitest/bugs/file_bug927901.html')
-rw-r--r--dom/tests/mochitest/bugs/file_bug927901.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/dom/tests/mochitest/bugs/file_bug927901.html b/dom/tests/mochitest/bugs/file_bug927901.html
new file mode 100644
index 0000000000..907b0d96c6
--- /dev/null
+++ b/dom/tests/mochitest/bugs/file_bug927901.html
@@ -0,0 +1,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>