Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1681)

Unified Diff: Source/devtools/front_end/ScriptSnippetModel.js

Issue 15832007: DevTools: Add support for //# sourceURL (sourceMappingURL) comments and deprecate //@ ones (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/ResourceScriptMapping.js ('k') | Source/devtools/front_end/TestController.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ScriptSnippetModel.js
diff --git a/Source/devtools/front_end/ScriptSnippetModel.js b/Source/devtools/front_end/ScriptSnippetModel.js
index 57908e119b7bee2c3609bfa04ac513ce4d0ffe27..28f2325ab1789b62e2f134bea088ed7da1c707ac 100644
--- a/Source/devtools/front_end/ScriptSnippetModel.js
+++ b/Source/devtools/front_end/ScriptSnippetModel.js
@@ -189,7 +189,7 @@ WebInspector.ScriptSnippetModel.prototype = {
// In case we don't need that since debugger is already paused.
// We do the same when we are stopped on the call frame since debugger is already paused and can not stop on breakpoint anymore.
if (WebInspector.debuggerModel.selectedCallFrame()) {
- expression = uiSourceCode.workingCopy() + "\n//@ sourceURL=" + evaluationUrl + "\n";
+ expression = uiSourceCode.workingCopy() + "\n//# sourceURL=" + evaluationUrl + "\n";
WebInspector.evaluateInConsole(expression, true);
return;
}
« no previous file with comments | « Source/devtools/front_end/ResourceScriptMapping.js ('k') | Source/devtools/front_end/TestController.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698