Bug 170296 - WebAssembly: import / export must be UTF-8
Summary: WebAssembly: import / export must be UTF-8
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 161709
  Show dependency treegraph
 
Reported: 2017-03-30 12:58 PDT by JF Bastien
Modified: 2017-04-14 16:22 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JF Bastien 2017-03-30 12:58:17 PDT
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.
Comment 1 JF Bastien 2017-04-04 16:21:26 PDT
FWIW the new test hasn't been committed yet:
  https://github.com/WebAssembly/spec/pull/450
Comment 2 JF Bastien 2017-04-14 16:22:35 PDT
Keith says this is done.