Bug 162706

Summary: Test WebAssembly
Product: WebKit Reporter: JF Bastien <jfbastien>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: ASSIGNED ---    
Severity: Normal CC: keith_miller
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on: 163420, 163421, 163422, 163424, 163425, 162870, 163267    
Bug Blocks: 146064    
Attachments:
Description Flags
JSON schema for the binary format, based on 0xC
none
JSON schema for the binary format, based on 0xC none

Description JF Bastien 2016-09-28 17:13:19 PDT
WebAssembly is a binary format, and that makes it annoying to test. Binary files are super opaque, changing them is painful, and creating new ones that do exactly what we want isn't always easy when trying to hit interesting corner cases in the spec.

It would be nicer to have textual support for WebAssembly testing.
Comment 1 JF Bastien 2016-09-28 17:14:03 PDT
Created attachment 290147 [details]
JSON schema for the binary format, based on 0xC
Comment 2 JF Bastien 2016-09-28 17:52:22 PDT
Created attachment 290154 [details]
JSON schema for the binary format, based on 0xC

Add categories as discussed with Keith. It'll make this file more useful, e.g. it can replace WASMOps.h. I'll add return and parameter information later.
Comment 3 JF Bastien 2016-10-03 15:54:44 PDT
Comment on attachment 290154 [details]
JSON schema for the binary format, based on 0xC

JSON file committed in https://bugs.webkit.org/show_bug.cgi?id=162870