| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |