v8/test/inspector/regress/regress-crbug-1183664-expected.txt
Benedikt Meurer 81b9159158 [inspector] Properly filter by column number for inline scripts.
Previously `setBreakpointByUrl` and friends would only filter based on
line number to find matching scripts. But that didn't work when there
were multiple scripts in the same line (i.e. minified HTML), and we'd
end up setting multiple breakpoints in different inline scripts, looking
for the next possible break location in each of them individually.

Fixed: chromium:1183664
Also-By: pfaffe@chromium.org, kimanh@chromium.org
Change-Id: I957811d30aa71609a38da75f33a24c0f720116f6
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2749155
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Kim-Anh Tran <kimanh@chromium.org>
Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Kim-Anh Tran <kimanh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73332}
2021-03-11 08:52:25 +00:00

20 lines
366 B
Plaintext

Regression test for crbug.com/1183664
Running test: testMultipleScriptsInSameLineWithSameURL
Setting breakpoint in first script
[
[0] : {
columnNumber : 1
lineNumber : 0
scriptId : <scriptId>
}
]
Setting breakpoint in second script
[
[0] : {
columnNumber : 65
lineNumber : 0
scriptId : <scriptId>
}
]