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    

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