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

Side by Side Diff: Source/devtools/front_end/network/NetworkPanel.js

Issue 448743002: DevTools: Linkify console stacks with blackboxing consideration. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: addressed Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2009 Anthony Ricaud <rik@webkit.org> 3 * Copyright (C) 2008, 2009 Anthony Ricaud <rik@webkit.org>
4 * Copyright (C) 2011 Google Inc. All rights reserved. 4 * Copyright (C) 2011 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 1016 matching lines...) Expand 10 before | Expand all | Expand 10 after
1027 { 1027 {
1028 this._linkifier.reset(); 1028 this._linkifier.reset();
1029 }, 1029 },
1030 1030
1031 /** 1031 /**
1032 * @param {!WebInspector.NetworkRequest} request 1032 * @param {!WebInspector.NetworkRequest} request
1033 * @return {!Element} 1033 * @return {!Element}
1034 */ 1034 */
1035 _generateScriptInitiatedPopoverContent: function(request) 1035 _generateScriptInitiatedPopoverContent: function(request)
1036 { 1036 {
1037 var framesTable = document.createElement("table"); 1037 var framesTable = document.createElementWithClass("table", "network-stac k-trace");
1038 1038
1039 /** 1039 /**
1040 * @param {!Array.<!ConsoleAgent.CallFrame>} stackTrace 1040 * @param {!Array.<!ConsoleAgent.CallFrame>} stackTrace
1041 * @this {WebInspector.NetworkLogView} 1041 * @this {WebInspector.NetworkLogView}
1042 */ 1042 */
1043 function appendStackTrace(stackTrace) 1043 function appendStackTrace(stackTrace)
1044 { 1044 {
1045 for (var i = 0; i < stackTrace.length; ++i) { 1045 for (var i = 0; i < stackTrace.length; ++i) {
1046 var stackFrame = stackTrace[i]; 1046 var stackFrame = stackTrace[i];
1047 var row = document.createElement("tr"); 1047 var row = document.createElement("tr");
(...skipping 2002 matching lines...) Expand 10 before | Expand all | Expand 10 after
3050 WebInspector.NetworkDataGridNode.RequestPropertyComparator = function(propertyNa me, revert, a, b) 3050 WebInspector.NetworkDataGridNode.RequestPropertyComparator = function(propertyNa me, revert, a, b)
3051 { 3051 {
3052 var aValue = a._request[propertyName]; 3052 var aValue = a._request[propertyName];
3053 var bValue = b._request[propertyName]; 3053 var bValue = b._request[propertyName];
3054 if (aValue > bValue) 3054 if (aValue > bValue)
3055 return revert ? -1 : 1; 3055 return revert ? -1 : 1;
3056 if (bValue > aValue) 3056 if (bValue > aValue)
3057 return revert ? 1 : -1; 3057 return revert ? 1 : -1;
3058 return a._request.indentityCompare(b._request); 3058 return a._request.indentityCompare(b._request);
3059 } 3059 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/inspectorStyle.css ('k') | Source/devtools/front_end/networkLogView.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698