-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DevTools: carefully cleanup javascript sourcemaps
This patch starts to detach JavaScript sourcemaps as the associated scripts go away (e.g. parent frame got detached). This patch makes javascript sourcemap management similar to CSS domain: - debuggerModel now has sourceMapManager - CompilerScriptMapping listens only to SourceMapManager events A few key differences arose: - We make sure that there's only one sourceMap per (executionContext, script.sourceURL, script.sourceMapURL). This is to support "browsersync" scenario and "hot script reload". - Since CompilerScriptMapping has a need for stubProjects, SourceMapManager is taught to send SourceMapWillAttach and SourceMapFailedToAttach events. BUG=670180, 685552 R=dgozman Review-Url: https://codereview.chromium.org/2784413003 Cr-Commit-Position: refs/heads/master@{#461303}
- Loading branch information
1 parent
152f290
commit 074cd71
Showing
9 changed files
with
205 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters