v8/test/inspector
Yang Guo 4a96850aeb Revert "inspector: find magic comment using V8 scanner"
This reverts commit 1b3b808a54.

Reason for revert: crbug/879988

TBR=kozy@chromium.org

Original change's description:
> inspector: find magic comment using V8 scanner
>
> Inspector tries to provide sourceURL and sourceMappingURL for scripts
> with parser errors. Without this CL we convert source of each script
> to inspector string and search for magic comment there. Some web sites
> use pattern when they get some data from network and constantly try to
> parse this data as JSON, in this case we do a lot of useless work.
>
> So we can parse magic comments on V8 side only for compilation errors
> (excluding parse JSON errors), to do it we can reuse scanner by running
> it on each potential comment.
>
> R=​alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org
>
> Bug: chromium:873865,v8:7731
> Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel
> Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104
> Reviewed-on: https://chromium-review.googlesource.com/1182446
> Reviewed-by: Toon Verwaest <verwaest@chromium.org>
> Reviewed-by: Alexei Filippov <alph@chromium.org>
> Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#55280}

TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: chromium:873865, v8:7731, chromium:879988
Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46
Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel
Reviewed-on: https://chromium-review.googlesource.com/1202583
Commit-Queue: Yang Guo <yangguo@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55594}
2018-09-03 18:42:28 +00:00
..
console Revert "[inspector] RemoteObject.description should be empty for primitive type" 2018-05-31 18:52:08 +00:00
cpu-profiler Revert "[inspector] RemoteObject.description should be empty for primitive type" 2018-05-31 18:52:08 +00:00
debugger Revert "inspector: find magic comment using V8 scanner" 2018-09-03 18:42:28 +00:00
heap-profiler [heap-profiler] Annotate global handles retained by console and debugger. 2018-02-19 12:21:52 +00:00
runtime [scanner] Don't muck with positions of EOS in Next 2018-08-29 14:08:41 +00:00
sessions Revert "[inspector] RemoteObject.description should be empty for primitive type" 2018-05-31 18:52:08 +00:00
type-profiler Reland "[inspector] fixed location of top level function return" 2018-06-18 21:37:49 +00:00
BUILD.gn Remove manual references to exe_and_shlib_deps 2018-06-04 18:35:43 +00:00
DEPS
inspector-test.cc [inspector] added V8InspectorClient::resourceNameToUrl 2018-08-09 21:36:24 +00:00
inspector.status [debug] retire ScriptWrapper 2018-07-05 21:33:03 +00:00
isolate-data.cc [inspector] added V8InspectorClient::resourceNameToUrl 2018-08-09 21:36:24 +00:00
isolate-data.h [inspector] added V8InspectorClient::resourceNameToUrl 2018-08-09 21:36:24 +00:00
json-parse-expected.txt
json-parse.js
OWNERS
PRESUBMIT.py [inspector] added blink try bots on inspector tests change 2018-06-18 21:38:59 +00:00
protocol-test.js [inspector] reworked async stack instrumentation for async functions 2018-05-30 16:01:59 +00:00
task-runner.cc Cleanup: Use std::atomic<T> instead of base::AtomicNumber<T> in TaskRunner. 2018-07-12 07:22:06 +00:00
task-runner.h Cleanup: Use std::atomic<T> instead of base::AtomicNumber<T> in TaskRunner. 2018-07-12 07:22:06 +00:00
testcfg.py [test] Remove context usage from test processors 2018-02-01 10:35:02 +00:00