| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 }, | 63 }, |
| 64 | 64 |
| 65 /** | 65 /** |
| 66 * @return {!WebInspector.NetworkRequest} | 66 * @return {!WebInspector.NetworkRequest} |
| 67 */ | 67 */ |
| 68 request: function() | 68 request: function() |
| 69 { | 69 { |
| 70 return this._request; | 70 return this._request; |
| 71 }, | 71 }, |
| 72 | 72 |
| 73 /** |
| 74 * @return {boolean} |
| 75 */ |
| 76 isNavigationRequest: function() |
| 77 { |
| 78 return this._isNavigationRequest; |
| 79 }, |
| 80 |
| 73 markAsNavigationRequest: function() | 81 markAsNavigationRequest: function() |
| 74 { | 82 { |
| 75 this._isNavigationRequest = true; | 83 this._isNavigationRequest = true; |
| 76 this.refresh(); | 84 this.refresh(); |
| 77 }, | 85 }, |
| 78 | 86 |
| 79 /** | 87 /** |
| 80 * @override | 88 * @override |
| 81 * @return {number} | 89 * @return {number} |
| 82 */ | 90 */ |
| (...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 765 WebInspector.NetworkDataGridNode.ResponseHeaderDateComparator = function(propert
yName, a, b) | 773 WebInspector.NetworkDataGridNode.ResponseHeaderDateComparator = function(propert
yName, a, b) |
| 766 { | 774 { |
| 767 var aHeader = a._request.responseHeaderValue(propertyName); | 775 var aHeader = a._request.responseHeaderValue(propertyName); |
| 768 var bHeader = b._request.responseHeaderValue(propertyName); | 776 var bHeader = b._request.responseHeaderValue(propertyName); |
| 769 var aValue = aHeader ? new Date(aHeader).getTime() : -Infinity; | 777 var aValue = aHeader ? new Date(aHeader).getTime() : -Infinity; |
| 770 var bValue = bHeader ? new Date(bHeader).getTime() : -Infinity; | 778 var bValue = bHeader ? new Date(bHeader).getTime() : -Infinity; |
| 771 if (aValue === bValue) | 779 if (aValue === bValue) |
| 772 return a._request.indentityCompare(b._request); | 780 return a._request.indentityCompare(b._request); |
| 773 return aValue > bValue ? 1 : -1; | 781 return aValue > bValue ? 1 : -1; |
| 774 } | 782 } |
| OLD | NEW |