test_same_base_domain_6.html (832B)
1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <title>Test for Cross domain access to properties</title> 5 <script src="/tests/SimpleTest/SimpleTest.js"></script> 6 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" /> 7 </head> 8 <body onload="runThisTest()"> 9 <p id="display"></p> 10 <pre id="test"> 11 <script> 12 function runThisTest() { 13 // By default, proxies don't apply to 127.0.0.1. 14 // We need them to for this test (at least on android), though: 15 SpecialPowers.pushPrefEnv({set: [ 16 ["network.proxy.allow_hijacking_localhost", true] 17 ]}).then(function() { 18 setupTest('http://127.0.0.1:8888/tests/netwerk/test/mochitests/file_loopback_inner.html', 5, 2); 19 }); 20 } 21 </script> 22 <script class="testbody" type="text/javascript" src="file_testcommon.js"> 23 </script> 24 </pre> 25 </body> 26 </html>