aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/wasm/jsapi/module/customSections.any.js
diff options
context:
space:
mode:
authorWPT Sync Bot <josh+wptsync@joshmatthews.net>2018-09-27 21:57:09 -0400
committerWPT Sync Bot <josh+wptsync@joshmatthews.net>2018-09-27 23:48:13 -0400
commit7295abcc2a655f42e87640d157068db40de088fb (patch)
treed4aa79101326f34c0bbbacaa7fb4d4b048d4780f /tests/wpt/web-platform-tests/wasm/jsapi/module/customSections.any.js
parent0964d055cd2c390439a007bca3099258fa2ada3f (diff)
downloadservo-7295abcc2a655f42e87640d157068db40de088fb.tar.gz
servo-7295abcc2a655f42e87640d157068db40de088fb.zip
Update web-platform-tests to revision 36634cbcf3253dfe8d220990a27ad4eeebf8ec2f
Diffstat (limited to 'tests/wpt/web-platform-tests/wasm/jsapi/module/customSections.any.js')
-rw-r--r--tests/wpt/web-platform-tests/wasm/jsapi/module/customSections.any.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/wasm/jsapi/module/customSections.any.js b/tests/wpt/web-platform-tests/wasm/jsapi/module/customSections.any.js
index 58ac63b61c9..04c5abed524 100644
--- a/tests/wpt/web-platform-tests/wasm/jsapi/module/customSections.any.js
+++ b/tests/wpt/web-platform-tests/wasm/jsapi/module/customSections.any.js
@@ -160,3 +160,8 @@ test(() => {
bytes,
]);
}, "Custom sections with U+FFFD");
+
+test(() => {
+ const module = new WebAssembly.Module(emptyModuleBinary);
+ assert_sections(WebAssembly.Module.customSections(module, "", {}), []);
+}, "Stray argument");