summaryrefslogtreecommitdiffstats
path: root/devtools/client/inspector/compatibility
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /devtools/client/inspector/compatibility
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz
firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/client/inspector/compatibility')
-rw-r--r--devtools/client/inspector/compatibility/CompatibilityView.js4
-rw-r--r--devtools/client/inspector/compatibility/actions/compatibility.js2
-rw-r--r--devtools/client/inspector/compatibility/reducers/compatibility.js2
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 });
},
};