Changeset 194066 in webkit
- Timestamp:
- Dec 14, 2015, 3:10:22 PM (11 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UserInterface/Views/ConsoleMessageView.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r194029 r194066 1 2015-12-14 Joseph Pecoraro <pecoraro@apple.com> 2 3 Web Inspector: Copy message from console with a stack trace does not include source code locations 4 https://bugs.webkit.org/show_bug.cgi?id=152270 5 6 Reviewed by Timothy Hatcher. 7 8 * UserInterface/Views/ConsoleMessageView.js: 9 (WebInspector.ConsoleMessageView.prototype.toClipboardString): 10 When the the StackTrace was upgraded to a real collection of CallFrame 11 object's the CallFrame's got real SourceCodeLocation properties. 12 1 13 2015-12-13 Matt Baker <mattbaker@apple.com> 2 14 -
trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.js
r193956 r194066 197 197 this._message.stackTrace.callFrames.forEach(function(frame) { 198 198 clipboardString += "\n\t" + (frame.functionName || WebInspector.UIString("(anonymous function)")); 199 if (frame. url)200 clipboardString += " (" + WebInspector.displayNameForURL(frame.url) + ", line " + frame.lineNumber+ ")";199 if (frame.sourceCodeLocation) 200 clipboardString += " (" + frame.sourceCodeLocation.originalLocationString() + ")"; 201 201 }); 202 202 } else {
Note:
See TracChangeset
for help on using the changeset viewer.