Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUser scripts that throw an exception during initial execution trigger a panic #22696
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This happens because the
errorevent is fired, and the script is executed while the parser is active (and thus anydocument.writecall would trigger a borrow error). We should probably find a way to treat this more like an inline script element, rather than executing the JS directly.