зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1436575 - Clean up some of the autofix changes from no-compare-against-boolean-literal. r=standard8
MozReview-Commit-ID: 7Q8YBxEzbHr --HG-- extra : rebase_source : 577a056f83ba6af6e92e0f2417ab202baa3047a9
This commit is contained in:
Родитель
c8d331f4c9
Коммит
b433816cb9
|
@ -200,7 +200,7 @@ function setVCRangeInvoker(aDocAcc, aTextAccessible, aTextOffsets) {
|
|||
*/
|
||||
function setVCPosInvoker(aDocAcc, aPivotMoveMethod, aRule, aIdOrNameOrAcc,
|
||||
aIsFromUserInput) {
|
||||
var expectMove = (!!aIdOrNameOrAcc);
|
||||
var expectMove = !!aIdOrNameOrAcc;
|
||||
this.invoke = function virtualCursorChangedInvoker_invoke() {
|
||||
VCChangedChecker.
|
||||
storePreviousPosAndOffset(aDocAcc.virtualCursor);
|
||||
|
@ -260,7 +260,7 @@ function setVCPosInvoker(aDocAcc, aPivotMoveMethod, aRule, aIdOrNameOrAcc,
|
|||
*/
|
||||
function setVCTextInvoker(aDocAcc, aPivotMoveMethod, aBoundary, aTextOffsets,
|
||||
aIdOrNameOrAcc, aIsFromUserInput) {
|
||||
var expectMove = (!!aIdOrNameOrAcc);
|
||||
var expectMove = !!aIdOrNameOrAcc;
|
||||
this.invoke = function virtualCursorChangedInvoker_invoke() {
|
||||
VCChangedChecker.storePreviousPosAndOffset(aDocAcc.virtualCursor);
|
||||
SimpleTest.info(aDocAcc.virtualCursor.position);
|
||||
|
@ -306,7 +306,7 @@ function setVCTextInvoker(aDocAcc, aPivotMoveMethod, aBoundary, aTextOffsets,
|
|||
*/
|
||||
function moveVCCoordInvoker(aDocAcc, aX, aY, aIgnoreNoMatch,
|
||||
aRule, aIdOrNameOrAcc) {
|
||||
var expectMove = (!!aIdOrNameOrAcc);
|
||||
var expectMove = !!aIdOrNameOrAcc;
|
||||
this.invoke = function virtualCursorChangedInvoker_invoke() {
|
||||
VCChangedChecker.
|
||||
storePreviousPosAndOffset(aDocAcc.virtualCursor);
|
||||
|
|
|
@ -80,7 +80,7 @@ add_task(async function() {
|
|||
|
||||
let expectations = testcases[testcaseId];
|
||||
|
||||
Assert.ok(!!overlay.classList.contains("visible"),
|
||||
Assert.ok(overlay.classList.contains("visible"),
|
||||
`The expected visibility is correct in ${testcaseId}`);
|
||||
|
||||
Assert.ok(overlay.getAttribute("sizing") == expectations.sizing,
|
||||
|
|
|
@ -520,7 +520,7 @@ this.WinTaskbarJumpList =
|
|||
observe: function WTBJL_observe(aSubject, aTopic, aData) {
|
||||
switch (aTopic) {
|
||||
case "nsPref:changed":
|
||||
if (!!this._enabled && !_prefs.getBoolPref(PREF_TASKBAR_ENABLED))
|
||||
if (this._enabled && !_prefs.getBoolPref(PREF_TASKBAR_ENABLED))
|
||||
this._deleteActiveJumpList();
|
||||
this._refreshPrefs();
|
||||
this._updateTimer();
|
||||
|
|
Загрузка…
Ссылка в новой задаче