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

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: A new unused variable was born 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 62714a8b6212ab928eb509721ba13ff499c877aa..5e94b313d98023fcd4015245a3f3ac67ac4ee2bb 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