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) IBM Corp. 2009 All rights reserved. | 3 * Copyright (C) IBM Corp. 2009 All rights reserved. |
4 * Copyright (C) 2010 Google Inc. All rights reserved. | 4 * Copyright (C) 2010 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 this._filterInput.value = this._requestHeaderFilterSetting.get() || ""; | 57 this._filterInput.value = this._requestHeaderFilterSetting.get() || ""; |
58 } | 58 } |
59 | 59 |
60 var root = new TreeOutline(true); | 60 var root = new TreeOutline(true); |
61 root.element.classList.add("outline-disclosure"); | 61 root.element.classList.add("outline-disclosure"); |
62 root.expandTreeElementsWhenArrowing = true; | 62 root.expandTreeElementsWhenArrowing = true; |
63 this.element.appendChild(root.element); | 63 this.element.appendChild(root.element); |
64 | 64 |
65 var generalCategory = new WebInspector.RequestHeadersView.Category(root, "ge
neral", WebInspector.UIString("General")); | 65 var generalCategory = new WebInspector.RequestHeadersView.Category(root, "ge
neral", WebInspector.UIString("General")); |
66 generalCategory.hidden = false; | 66 generalCategory.hidden = false; |
67 this._remoteAddressItem = generalCategory.createLeaf(); | |
68 this._remoteAddressItem.hidden = true; | |
69 this._urlItem = generalCategory.createLeaf(); | 67 this._urlItem = generalCategory.createLeaf(); |
70 this._requestMethodItem = generalCategory.createLeaf(); | 68 this._requestMethodItem = generalCategory.createLeaf(); |
71 this._statusCodeItem = generalCategory.createLeaf(); | 69 this._statusCodeItem = generalCategory.createLeaf(); |
| 70 this._remoteAddressItem = generalCategory.createLeaf(); |
| 71 this._remoteAddressItem.hidden = true; |
72 | 72 |
73 this._responseHeadersCategory = new WebInspector.RequestHeadersView.Category
(root, "responseHeaders", ""); | 73 this._responseHeadersCategory = new WebInspector.RequestHeadersView.Category
(root, "responseHeaders", ""); |
74 this._requestHeadersCategory = new WebInspector.RequestHeadersView.Category(
root, "requestHeaders", ""); | 74 this._requestHeadersCategory = new WebInspector.RequestHeadersView.Category(
root, "requestHeaders", ""); |
75 this._queryStringCategory = new WebInspector.RequestHeadersView.Category(roo
t, "queryString", ""); | 75 this._queryStringCategory = new WebInspector.RequestHeadersView.Category(roo
t, "queryString", ""); |
76 this._formDataCategory = new WebInspector.RequestHeadersView.Category(root,
"formData", ""); | 76 this._formDataCategory = new WebInspector.RequestHeadersView.Category(root,
"formData", ""); |
77 this._requestPayloadCategory = new WebInspector.RequestHeadersView.Category(
root, "requestPayload", WebInspector.UIString("Request Payload")); | 77 this._requestPayloadCategory = new WebInspector.RequestHeadersView.Category(
root, "requestPayload", WebInspector.UIString("Request Payload")); |
78 | 78 |
79 | 79 |
80 if (Runtime.experiments.isEnabled("networkRequestHeadersFilterInDetailsView"
)) { | 80 if (Runtime.experiments.isEnabled("networkRequestHeadersFilterInDetailsView"
)) { |
81 this._updateFilter(); | 81 this._updateFilter(); |
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
571 this._expandedSetting.set(true); | 571 this._expandedSetting.set(true); |
572 }, | 572 }, |
573 | 573 |
574 oncollapse: function() | 574 oncollapse: function() |
575 { | 575 { |
576 this._expandedSetting.set(false); | 576 this._expandedSetting.set(false); |
577 }, | 577 }, |
578 | 578 |
579 __proto__: TreeElement.prototype | 579 __proto__: TreeElement.prototype |
580 } | 580 } |
OLD | NEW |