Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title></title>
5 <script type="application/javascript">
6 new XMLHttpRequest();
7 function runTest() {
8 document.open();
9 var succeeded = true;
10 try {
11 new XMLHttpRequest();
12 } catch(e) {
13 succeeded = false;
14 }
15 window.parent.ok(succeeded, "Creating XMLHttpRequest failed!");
16 window.parent.SimpleTest.finish();
17 document.close();
18 }
19 </script>
20 </head>
21 <body onload="runTest()">
22 </body>
23 </html>