summaryrefslogtreecommitdiffstats
path: root/devtools/client/accessibility
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/accessibility')
-rw-r--r--devtools/client/accessibility/accessibility-proxy.js2
-rw-r--r--devtools/client/accessibility/components/Accessible.js2
-rw-r--r--devtools/client/accessibility/components/Checks.js2
-rw-r--r--devtools/client/accessibility/panel.js2
4 files changed, 4 insertions, 4 deletions
diff --git a/devtools/client/accessibility/accessibility-proxy.js b/devtools/client/accessibility/accessibility-proxy.js
index 287ea44b71..e96d912593 100644
--- a/devtools/client/accessibility/accessibility-proxy.js
+++ b/devtools/client/accessibility/accessibility-proxy.js
@@ -518,7 +518,7 @@ class AccessibilityProxy {
}
}
- async onTargetAvailable({ targetFront, isTargetSwitching }) {
+ async onTargetAvailable({ targetFront }) {
targetFront.watchFronts(
"accessibility",
this.onAccessibilityFrontAvailable,
diff --git a/devtools/client/accessibility/components/Accessible.js b/devtools/client/accessibility/components/Accessible.js
index 02467ccaab..c679951d1d 100644
--- a/devtools/client/accessibility/components/Accessible.js
+++ b/devtools/client/accessibility/components/Accessible.js
@@ -285,7 +285,7 @@ class Accessible extends Component {
window.emit(EVENTS.NEW_ACCESSIBLE_FRONT_INSPECTED);
}
- openLink(link, e) {
+ openLink(link) {
openContentLink(link);
}
diff --git a/devtools/client/accessibility/components/Checks.js b/devtools/client/accessibility/components/Checks.js
index f2b4e4835a..7f7bdf1624 100644
--- a/devtools/client/accessibility/components/Checks.js
+++ b/devtools/client/accessibility/components/Checks.js
@@ -105,7 +105,7 @@ class Checks extends Component {
}
}
-const mapStateToProps = ({ details, ui }) => {
+const mapStateToProps = ({ details }) => {
const { audit } = details;
if (!audit) {
return {};
diff --git a/devtools/client/accessibility/panel.js b/devtools/client/accessibility/panel.js
index 02c6c8f415..3ebd11afe1 100644
--- a/devtools/client/accessibility/panel.js
+++ b/devtools/client/accessibility/panel.js
@@ -286,7 +286,7 @@ AccessibilityPanel.prototype = {
this._toolbox.component.setToolboxButtons(this._toolbox.toolbarButtons);
},
- togglePicker(focus) {
+ togglePicker() {
this.picker && this.picker.toggle();
},