Bug 166701

Summary: WebAssembly: Module.customSections test copying
Product: WebKit Reporter: JF Bastien <jfbastien>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: jfbastien, keith_miller, saam
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 165159    
Bug Blocks: 161709    

Description JF Bastien 2017-01-04 15:46:22 PST
In bug #165159 I forgot to check that the ArrayBuffer obtained is always a new object, not a view onto the old. This is important because modifying the ArrayBuffer shouldn't modify the original custom section (there would also be lifetime issues).