blob: 9b93fc7ed6a4877f50751fb6eb0a713f2e930a91 [file] [log] [blame]
try {
var xhr = new XMLHttpRequest;
xhr.open("GET", "http://127.0.0.1:8000/xmlhttprequest/resources/get.txt", true);
postMessage("xhr allowed");
} catch(e) {
postMessage("xhr blocked");
}