Bug 162706 - Test WebAssembly
Summary: Test WebAssembly
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 163420 163421 163422 163424 163425 162870 163267
Blocks: 146064
  Show dependency treegraph
 
Reported: 2016-09-28 17:13 PDT by JF Bastien
Modified: 2020-01-24 09:18 PST (History)
1 user (show)

See Also:


Attachments
JSON schema for the binary format, based on 0xC (16.98 KB, application/json)
2016-09-28 17:14 PDT, JF Bastien
no flags Details
JSON schema for the binary format, based on 0xC (21.50 KB, application/json)
2016-09-28 17:52 PDT, JF Bastien
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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