blob: 681a5a09d5c94a6ea47b94b5750860bb797dfc2b [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body>
<script>
const isAsynchronous = false;
var xhr = new XMLHttpRequest;
try {
xhr.open("GET", "resources/nph-fail.pl", isAsynchronous);
xhr.send();
alert("FAIL");
} catch (e) {
// FIXME: Assert that a specific exception is thrown.
alert("PASS");
}
</script>
</body>
</html>