v8/test/inspector/debugger/set-breakpoint-ignore-hint-when-no-location-expected.txt
Alexey Kozyatinskiy be3c2cdd8d [inspector] do not capture hint if there is no break location
If we have several scripts with the same url (see many <script> tags in
one page), then we try to set breakpoint only in script with given
lineNumber inside and ignore all other scripts. We should follow the
same logic when we capture hint for later breakpoint restore.

R=yangguo@chromium.org

Bug: none
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
Change-Id: I44a332ac64f62ec9a0d24d5fe4688f8ced125e39
Reviewed-on: https://chromium-review.googlesource.com/821053
Commit-Queue: Yang Guo <yangguo@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50019}
2017-12-12 06:13:51 +00:00

12 lines
231 B
Plaintext

Tests breakpoint when two scripts have the same url.
{
breakpointId : <breakpointId>
locations : [
[0] : {
columnNumber : 2
lineNumber : 2
scriptId : <scriptId>
}
]
}