Bug 165997

Summary: WebAssembly: distinguish OOM errors on compile / validate
Product: WebKit Reporter: JF Bastien <jfbastien>
Component: JavaScriptCoreAssignee: 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    

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.