Bug 165997 - WebAssembly: distinguish OOM errors on compile / validate
Summary: WebAssembly: distinguish OOM errors on compile / validate
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 161709
  Show dependency treegraph
 
Reported: 2016-12-17 11:02 PST by JF Bastien
Modified: 2020-01-24 09:18 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JF Bastien 2016-12-17 11:02:54 PST
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.