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

Unified Diff: Source/devtools/front_end/TestController.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/ScriptSnippetModel.js ('k') | Source/devtools/front_end/View.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/TestController.js
diff --git a/Source/devtools/front_end/TestController.js b/Source/devtools/front_end/TestController.js
index cf0c32ed7f81f6bfecd22a3267e20eececddb7b6..ffb023804f8a0ea387c29d8e16cde262c3bb6cc7 100644
--- a/Source/devtools/front_end/TestController.js
+++ b/Source/devtools/front_end/TestController.js
@@ -37,7 +37,7 @@ WebInspector.evaluateForTestInFrontend = function(callId, script)
{
var message;
try {
- script = script + "//@ sourceURL=evaluateInWebInspector" + callId + ".js";
+ script = script + "//# sourceURL=evaluateInWebInspector" + callId + ".js";
var result = window.eval(script);
message = typeof result === "undefined" ? "\"<undefined>\"" : JSON.stringify(result);
} catch (e) {
« no previous file with comments | « Source/devtools/front_end/ScriptSnippetModel.js ('k') | Source/devtools/front_end/View.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698