Changeset 92213 in webkit
- Timestamp:
- Aug 2, 2011 11:41:36 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r92211 r92213 1 2011-08-02 Vsevolod Vlasov <vsevik@chromium.org> 2 3 Web Inspector: Remove initator column for JSC, fix network resource initiator tests. 4 https://bugs.webkit.org/show_bug.cgi?id=65534 5 6 Reviewed by Pavel Feldman. 7 8 * http/tests/inspector/network/network-initiator-expected.txt: 9 * http/tests/inspector/network/network-initiator.html: 10 * platform/chromium/http/tests/inspector/network/network-initiator-expected.txt: Copied from LayoutTests/http/tests/inspector/network/network-initiator-expected.txt. 11 1 12 2011-08-02 Zhenyao Mo <zmo@google.com> 2 13 -
trunk/LayoutTests/http/tests/inspector/network/network-initiator-expected.txt
r91928 r92213 12 12 http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&random=1&size=200: parser 13 13 http://127.0.0.1:8000/inspector/network/network-initiator.html 100 14 http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&random=1&size=300: script 15 http://127.0.0.1:8000/inspector/network/network-initiator.html 17 16 http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&random=1&size=400: script 17 http://127.0.0.1:8000/inspector/network/network-initiator.html 29 14 http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&random=1&size=300: other 15 http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&random=1&size=400: other 18 16 -
trunk/LayoutTests/http/tests/inspector/network/network-initiator.html
r91928 r92213 10 10 // We need to setTimeout, to make sure that style recalculation scheduling 11 11 // is really triggered by adding a class to the div. 12 window.setTimeout(addClassToDivStep2 .bind(this), 0);12 window.setTimeout(addClassToDivStep2, 0); 13 13 } 14 14 -
trunk/Source/WebCore/ChangeLog
r92212 r92213 1 2011-08-02 Vsevolod Vlasov <vsevik@chromium.org> 2 3 Web Inspector: Remove initator column for JSC, fix network resource initiator tests. 4 https://bugs.webkit.org/show_bug.cgi?id=65534 5 6 Reviewed by Pavel Feldman. 7 8 * inspector/front-end/NetworkPanel.js: 9 (WebInspector.NetworkLogView.prototype._createTable): 10 (WebInspector.NetworkLogView.prototype.switchToDetailedView): 11 (WebInspector.NetworkLogView.prototype.switchToBriefView): 12 (WebInspector.NetworkLogView.prototype._toggleGridMode): 13 (WebInspector.NetworkLogView.prototype._toggleViewingResourceMode): 14 (WebInspector.NetworkDataGridNode.prototype.createCells): 15 (WebInspector.NetworkDataGridNode.prototype.refreshResource): 16 * inspector/front-end/Settings.js: 17 1 18 2011-08-02 Vsevolod Vlasov <vsevik@chromium.org> 2 19 -
trunk/Source/WebCore/inspector/front-end/NetworkPanel.js
r92194 r92213 144 144 _createTable: function() 145 145 { 146 var columns = {name: {}, method: {}, status: {}, type: {}, initiator: {}, size: {}, time: {}, timeline: {}}; 146 var columns; 147 if (Preferences.showNetworkPanelInitiatorColumn) 148 columns = {name: {}, method: {}, status: {}, type: {}, initiator: {}, size: {}, time: {}, timeline: {}}; 149 else 150 columns = {name: {}, method: {}, status: {}, type: {}, size: {}, time: {}, timeline: {}}; 147 151 columns.name.titleDOMFragment = this._makeHeaderFragment(WebInspector.UIString("Name"), WebInspector.UIString("Path")); 148 152 columns.name.sortable = true; … … 162 166 columns.type.width = "6%"; 163 167 164 columns.initiator.title = WebInspector.UIString("Initiator"); 165 columns.initiator.sortable = true; 166 columns.initiator.width = "10%"; 168 if (Preferences.showNetworkPanelInitiatorColumn) { 169 columns.initiator.title = WebInspector.UIString("Initiator"); 170 columns.initiator.sortable = true; 171 columns.initiator.width = "10%"; 172 } 167 173 168 174 columns.size.titleDOMFragment = this._makeHeaderFragment(WebInspector.UIString("Size"), WebInspector.UIString("Content")); … … 178 184 columns.timeline.title = ""; 179 185 columns.timeline.sortable = false; 180 columns.timeline.width = "40%"; 186 if (Preferences.showNetworkPanelInitiatorColumn) 187 columns.timeline.width = "40%"; 188 else 189 columns.timeline.width = "50%"; 181 190 columns.timeline.sort = "ascending"; 182 191 … … 806 815 this._dataGrid.showColumn("status"); 807 816 this._dataGrid.showColumn("type"); 808 this._dataGrid.showColumn("initiator"); 817 if (Preferences.showNetworkPanelInitiatorColumn) 818 this._dataGrid.showColumn("initiator"); 809 819 this._dataGrid.showColumn("size"); 810 820 this._dataGrid.showColumn("time"); … … 816 826 widths.status = 6; 817 827 widths.type = 6; 818 widths.initiator = 10; 828 if (Preferences.showNetworkPanelInitiatorColumn) 829 widths.initiator = 10; 819 830 widths.size = 6; 820 831 widths.time = 6; 821 widths.timeline = 40; 832 if (Preferences.showNetworkPanelInitiatorColumn) 833 widths.timeline = 40; 834 else 835 widths.timeline = 50; 822 836 823 837 this._dataGrid.applyColumnWidthsMap(widths); … … 831 845 this._dataGrid.hideColumn("status"); 832 846 this._dataGrid.hideColumn("type"); 833 this._dataGrid.hideColumn("initiator"); 847 if (Preferences.showNetworkPanelInitiatorColumn) 848 this._dataGrid.hideColumn("initiator"); 834 849 this._dataGrid.hideColumn("size"); 835 850 this._dataGrid.hideColumn("time"); … … 900 915 this._dataGrid.showColumn("status"); 901 916 this._dataGrid.showColumn("type"); 902 this._dataGrid.showColumn("initiator"); 917 if (Preferences.showNetworkPanelInitiatorColumn) 918 this._dataGrid.showColumn("initiator"); 903 919 this._dataGrid.showColumn("size"); 904 920 this._dataGrid.showColumn("time"); … … 909 925 widths.status = 6; 910 926 widths.type = 6; 911 widths.initiator = 10; 927 if (Preferences.showNetworkPanelInitiatorColumn) 928 widths.initiator = 10; 912 929 widths.size = 6; 913 930 widths.time = 6; 914 widths.timeline = 40; 931 if (Preferences.showNetworkPanelInitiatorColumn) 932 widths.timeline = 40; 933 else 934 widths.timeline = 50; 915 935 916 936 this._dataGrid.showColumn("timeline"); … … 929 949 this._dataGrid.hideColumn("status"); 930 950 this._dataGrid.hideColumn("type"); 931 this._dataGrid.hideColumn("initiator"); 951 if (Preferences.showNetworkPanelInitiatorColumn) 952 this._dataGrid.hideColumn("initiator"); 932 953 this._dataGrid.hideColumn("size"); 933 954 this._dataGrid.hideColumn("time"); … … 1736 1757 this._statusCell = this._createDivInTD("status"); 1737 1758 this._typeCell = this._createDivInTD("type"); 1738 this._initiatorCell = this._createDivInTD("initiator"); 1759 if (Preferences.showNetworkPanelInitiatorColumn) 1760 this._initiatorCell = this._createDivInTD("initiator"); 1739 1761 this._sizeCell = this._createDivInTD("size"); 1740 1762 this._timeCell = this._createDivInTD("time"); … … 1829 1851 this._refreshStatusCell(); 1830 1852 this._refreshTypeCell(); 1831 this._refreshInitiatorCell(); 1853 if (Preferences.showNetworkPanelInitiatorColumn) 1854 this._refreshInitiatorCell(); 1832 1855 this._refreshSizeCell(); 1833 1856 this._refreshTimeCell(); -
trunk/Source/WebCore/inspector/front-end/Settings.js
r91408 r92213 55 55 canInspectWorkers: false, 56 56 canClearCacheAndCookies: false, 57 canDisableCache: false 57 canDisableCache: false, 58 showNetworkPanelInitiatorColumn: false 58 59 } 59 60 -
trunk/Source/WebKit/chromium/ChangeLog
r92206 r92213 1 2011-08-02 Vsevolod Vlasov <vsevik@chromium.org> 2 3 Web Inspector: Remove initator column for JSC, fix network resource initiator tests. 4 https://bugs.webkit.org/show_bug.cgi?id=65534 5 6 Reviewed by Pavel Feldman. 7 8 * src/js/DevTools.js: 9 (): 10 1 11 2011-08-02 Nat Duca <nduca@chromium.org> 2 12 -
trunk/Source/WebKit/chromium/src/js/DevTools.js
r91408 r92213 56 56 Preferences.canClearCacheAndCookies = true; 57 57 Preferences.canDisableCache = true; 58 Preferences.showNetworkPanelInitiatorColumn = true; 58 59 })(); 59 60
Note: See TracChangeset
for help on using the changeset viewer.