v8/test
Jan Krems f9257802c1 Fix scanner-level error reporting for hashbang
When the file begins with a hashbang, the scanner is in a failed state
when SkipHashbang() is called. This is usually not an issue but when
the parser encounters an ILLEGAL token, it will reset the SyntaxError
location because of it.

Bug: v8:10110
Change-Id: I1c7344bf5ad20079cff80130c991f3bff4d7e9a8
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1995312
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/master@{#66038}
2020-01-30 09:28:16 +00:00
..
benchmarks
cctest [wasm-simd][liftoff] Implement i32x4.splat 2020-01-29 23:15:55 +00:00
common [wasm] Add missing type enum in switch statement and remove default 2020-01-24 10:36:01 +00:00
debugger PPC/s390: [wasm] skip liftoff debugger tests 2020-01-29 16:55:24 +00:00
fuzzer [wasm][fuzzer] Add atomic binops 2020-01-22 18:58:28 +00:00
inspector REPL mode must only re-write AST on successful parses 2020-01-28 13:09:13 +00:00
intl Hide date related types from Intl.DisplayNames 2019-12-19 19:31:09 +00:00
js-perf-test
memory
message Fix scanner-level error reporting for hashbang 2020-01-30 09:28:16 +00:00
mjsunit Revert "[wasm-simd] Fix scalar lowering of kParameter" 2020-01-29 20:38:00 +00:00
mkgrokdump
mozilla Remove and update some outdated TODO(mstarzinger). 2019-12-13 10:18:04 +00:00
test262 Roll Test262 2020-01-15 09:35:22 +00:00
torque [torque] use iterators and constructors for ExtractFixedArray 2020-01-16 13:51:04 +00:00
unittests Improve iterator_range to take non-&& arguments 2020-01-28 13:03:43 +00:00
wasm-api-tests [wasm] Clean up WASM_CALL_INDIRECT macros 2019-11-28 14:44:06 +00:00
wasm-js [wasm] Update spec tests 2020-01-24 16:48:11 +00:00
wasm-spec-tests [wasm] Update spec tests 2020-01-24 16:48:11 +00:00
webkit [class] Improve error message for calling anonymous class constructors 2019-12-05 21:13:07 +00:00
BUILD.gn
OWNERS