Web Inspector: Copy Stack Trace lacks newlines on Windows
authorpfeldman@chromium.org <pfeldman@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Sep 2011 17:47:18 +0000 (17:47 +0000)
committerpfeldman@chromium.org <pfeldman@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Sep 2011 17:47:18 +0000 (17:47 +0000)
https://bugs.webkit.org/show_bug.cgi?id=68447

Reviewed by Joseph Pecoraro.

* inspector/front-end/CallStackSidebarPane.js:
(WebInspector.CallStackSidebarPane.prototype._copyStackTrace):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95554 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/inspector/front-end/CallStackSidebarPane.js

index b813052..c60e256 100644 (file)
@@ -1,5 +1,15 @@
 2011-09-20  Pavel Feldman  <pfeldman@google.com>
 
+        Web Inspector: Copy Stack Trace lacks newlines on Windows
+        https://bugs.webkit.org/show_bug.cgi?id=68447
+
+        Reviewed by Joseph Pecoraro.
+
+        * inspector/front-end/CallStackSidebarPane.js:
+        (WebInspector.CallStackSidebarPane.prototype._copyStackTrace):
+
+2011-09-20  Pavel Feldman  <pfeldman@google.com>
+
         Not reviewed: inspector sanity test fix.
 
         * inspector/front-end/inspector.js:
index 1c21520..7551b78 100644 (file)
@@ -137,7 +137,7 @@ WebInspector.CallStackSidebarPane.prototype = {
     {
         var text = "";
         for (var i = 0; i < this.placards.length; ++i)
-            text += this.placards[i]._text;
+            text += this.placards[i]._text + "\n";
         InspectorFrontendHost.copyText(text);
     },