comparison: dom/tests/mochitest/bugs/iframe_bug430276-2.html
dom/tests/mochitest/bugs/iframe_bug430276-2.html
- branch
- TOR_BUG_9701
- changeset 15
- b8a032363ba2
equal
deleted
inserted
replaced
|
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> |