6957e23b54
The WebAssembly JavaScript Interface specifies[1] that exported functions are not constructors, hence do not have the "prototype" property. This is not true for asm.js exported functions which are expected to look like normal functions (or constructors). [1] https://webassembly.github.io/spec/js-api/index.html#exported-function-exotic-objects R=clemensh@chromium.org TEST=mjsunit/regress/regress-crbug-935800 BUG=chromium:935800 Change-Id: Idecacfb7f5d4668540589af95fd59872334c21a3 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1578499 Commit-Queue: Michael Starzinger <mstarzinger@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Michael Achenbach <machenbach@chromium.org> Reviewed-by: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#60943} |
||
---|---|---|
.. | ||
testdata | ||
BUILD.gn | ||
OWNERS | ||
PRESUBMIT.py | ||
v8_commands.py | ||
v8_foozzie_harness_adjust.js | ||
v8_foozzie_test.py | ||
v8_foozzie.py | ||
v8_fuzz_config.py | ||
v8_mock_archs.js | ||
v8_mock.js | ||
v8_sanity_checks.js | ||
v8_suppressions.js | ||
v8_suppressions.py |