charset-bom.any.html

FAILExpected1 of 3 subtests pass301 ms

Details

Test
/html/semantics/scripting-1/the-script-element/json-module/charset-bom.any.html
Harness
OK

Subtests

StatusSubtestMessage
PASSUTF-8 BOM should be stripped when decoding JSON module script
FAILUTF-16BE BOM should result in parse error in JSON module script
promise_rejects_js: Expected parse error from UTF-16BE BOM function "function() { throw e; }" threw object "Error: Module not found: http://web-platform.test:8000/html/semantics/scripting-1/the-script…
promise_rejects_js: Expected parse error from UTF-16BE BOM function "function() { throw e; }" threw object "Error: Module not found: http://web-platform.test:8000/html/semantics/scripting-1/the-script…
FAILUTF-16LE BOM should result in parse error in JSON module script
promise_rejects_js: Expected parse error from UTF-16LE BOM function "function() { throw e; }" threw object "Error: Module not found: http://web-platform.test:8000/html/semantics/scripting-1/the-script…
promise_rejects_js: Expected parse error from UTF-16LE BOM function "function() { throw e; }" threw object "Error: Module not found: http://web-platform.test:8000/html/semantics/scripting-1/the-script…