mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1687235
- Enable ESLint rule no-setter-return for mobile/. r=agi
Depends on D102155 Differential Revision: https://phabricator.services.mozilla.com/D102156
This commit is contained in:
parent
aae922599a
commit
94aaf448b5
@ -660,14 +660,5 @@ module.exports = {
|
||||
"mozilla/reject-chromeutils-import-null": "off",
|
||||
},
|
||||
},
|
||||
{
|
||||
files: [
|
||||
"mobile/android/chrome/geckoview/SessionStateAggregator.js",
|
||||
"mobile/android/modules/geckoview/DelayedInit.jsm",
|
||||
],
|
||||
rules: {
|
||||
"no-setter-return": "off",
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
@ -454,8 +454,6 @@ class MessageQueue extends Handler {
|
||||
clearTimeout(this._timeout);
|
||||
this._timeout = null;
|
||||
}
|
||||
|
||||
return val;
|
||||
}
|
||||
|
||||
uninit() {
|
||||
|
@ -177,12 +177,12 @@ var Impl = {
|
||||
// we can get rid of our proxy property.
|
||||
if (prop.get || prop.set) {
|
||||
Object.defineProperty(object, name, prop);
|
||||
return prop.set.call(object);
|
||||
prop.set.call(object);
|
||||
return;
|
||||
}
|
||||
|
||||
prop.value = newVal;
|
||||
Object.defineProperty(object, name, prop);
|
||||
return newVal;
|
||||
},
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
|
Loading…
Reference in New Issue
Block a user