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

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

Issue 1325833007: DevTools: Network request details: IP should follow after status code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) 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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698