WebAssembly: Don't allow duplicate export names
authorsbarati@apple.com <sbarati@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Dec 2016 03:10:04 +0000 (03:10 +0000)
committersbarati@apple.com <sbarati@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Dec 2016 03:10:04 +0000 (03:10 +0000)
commit0bdd65296f434335c9f4104f0793eaaa442ee7d2
tree43661007a47fe54a5df7204837d1a05d9c829be3
parent7ab9ed533a89f8719bebe6165ff25eaa26536c88
WebAssembly: Don't allow duplicate export names
https://bugs.webkit.org/show_bug.cgi?id=166490
<rdar://problem/29815000>

Reviewed by Keith Miller.

JSTests:

* wasm.yaml:
* wasm/function-tests/invalid-duplicate-export.js: Added.

Source/JavaScriptCore:

* wasm/WasmModuleParser.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@210203 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JSTests/ChangeLog
JSTests/wasm.yaml
JSTests/wasm/function-tests/invalid-duplicate-export.js [new file with mode: 0644]
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/wasm/WasmModuleParser.cpp