We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://wpt.fyi/results/html/semantics/scripting-1/the-script-element/json-module/parse-error.html?label=master&label=experimental&aligned&q=label%3Ainterop-2025-modules
This test checks some details of an ErrorEvent thrown when an imported JSON module has a syntax error.
ErrorEvent
assert_true(e instanceof ErrorEvent, "ErrorEvent"); assert_equals(e.filename, new URL("parse-error.json", location).href); assert_true(e.error instanceof SyntaxError, "SyntaxError");
But, the value of the filename property is implementation-defined. See https://html.spec.whatwg.org/#report-an-exception and https://html.spec.whatwg.org/#extract-error.
filename
All browsers currently fail this test. The check for filename should be removed, or maybe the test should be removed from the focus area.
The text was updated successfully, but these errors were encountered:
Seems fine to me.
Sorry, something went wrong.
cc @allstarschh @jgraham
cc @allstarschh
LGTM, thanks
No branches or pull requests
Test List
https://wpt.fyi/results/html/semantics/scripting-1/the-script-element/json-module/parse-error.html?label=master&label=experimental&aligned&q=label%3Ainterop-2025-modules
Rationale
This test checks some details of an
ErrorEvent
thrown when an imported JSON module has a syntax error.But, the value of the
filename
property is implementation-defined. See https://html.spec.whatwg.org/#report-an-exception and https://html.spec.whatwg.org/#extract-error.All browsers currently fail this test. The check for
filename
should be removed, or maybe the test should be removed from the focus area.The text was updated successfully, but these errors were encountered: