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

Unified Diff: LayoutTests/inspector/console/resources/stack-with-sourceUrl.js

Issue 674513002: DevTools: linkify relative links in console.log(new Error().stack) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix tests Created 6 years, 1 month 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/console/resources/stack-with-sourceUrl.js
diff --git a/LayoutTests/inspector/console/resources/stack-with-sourceUrl.js b/LayoutTests/inspector/console/resources/stack-with-sourceUrl.js
new file mode 100644
index 0000000000000000000000000000000000000000..58bc0dfd0836495c5d6b7bab58dc41627f444c6d
--- /dev/null
+++ b/LayoutTests/inspector/console/resources/stack-with-sourceUrl.js
@@ -0,0 +1,10 @@
+var c = "Some test"
+
+function namedFunction()
+{
+ console.log(new Error(c).stack);
+}
+
+namedFunction();
+
+//@ sourceURL=foob.js
« no previous file with comments | « LayoutTests/inspector/console/resources/stack-with-sourceMap.map ('k') | Source/devtools/front_end/bindings/ResourceUtils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698