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 10 matching lines...) Expand all Loading... |
21 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | 21 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
22 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY | 22 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY |
23 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | 23 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
26 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 importScript("HAREntry.js"); | |
32 importScript("RequestView.js"); | |
33 importScript("NetworkItemView.js"); | |
34 importScript("RequestCookiesView.js"); | |
35 importScript("RequestHeadersView.js"); | |
36 importScript("RequestHTMLView.js"); | |
37 importScript("RequestJSONView.js"); | |
38 importScript("RequestPreviewView.js"); | |
39 importScript("RequestResponseView.js"); | |
40 importScript("RequestTimingView.js"); | |
41 importScript("ResourceWebSocketFrameView.js"); | |
42 | |
43 /** | 31 /** |
44 * @constructor | 32 * @constructor |
45 * @implements {WebInspector.Searchable} | 33 * @implements {WebInspector.Searchable} |
46 * @implements {WebInspector.TargetManager.Observer} | 34 * @implements {WebInspector.TargetManager.Observer} |
47 * @extends {WebInspector.VBox} | 35 * @extends {WebInspector.VBox} |
48 * @param {!WebInspector.FilterBar} filterBar | 36 * @param {!WebInspector.FilterBar} filterBar |
49 * @param {!WebInspector.Setting} coulmnsVisibilitySetting | 37 * @param {!WebInspector.Setting} coulmnsVisibilitySetting |
50 */ | 38 */ |
51 WebInspector.NetworkLogView = function(filterBar, coulmnsVisibilitySetting) | 39 WebInspector.NetworkLogView = function(filterBar, coulmnsVisibilitySetting) |
52 { | 40 { |
(...skipping 2997 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3050 WebInspector.NetworkDataGridNode.RequestPropertyComparator = function(propertyNa
me, revert, a, b) | 3038 WebInspector.NetworkDataGridNode.RequestPropertyComparator = function(propertyNa
me, revert, a, b) |
3051 { | 3039 { |
3052 var aValue = a._request[propertyName]; | 3040 var aValue = a._request[propertyName]; |
3053 var bValue = b._request[propertyName]; | 3041 var bValue = b._request[propertyName]; |
3054 if (aValue > bValue) | 3042 if (aValue > bValue) |
3055 return revert ? -1 : 1; | 3043 return revert ? -1 : 1; |
3056 if (bValue > aValue) | 3044 if (bValue > aValue) |
3057 return revert ? 1 : -1; | 3045 return revert ? 1 : -1; |
3058 return a._request.indentityCompare(b._request); | 3046 return a._request.indentityCompare(b._request); |
3059 } | 3047 } |
OLD | NEW |