diff options
Diffstat (limited to 'devtools/client/inspector/compatibility')
3 files changed, 4 insertions, 4 deletions
diff --git a/devtools/client/inspector/compatibility/CompatibilityView.js b/devtools/client/inspector/compatibility/CompatibilityView.js index 19c3263f00..548246fd54 100644 --- a/devtools/client/inspector/compatibility/CompatibilityView.js +++ b/devtools/client/inspector/compatibility/CompatibilityView.js @@ -32,7 +32,7 @@ const CompatibilityApp = createFactory( ); class CompatibilityView { - constructor(inspector, window) { + constructor(inspector) { this.inspector = inspector; this.inspector.store.injectReducer("compatibility", compatibilityReducer); @@ -133,7 +133,7 @@ class CompatibilityView { ); } - _parseMarkup(str) { + _parseMarkup() { // Using a BrowserLoader for the inspector is currently blocked on performance regressions, // see Bug 1471853. throw new Error( diff --git a/devtools/client/inspector/compatibility/actions/compatibility.js b/devtools/client/inspector/compatibility/actions/compatibility.js index fa9f410e0d..3ff512f1b0 100644 --- a/devtools/client/inspector/compatibility/actions/compatibility.js +++ b/devtools/client/inspector/compatibility/actions/compatibility.js @@ -74,7 +74,7 @@ function clearDestroyedNodes() { } function initUserSettings() { - return async ({ dispatch, getState }) => { + return async ({ dispatch }) => { dispatch({ type: COMPATIBILITY_INIT_USER_SETTINGS_START }); try { diff --git a/devtools/client/inspector/compatibility/reducers/compatibility.js b/devtools/client/inspector/compatibility/reducers/compatibility.js index 9256167601..ce54e856a9 100644 --- a/devtools/client/inspector/compatibility/reducers/compatibility.js +++ b/devtools/client/inspector/compatibility/reducers/compatibility.js @@ -139,7 +139,7 @@ const reducers = { _showError(COMPATIBILITY_UPDATE_TOP_LEVEL_TARGET_FAILURE, error); return state; }, - [COMPATIBILITY_UPDATE_TOP_LEVEL_TARGET_COMPLETE](state, { target }) { + [COMPATIBILITY_UPDATE_TOP_LEVEL_TARGET_COMPLETE](state) { return Object.assign({}, state, { isTopLevelTargetProcessing: false }); }, }; |