charset-bom.any.html
Details
- Test
/html/semantics/scripting-1/the-script-element/json-module/charset-bom.any.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | UTF-8 BOM should be stripped when decoding JSON module script |
| FAIL | UTF-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… |
| FAIL | UTF-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… |