v8/test
Alexey Kozyatinskiy 6db8a9c079 [inspector] cleanup old failed to parse anonymous scripts
We already cleanup these scripts on frontend side. It is crucial to
cleanup them on backend side as well, since some web applications use
following logic: get some data from network, add this data to buffer,
try to parse buffer using JSON.parse. On each unsuccessfull JSON.parse
we get another scriptFailedToParse event.

Frontend logic of discarding scripts: https://goo.gl/FDtaWK

Some idea of smarter logic here: track what script ids are reported
using protocol and cleanup only script ids which reported not only as
part of scriptFailedToParse event.

R=alph@chromium.org

Bug: chromium:810812
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
Change-Id: Ifd67764c232e4abc7dc6e8e69a651bf9ac0e381b
Reviewed-on: https://chromium-review.googlesource.com/919834
Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Reviewed-by: Alexei Filippov <alph@chromium.org>
Cr-Commit-Position: refs/heads/master@{#51337}
2018-02-16 20:55:24 +00:00
..
benchmarks [test] Forgive tests timing out on num-fuzzers 2018-02-08 23:08:05 +00:00
cctest Set RuntimeAgent evaluate to use DebugEvaluate::Global 2018-02-16 19:56:20 +00:00
common [wasm] Add remaining saturating conversions 2018-02-07 19:45:39 +00:00
debugger [promisehook] Check for JSReceiver in runtime function 2018-02-08 17:28:54 +00:00
fuzzer [multi-return] Restrict number of params and returns in the fuzzer 2018-02-12 10:07:38 +00:00
inspector [inspector] cleanup old failed to parse anonymous scripts 2018-02-16 20:55:24 +00:00
intl [test] Remove context usage from test processors 2018-02-01 10:35:02 +00:00
js-perf-test Add Peter as an owner of the JSTests benchmark 2018-02-13 02:49:25 +00:00
memory [snapshot] add tracking for builtin snapshot size. 2017-08-31 07:29:31 +00:00
message [parsing] Provide location for function redeclaration error. 2018-02-01 20:46:11 +00:00
mjsunit Remove mtrofin and rossberg from OWNERS 2018-02-15 23:48:43 +00:00
mkgrokdump [test] Remove context usage from test processors 2018-02-01 10:35:02 +00:00
mozilla [test] Remove context usage from test processors 2018-02-01 10:35:02 +00:00
preparser [test] Remove dead code from suites and tests 2018-02-01 14:12:49 +00:00
test262 [typedarray] Port TA.p.filter to CSA 2018-02-14 12:20:09 +00:00
unittests Work on -Wimplicit-fallthrough for v8 2018-02-16 13:32:25 +00:00
wasm-spec-tests Remove mtrofin and rossberg from OWNERS 2018-02-15 23:48:43 +00:00
webkit Revert "[builtins] Mega-revert to address the Dev blocker in crbug.com/808911." 2018-02-08 17:25:13 +00:00
bot_default.isolate
BUILD.gn [test] Add a d8_default test suite collection 2018-01-12 15:18:04 +00:00
d8_default.isolate [test] Add a d8_default test suite collection 2018-01-12 15:18:04 +00:00
default.isolate
optimize_for_size.isolate
perf.isolate Reland "Reland "[test] Creating command before execution phase."" 2017-12-04 13:40:29 +00:00