<!DOCTYPE HTML> | |
<html> | |
<head> | |
<script src="../resources/js-test-pre.js"></script> | |
</head> | |
<body> | |
<script> | |
description("This test should run without throwing an exception."); | |
Array.prototype.forEach = function() { | |
throw "User overriden"; | |
}; | |
let headers = new Headers({a:1}); | |
let headers2 = new Headers(headers); | |
</script> | |
<script src="../resources/js-test-post.js"></script> | |
</body> | |
</html> |