chromium/third_party/blink/web_tests/external/wpt/html/semantics/scripting-1/the-script-element/module/throw-error.js

window.before_throwing_error = true;
throw new Error;
window.after_throwing_error = true;