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

Unified Diff: LayoutTests/inspector/debugger/source-url-comment.html

Issue 15832007: DevTools: Add support for //# sourceURL (sourceMappingURL) comments and deprecate //@ ones (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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
Index: LayoutTests/inspector/debugger/source-url-comment.html
diff --git a/LayoutTests/inspector/debugger/source-url-comment.html b/LayoutTests/inspector/debugger/source-url-comment.html
index 70bfcb223ec991d23f648af31cadfe18a42d5b0b..465eb1f3e65a4df14eaf1577f31d70e0d1844040 100644
--- a/LayoutTests/inspector/debugger/source-url-comment.html
+++ b/LayoutTests/inspector/debugger/source-url-comment.html
@@ -5,23 +5,23 @@
<script>
function keepAliveInInlineScript() { }
-//@ sourceURL=inlineScriptURL.js
+//# sourceURL=inlineScriptURL.js
</script>
<script>
function doEval()
{
- eval("function keepAlive() {}\n//@ sourceURL=evalURL.js");
+ eval("function keepAlive() {}\n//# sourceURL=evalURL.js");
}
function doEvalWithNonRelativeURL()
{
- eval("function relativeURLScript() {}\n//@ sourceURL=/js/nonRelativeURL.js");
+ eval("function relativeURLScript() {}\n//# sourceURL=/js/nonRelativeURL.js");
}
function doDynamicScript()
{
var scriptElement = document.createElement("script");
- scriptElement.textContent = "function keepAliveInDynamicScript() {}\n//@ sourceURL=dynamicScriptURL.js";
+ scriptElement.textContent = "function keepAliveInDynamicScript() {}\n//# sourceURL=dynamicScriptURL.js";
document.body.appendChild(scriptElement);
}

Powered by Google App Engine
This is Rietveld 408576698