8 var request
= new XMLHttpRequest();
9 request
.open("GET", "file:///c:/foo.txt", false);
14 document
.getElementById("console").appendChild(
15 document
.createTextNode(success
? "SUCCESS" : "FAILURE"));
18 function DidSucceed() {
24 <body onload=
"OnLoad();">
25 This page sends a synchronous XMLHttpRequest to fetch a local file, which
26 should not be allowed.
27 <div id=
"console"></div>