v8/test
Caitlin Potter 26ffd5bf94 [parser] report early error when assigning to a tagged template call
Previously, Function("++f`...`) would not throw an exception until the
created function was called. Now, it throws an early ReferenceError.

This change matches the behaviour in JavaScriptCore and SpiderMonkey.

Ordinary calls such as Function("++f()") are still thrown at runtime,
also compatible with JavaScriptCore and SpiderMonkey.

BUG=v8:4480, v8:6910
R=marja@chromium.org, littledan@chromium.org

Change-Id: If31c6d360a0464744eff5d8dd377ebff184ae00e
Reviewed-on: https://chromium-review.googlesource.com/712794
Commit-Queue: Caitlin Potter <caitp@igalia.com>
Reviewed-by: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48553}
2017-10-13 14:51:15 +00:00
..
benchmarks [test] Remove deprecated test-download feature 2017-10-11 15:18:19 +00:00
cctest [objects.h splitting] Move Code & related classes. 2017-10-13 14:22:11 +00:00
common [wasm] [multival] Reland: Allow function types as block types 2017-10-11 14:59:49 +00:00
debugger [test] Skip some debugger tests under stress_incremental_marking 2017-10-06 12:49:23 +00:00
fuzzer [fuzzer] Documentation: fix link for build configurations reference. 2017-10-05 16:45:12 +00:00
inspector [inspector] provisional breakpoints for anonymous script 2017-10-07 19:08:35 +00:00
intl Correct the misuse of uloc_{to,from}LanguageTag 2017-10-12 06:33:35 +00:00
js-perf-test Implement microbenchmark for has-in idiom 2017-09-13 08:48:44 +00:00
memory [snapshot] add tracking for builtin snapshot size. 2017-08-31 07:29:31 +00:00
message [d8] Don't print prefix for console.log in d8 2017-10-13 13:56:32 +00:00
mjsunit [parser] report early error when assigning to a tagged template call 2017-10-13 14:51:15 +00:00
mkgrokdump
mozilla Reland "[d8] implement setTimeout." 2017-09-05 07:30:46 +00:00
preparser
promises-aplus [test] Remove deprecated test-download feature 2017-10-11 15:18:19 +00:00
test262 [regexp] Update semantics of GetSubstitution with named captures 2017-10-10 11:37:29 +00:00
unittests [objects.h splitting] Move Code & related classes. 2017-10-13 14:22:11 +00:00
wasm-spec-tests [wasm] Update spec tests 2017-10-10 11:35:50 +00:00
webkit Reland "[build] Switch windows default compilation to MSVS 2017" 2017-09-29 09:36:49 +00:00
bot_default.gyp
bot_default.isolate
BUILD.gn
default.gyp
default.isolate
optimize_for_size.gyp
optimize_for_size.isolate
perf.gyp
perf.isolate