Bug 165997
| Summary: | WebAssembly: distinguish OOM errors on compile / validate | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | JF Bastien <jfbastien> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | ASSIGNED | ||
| Severity: | Normal | CC: | jfbastien, keith_miller, saam |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 161709 | ||
JF Bastien
Right now we treat them the same, we should throw whatever OOM JS usually does. This means making the std::expected API take String+ErrorType as its unexpected result, and bubbling that up appropriately.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |