diff --git a/src/css/dashboard.css b/src/css/dashboard.css index 232be86f4..b5e78a6bc 100644 --- a/src/css/dashboard.css +++ b/src/css/dashboard.css @@ -76,9 +76,6 @@ iframe { body:not(.canUpdateShortcuts) .tabButton[href="#shortcuts.html"] { display: none; } -body:not(.canBenchmark) .tabButton[href="#benchmarks.html"] { - display: none; - } @media (max-width: 640px) { #dashboard-nav { diff --git a/src/dashboard.html b/src/dashboard.html index 43329706c..3e3106ad4 100644 --- a/src/dashboard.html +++ b/src/dashboard.html @@ -19,8 +19,7 @@ -->Benchmarks + --> diff --git a/src/js/background.js b/src/js/background.js index 1d9d07357..86f1cd16a 100644 --- a/src/js/background.js +++ b/src/js/background.js @@ -42,7 +42,6 @@ const µBlock = (function() { // jshint ignore:line assetFetchTimeout: 30, autoUpdateAssetFetchPeriod: 120, autoUpdatePeriod: 7, - benchmarkingPane: false, cacheStorageCompression: true, cacheControlForFirefox1376932: 'no-cache, no-store, must-revalidate', debugScriptlets: false, diff --git a/src/js/dashboard.js b/src/js/dashboard.js index f80e77241..d038c5d01 100644 --- a/src/js/dashboard.js +++ b/src/js/dashboard.js @@ -74,10 +74,6 @@ vAPI.messaging.send('dashboard', { what: 'canUpdateShortcuts' }, response => { document.body.classList.toggle('canUpdateShortcuts', response === true); }); -vAPI.messaging.send('dashboard', { what: 'benchmarkingPane' }, response => { - document.body.classList.toggle('canBenchmark', response === true); -}); - resizeFrame(); window.addEventListener('resize', resizeFrame); uDom('.tabButton').on('click', onTabClickHandler); diff --git a/src/js/messaging.js b/src/js/messaging.js index 4e5ff7400..a0b6d7339 100644 --- a/src/js/messaging.js +++ b/src/js/messaging.js @@ -1041,14 +1041,6 @@ var onMessage = function(request, sender, callback) { var response; switch ( request.what ) { - case 'benchmark': - response = µb.staticNetFilteringEngine.benchmark(request.contexts); - break; - - case 'benchmarkingPane': - response = µb.hiddenSettings.benchmarkingPane; - break; - case 'canUpdateShortcuts': response = µb.canUpdateShortcuts; break;