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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/devtools_compatibility.js

Issue 2691433006: [Devtools] Persist network request blocking (Closed)
Patch Set: Merge branch 'ADD_ENABLE_DISABLE_REQUEST_BLOCKINg' into BLOCK_REQUESTS_IN_NETWORK_PERSISTANT Created 3 years, 10 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 /* eslint-disable indent */ 4 /* eslint-disable indent */
5 (function(window) { 5 (function(window) {
6 6
7 // DevToolsAPI --------------------------------------------------------------- - 7 // DevToolsAPI --------------------------------------------------------------- -
8 8
9 /** 9 /**
10 * @unrestricted 10 * @unrestricted
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 window.InspectorFrontendHost = new InspectorFrontendHostImpl(); 829 window.InspectorFrontendHost = new InspectorFrontendHostImpl();
830 830
831 // DevToolsApp --------------------------------------------------------------- 831 // DevToolsApp ---------------------------------------------------------------
832 832
833 function installObjectObserve() { 833 function installObjectObserve() {
834 /** @type {!Array<string>} */ 834 /** @type {!Array<string>} */
835 var properties = [ 835 var properties = [
836 'advancedSearchConfig', 836 'advancedSearchConfig',
837 'auditsPanelSplitViewState', 837 'auditsPanelSplitViewState',
838 'auditsSidebarWidth', 838 'auditsSidebarWidth',
839 'blockedURLs',
840 'breakpoints', 839 'breakpoints',
841 'cacheDisabled', 840 'cacheDisabled',
842 'colorFormat', 841 'colorFormat',
843 'consoleHistory', 842 'consoleHistory',
844 'consoleTimestampsEnabled', 843 'consoleTimestampsEnabled',
845 'cpuProfilerView', 844 'cpuProfilerView',
846 'cssSourceMapsEnabled', 845 'cssSourceMapsEnabled',
847 'currentDockState', 846 'currentDockState',
848 'customColorPalette', 847 'customColorPalette',
849 'customDevicePresets', 848 'customDevicePresets',
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 'layerDetailsSplitView', 903 'layerDetailsSplitView',
905 'layerDetailsSplitViewState', 904 'layerDetailsSplitViewState',
906 'layersPanelSplitViewState', 905 'layersPanelSplitViewState',
907 'layersShowInternalLayers', 906 'layersShowInternalLayers',
908 'layersSidebarWidth', 907 'layersSidebarWidth',
909 'messageLevelFilters', 908 'messageLevelFilters',
910 'messageURLFilters', 909 'messageURLFilters',
911 'monitoringXHREnabled', 910 'monitoringXHREnabled',
912 'navigatorGroupByFolder', 911 'navigatorGroupByFolder',
913 'navigatorHidden', 912 'navigatorHidden',
913 'networkBlockedURLs',
pfeldman 2017/02/11 02:45:05 You should not change this, it is for the old fron
allada 2017/02/11 05:02:04 Done.
914 'networkColorCodeResourceTypes', 914 'networkColorCodeResourceTypes',
915 'networkConditions', 915 'networkConditions',
916 'networkConditionsCustomProfiles', 916 'networkConditionsCustomProfiles',
917 'networkHideDataURL', 917 'networkHideDataURL',
918 'networkLogColumnsVisibility', 918 'networkLogColumnsVisibility',
919 'networkLogLargeRows', 919 'networkLogLargeRows',
920 'networkLogShowOverview', 920 'networkLogShowOverview',
921 'networkPanelSplitViewState', 921 'networkPanelSplitViewState',
922 'networkRecordFilmStripSetting', 922 'networkRecordFilmStripSetting',
923 'networkResourceTypeFilters', 923 'networkResourceTypeFilters',
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 * @return {boolean} 1254 * @return {boolean}
1255 */ 1255 */
1256 DOMTokenList.prototype.toggle = function(token, force) { 1256 DOMTokenList.prototype.toggle = function(token, force) {
1257 if (arguments.length === 1) 1257 if (arguments.length === 1)
1258 force = !this.contains(token); 1258 force = !this.contains(token);
1259 return this.__originalDOMTokenListToggle(token, !!force); 1259 return this.__originalDOMTokenListToggle(token, !!force);
1260 }; 1260 };
1261 } 1261 }
1262 1262
1263 })(window); 1263 })(window);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698