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 function runTest() {
7 document.write("<body>");
8 var succeeded = true;
9 try {
10 new XMLHttpRequest();
11 } catch(e) {
12 succeeded = false;
13 }
14 window.parent.ok(succeeded, "Creating XMLHttpRequest failed!");
15 window.parent.nextTest();
16 }
17 </script>
18 </head>
19 <body onload="runTest()">
20 </body>
21 </html>