Description[wasm] Fix imports with numbers as name
Object::GetProperty fails if the given name is a valid array index.
This CL switches to Object::GetPropertyOrElement for lookups of imports.
The new tests check that we now accept numbers as module name or
function name in FFI.
R=ahaas@chromium.org, titzer@chromium.org
Committed: https://crrev.com/c2db3b38989feb2825c7ce15fd944f446c6a2152
Cr-Commit-Position: refs/heads/master@{#41022}
Patch Set 1 #
Total comments: 2
Messages
Total messages: 12 (6 generated)
|