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

Unified Diff: third_party/WebKit/Source/devtools/front_end/Tests.js

Issue 2560043005: DevTools: Remove unused variables. Disallow unused variables with eslint (Closed)
Patch Set: Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/Tests.js
diff --git a/third_party/WebKit/Source/devtools/front_end/Tests.js b/third_party/WebKit/Source/devtools/front_end/Tests.js
index 74afd920519745a36590cf78ed7a09c464397174..dadf6fbeba8529128a14054ce8a71d36c07e5131 100644
--- a/third_party/WebKit/Source/devtools/front_end/Tests.js
+++ b/third_party/WebKit/Source/devtools/front_end/Tests.js
@@ -302,12 +302,6 @@
TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch = function() {
var test = this;
- // There should be two scripts: one for the main page and another
- // one which is source of console API(see
- // InjectedScript._ensureCommandLineAPIInstalled).
- var expectedScriptsCount = 2;
- var parsedScripts = [];
-
function switchToElementsTab() {
test.showPanel('elements').then(function() {
setTimeout(switchToScriptsTab, 0);
@@ -573,7 +567,6 @@
this._waitForTargets(2, callback.bind(this));
function callback() {
- var target = SDK.targetManager.targets(SDK.Target.Capability.JS)[0];
InspectorBackendClass.deprecatedRunAfterPendingDispatches(this.releaseControl.bind(this));
}
};

Powered by Google App Engine
This is Rietveld 408576698