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

Unified Diff: Source/devtools/front_end/common/utilities.js

Issue 363973002: DevTools: bake generic css files into the concatenated one. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
Index: Source/devtools/front_end/common/utilities.js
diff --git a/Source/devtools/front_end/common/utilities.js b/Source/devtools/front_end/common/utilities.js
index fdb81dfb2c4f8a9e489b15818aa2e4ca08bfd13c..9b11360cb4cc8a76da1474029946afedd2d70684 100644
--- a/Source/devtools/front_end/common/utilities.js
+++ b/Source/devtools/front_end/common/utilities.js
@@ -1674,11 +1674,10 @@ function loadResource(url)
{
var xhr = new XMLHttpRequest();
xhr.open("GET", url, false);
- var stack = new Error().stack;
try {
xhr.send(null);
} catch (e) {
- console.error(url + " -> " + stack);
+ console.error(url + " -> " + new Error().stack);
throw e;
}
return xhr.responseText;

Powered by Google App Engine
This is Rietveld 408576698