WebAssembly JS API: add Module.sections
[WebKit-https.git] / JSTests / ChangeLog
index bfae031..01c5593 100644 (file)
@@ -1,3 +1,18 @@
+2017-01-04  JF Bastien  <jfbastien@apple.com>
+
+        WebAssembly JS API: add Module.sections
+        https://bugs.webkit.org/show_bug.cgi?id=165159
+        <rdar://problem/29760326>
+
+        Reviewed by Mark Lam.
+
+        As described here: https://github.com/WebAssembly/design/blob/master/JS.md#webassemblymodulecustomsections
+
+        * wasm/Builder.js: allow custom sections to be duplicated
+        * wasm/js-api/Module.customSection.js: Added.
+        (assert.throws.WebAssembly.Module.prototype.customSections):
+        (assert.eq):
+
 2017-01-04  Saam Barati  <sbarati@apple.com>
 
         We don't properly handle exceptions inside the nativeCallTrampoline macro in the LLInt