Closed Bug 1071090 Opened 10 years ago Closed 9 years ago

[B2G][Camera][Gecko] Camera test parameters persist after clearing causing test failures

Categories

(Firefox OS Graveyard :: Gaia::Camera, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1062387

People

(Reporter: aosmond, Assigned: aosmond)

References

Details

STR
1) Set some test parameters via SpecialPowers.pushPrefEnv({'set':[['camera.control.test.hardware.gonk.parameters', '...']]})
2) Run/finish test, should pass as expected
3) In same emulator context, run second test which depends on the original value of the parameter set in 1
4) Second test fails due to still having the new value

TestGonkCameraHardware::PushParameters should filter out test parameters passed down by the upper layers to ensure they are not persisted in the emulated camera store.
Assignee: nobody → aosmond
Status: NEW → ASSIGNED
No longer blocks: camera-events
This was fixed by bug 1062387, part 1 because previously we were unable to clear parameters.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.