• Alexey Kozyatinskiy's avatar
    Reland "inspector: find magic comment using V8 scanner" · cd7f9c63
    Alexey Kozyatinskiy authored
    This is a reland of 1b3b808a
    
    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,verwaest@chromium.org,yangguo@chromium.org
    
    Bug: chromium:873865, v8:7731
    Change-Id: I097678fda0ebdcbd35a85be0bb6cf0fcb052bcbd
    Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel
    Reviewed-on: https://chromium-review.googlesource.com/1195533
    Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
    Reviewed-by: 's avatarAleksey Kozyatinskiy <kozyatinskiy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#55507}
    cd7f9c63
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
s390 Loading commit data...
x64 Loading commit data...
OWNERS Loading commit data...
debug-coverage.cc Loading commit data...
debug-coverage.h Loading commit data...
debug-evaluate.cc Loading commit data...
debug-evaluate.h Loading commit data...
debug-frames.cc Loading commit data...
debug-frames.h Loading commit data...
debug-interface.h Loading commit data...
debug-scope-iterator.cc Loading commit data...
debug-scope-iterator.h Loading commit data...
debug-scopes.cc Loading commit data...
debug-scopes.h Loading commit data...
debug-stack-trace-iterator.cc Loading commit data...
debug-stack-trace-iterator.h Loading commit data...
debug-type-profile.cc Loading commit data...
debug-type-profile.h Loading commit data...
debug.cc Loading commit data...
debug.h Loading commit data...
interface-types.h Loading commit data...
liveedit.cc Loading commit data...
liveedit.h Loading commit data...