Closed Bug 1336084 Opened 7 years ago Closed 7 years ago

misleading indentation introduced in bug 1120441

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
normal

Tracking

(firefox52 unaffected, firefox53 fixed, firefox54 fixed)

RESOLVED FIXED
Firefox 54
Tracking Status
firefox52 --- unaffected
firefox53 --- fixed
firefox54 --- fixed

People

(Reporter: jcristau, Assigned: jcristau)

References

Details

Attachments

(2 files)

The body of the if () block should be moved one level deeper.
Comment on attachment 8832857 [details]
Bug 1336084 - fix indentation after bug 1120441

https://reviewboard.mozilla.org/r/109114/#review110330
Attachment #8832857 - Flags: review?(ahunt) → review+
Comment on attachment 8832857 [details]
Bug 1336084 - fix indentation after bug 1120441

Clearing r+ as per:
https://bugzilla.mozilla.org/show_bug.cgi?id=1120441#c25

This fix is good, but I want to completely remove the conditional in question since I didn't want to land it in the first place (I'll provide a new patch to do that).
Attachment #8832857 - Flags: review+
Comment on attachment 8832984 [details]
Bug 1336084 - Remove unneeded isForegrounded() call

https://reviewboard.mozilla.org/r/109220/#review111510
Attachment #8832984 - Flags: review?(s.kaspari) → review+
Pushed by ahunt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fbfba62842ac
Remove unneeded isForegrounded() call r=sebastian
https://hg.mozilla.org/mozilla-central/rev/fbfba62842ac
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 54
Comment on attachment 8832984 [details]
Bug 1336084 - Remove unneeded isForegrounded() call

Approval Request Comment
[Feature/Bug causing the regression]: Bug 1120441.

[User impact if declined]: High probability of no user impact. However the code we are removing hasn't been tested extensively on nightly, and should therefore be removed to avoid unexpected issues.

[Is this code covered by automated tests?]: No.

[Has the fix been verified in Nightly?]: No.

[Needs manual test from QE? If yes, steps to reproduce]: No.

[List of other uplifts needed for the feature/fix]: None.

[Is the change risky?]: Low risk.

[Why is the change risky/not risky?]: This patch removes an unnecessary conditional. Nightly and beta both reflect the state after this patch (the unnecessary condition only landed on central, the patch that was uplifted to beta was fixed and doesn't contain the conditional, but aurora had the original patch uplifted directly from central).

[String changes made/needed]:None.
Attachment #8832984 - Flags: approval-mozilla-aurora?
Attachment #8832984 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment on attachment 8832984 [details]
Bug 1336084 - Remove unneeded isForegrounded() call

In order to align with beta, take this in aurora. Aurora53+.
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: