1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/tests/mochitest/bugs/iframe_bug430276.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,21 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 + <title></title> 1.8 + <script type="application/javascript"> 1.9 + function runTest() { 1.10 + document.write("<body>"); 1.11 + var succeeded = true; 1.12 + try { 1.13 + new XMLHttpRequest(); 1.14 + } catch(e) { 1.15 + succeeded = false; 1.16 + } 1.17 + window.parent.ok(succeeded, "Creating XMLHttpRequest failed!"); 1.18 + window.parent.nextTest(); 1.19 + } 1.20 + </script> 1.21 +</head> 1.22 +<body onload="runTest()"> 1.23 +</body> 1.24 +</html>