Chromium Code Reviews
DescriptionDevTools: fix breakpoints in Node.js
We assume that scripts either have a sane URL.
As of today, node.js reports a file path instead of URL - which is not
a URL. For this reason, when the script enters DevTools front-end,
we convert the file path into URL (with a file:// protocol).
This patch additionally starts converting file URLs back to script paths
when necessary to support setBreakpointByURL protocol method.
BUG=662082
R=dgozman, kozyatinskiy
Committed: https://crrev.com/f07ac873c3b8c70d31de57e15d5daac00ab95df7
Cr-Commit-Position: refs/heads/master@{#429661}
Patch Set 1 #Patch Set 2 : add test #
Messages
Total messages: 11 (5 generated)
|
|||||||||||||||||||||||||||||||||||||