Closed Bug 1783093 Opened 2 years ago Closed 2 years ago

RemoteImagesTestUtils clears RS Server pref instead of resetting its value

Categories

(Firefox :: New Tab Page, task, P1)

task

Tracking

()

RESOLVED FIXED
105 Branch
Tracking Status
firefox-esr102 --- fixed
firefox105 --- fixed

People

(Reporter: beth, Assigned: beth)

References

Details

Attachments

(1 file)

No description provided.

If we clear the pref, we end up clearing the user-branch value set for tests
and end up with default branch value, which will point to the Remote Settings
server used in production.

Instead, we store the original value when we would reset it so that we have end
up with the pref set to the test value instead of the real value.

Thanks!

Pushed by brennie@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4a32a6a64c8d Don't call clearUserPref for the RS server pref in RemoteImages tests r=thecount
See Also: → 1783248

BTW, I filed bug 1783248 to catch these sorts of issues in the future (as part of test-verify runs).

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: