blob: 9851f156af272c575aaf74bd6180dbc9fe278ac7 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
var req = new XMLHttpRequest();
req.open('GET', location);
req.onerror = function() {
window.parent.postMessage('PASS', '*');
}
req.send();
</script>
</head>
<body>
Documents loaded from file: shouldn't be able to access themselves via XHR.
</body>
</html>