• Alexey Kozyatinskiy's avatar
    [inspector] added V8InspectorClient::resourceNameToUrl · dbfcc487
    Alexey Kozyatinskiy authored
    Some clients (see Node.js) use platform path as ScriptOrigin.
    Reporting platform path in protocol makes using protocol much harder.
    This CL introduced V8InspectorClient::resourceNameToUrl method that
    is called for any reported using protocol url.
    V8Inspector uses url internally as well so protocol client may generate
    pattern for blackboxing with file urls only and does not need to build
    complicated regexp that covers files urls and platform paths on
    different platforms.
    
    R=lushnikov@chromium.org
    TBR=yangguo@chromium.org
    
    Bug: none
    Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;luci.chromium.try:linux_chromium_rel_ng;master.tryserver.blink:linux_trusty_blink_rel
    Change-Id: Iff302e7441df922fa5d689fe510f5a9bfd470b9b
    Reviewed-on: https://chromium-review.googlesource.com/1164624
    Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
    Reviewed-by: 's avatarAlexei Filippov <alph@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#55029}
    dbfcc487
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...