[DevTools] simplify script with source map blackboxing
Current logic produces one Debugger.setBlackboxedRanges call on each scriptParsed event. It makes our frontend too much chatty. This CL simplify blackbox manager. With new logic blackbox manager sends Debugger.setBlackboxedRanges iff script has sourceMap and at least one sourceURL from sourceMap is blackboxed. When blackbox pattern changed frontend will send setBlackboxedRanges iff ranges are affected by change. R=lushnikov@chromium.org Change-Id: I8b9511f9feba50127de4add98c8d191877103145 Reviewed-on: https://chromium-review.googlesource.com/1162308 Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Reviewed-by:Andrey Lushnikov <lushnikov@chromium.org> Cr-Commit-Position: refs/heads/master@{#580742}
Showing
This diff is collapsed.
Please register or sign in to comment