[filesapp] Append sourceURL to JavaScript foreground elements
Append sourceURL comment to allow Devtools to map parsed scripts back to their source location. This new source location is surfaced in the Sources tab in Devtools as well as the Chrome Devtools Protocol event Debugger.scriptParsed which is used during JavaScript code coverage. This also updates 2 of the vars to const's for the FilesToggleRipple and the FilesRipple. Bug: 1113941 Test: None Change-Id: I3344dc18ec678bd76190ede3a5ee80f440db4e43 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2505743 Commit-Queue: Ben Reich <benreich@chromium.org> Reviewed-by:Luciano Pacheco <lucmult@chromium.org> Reviewed-by:
Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#823055}
Showing
Please register or sign in to comment