Bug 165471
Summary: | WebAssembly JS API: `this` value on imports | ||
---|---|---|---|
Product: | WebKit | Reporter: | JF Bastien <jfbastien> |
Component: | JavaScriptCore | Assignee: | JF Bastien <jfbastien> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | jfbastien, keith_miller, saam |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 165118 | ||
Bug Blocks: | 159775 |
JF Bastien
I'm not sure what the `this` value should be when calling imports. I'm setting it to `undefined` for now, but I could see it being the WebAssembly.Instance as well.
Test this as well, e.g. pass Number.isFinite as an import.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Saam Barati
We do the right thing. It should be undefined.