diff options
Diffstat (limited to 'dom/tests/mochitest/bugs/iframe_bug430276.html')
-rw-r--r-- | dom/tests/mochitest/bugs/iframe_bug430276.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dom/tests/mochitest/bugs/iframe_bug430276.html b/dom/tests/mochitest/bugs/iframe_bug430276.html new file mode 100644 index 0000000000..703eb5dd55 --- /dev/null +++ b/dom/tests/mochitest/bugs/iframe_bug430276.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<html> +<head> + <title></title> + <script type="application/javascript"> + function runTest() { + document.write("<body>"); + var succeeded = true; + try { + new XMLHttpRequest(); + } catch(e) { + succeeded = false; + } + window.parent.ok(succeeded, "Creating XMLHttpRequest failed!"); + window.parent.nextTest(); + } + </script> +</head> +<body onload="runTest()"> +</body> +</html> |