Improve timeout testing for response.complete()

NEW
Unassigned

Status

()

enhancement
P3
normal
Last year
Last year

People

(Reporter: sfoster, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [webpayments-reserve])

We should add a task to browser/components/payments/test/browser/browser_payment_completion.js (added in bug 1447777) to ensure the front-end isn't accidentally calling window.close() before the DOM timeout. With slow debug builds, there is a chance of a race with even multi-second pref value giving us a false positive.
Whiteboard: [webpayments] → [webpayments] [triage]
Priority: -- → P3
Whiteboard: [webpayments] [triage] → [webpayments-reserve]
You need to log in before you can comment on or make changes to this bug.