Bug 170296

Summary: WebAssembly: import / export must be UTF-8
Product: WebKit Reporter: JF Bastien <jfbastien>
Component: JavaScriptCoreAssignee: 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    

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.