Skip to content

Commit 3f06f0d

Browse files
Lint fixes
1 parent 2c91500 commit 3f06f0d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

injected/src/features/web-compat.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ export class WebCompat extends ContentFeature {
130130
if (this.getFeatureSettingEnabled('disableDeviceEnumeration') || this.getFeatureSettingEnabled('disableDeviceEnumerationFrames')) {
131131
this.preventDeviceEnumeration();
132132
}
133-
// if (this.getFeatureSettingEnabled('deviceEnumeration')) {
133+
if (this.getFeatureSettingEnabled('deviceEnumeration')) {
134134
this.deviceEnumerationFix();
135-
// }
135+
}
136136
}
137137

138138
/** Shim Web Share API in Android WebView */
@@ -797,27 +797,27 @@ export class WebCompat extends ContentFeature {
797797
// Create a simple object that looks like MediaDeviceInfo
798798
const deviceInfo = {
799799
deviceId: 'default',
800-
kind: kind,
800+
kind,
801801
label: '',
802802
groupId: 'default-group',
803803
toJSON() {
804804
return {
805805
deviceId: this.deviceId,
806806
kind: this.kind,
807807
label: this.label,
808-
groupId: this.groupId
808+
groupId: this.groupId,
809809
};
810-
}
810+
},
811811
};
812-
812+
813813
// Make properties read-only to match MediaDeviceInfo behavior
814814
Object.defineProperties(deviceInfo, {
815815
deviceId: { writable: false, configurable: false },
816816
kind: { writable: false, configurable: false },
817817
label: { writable: false, configurable: false },
818-
groupId: { writable: false, configurable: false }
818+
groupId: { writable: false, configurable: false },
819819
});
820-
820+
821821
// Set the prototype based on device type
822822
if (kind === 'videoinput' || kind === 'audioinput') {
823823
// Input devices should inherit from InputDeviceInfo.prototype if available
@@ -830,7 +830,7 @@ export class WebCompat extends ContentFeature {
830830
// Output devices inherit from MediaDeviceInfo.prototype
831831
Object.setPrototypeOf(deviceInfo, MediaDeviceInfo.prototype);
832832
}
833-
833+
834834
return deviceInfo;
835835
}
836836

0 commit comments

Comments
 (0)