Bug 170296
Summary: | WebAssembly: import / export must be UTF-8 | ||
---|---|---|---|
Product: | WebKit | Reporter: | JF Bastien <jfbastien> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED CONFIGURATION CHANGED | ||
Severity: | Normal | CC: | fpizlo, jfbastien, keith_miller, mark.lam, msaboff, saam |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 161709 |
JF Bastien
I think we already do the right thing, but this recently got formalized and we should double-check:
https://github.com/WebAssembly/design/pull/1016
Validation is documented here:
https://encoding.spec.whatwg.org/#utf-8-decode-without-bom-or-fail
While we're there, also check that we don't normalize.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
JF Bastien
FWIW the new test hasn't been committed yet:
https://github.com/WebAssembly/spec/pull/450
JF Bastien
Keith says this is done.