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 upSyntax errors from bad Javascript in an onclick attribute string never reach onerror #25195
Labels
Projects
Comments
|
Looking closer at the code and spec now to see what step should throw and whether adding the throw would be an easy change or a hard one. |
|
There's a FIXME #13152 in there; this is a piece of a bigger problem and basically a duplicate issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is in WPT html/webappapis/scripting/processing-model-2/compile-error-in-attribute.html. The situation is somwhat similar to #25194 but when the syntax error is in an onclick attribute string, instead of a string argument to setTimeout/setInterval, onerror never even gets called in the first place.