Closed Bug 1771079 Opened 2 years ago Closed 2 years ago

TPS - validate is not a function (try 2)

Categories

(Firefox :: Sync, defect)

defect

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: markh, Assigned: markh)

References

Details

Attachments

(1 file)

In bug 1765743, @irios reported:

[phase phase1] RunNextTestAction failed - TypeError: this.pingValidator.validate is not a function(resource://tps/tps.jsm:1206:41) JS

and in that bug I fixed a different TPS failure, not this one :/ I managed to reproduce this by setting the preference testing.tps.skipPingValidation to false, which is how it is run for iOS. Tthe code that tried to short-circuit the validator was broken, because this.pingValidator wasn't a function for a property. The attached patch fixes it.

Pushed by mhammond@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/be5753a74043
fix TPS when sync ping validation is disabled. r=LougeniaBailey
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch

I confirm that FxA-Sync iOS tests are working again, thanks for the fix!

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: