Intermittent dom/tests/mochitest/beacon/test_beaconRedirect.html | SendBeacon should follow cross origin redirects! - got "reset", expected "green"

RESOLVED FIXED in Firefox 50

Status

()

defect
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: intermittent-bug-filer, Assigned: ckerschb)

Tracking

({intermittent-failure})

unspecified
mozilla51
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox50 fixed, firefox51 fixed)

Details

(Whiteboard: [domsecurity-intermittent])

Attachments

(1 attachment)

seems to be caused by bug 1280692
Blocks: 1280692
Flags: needinfo?(ckerschb)
Hey Carsten, the problem is that sendBeacon does not return a result from the server, hence we have to wait for a certain amount of time and query the result from the server using an XHR request. Before updating sendBeacon to not using 'cors' (within Bug 1280692) the redirect within in the test had to be blocked, hence 2 seconds where enough before querying the result.

Now that we have to wait that the redirect succeeds, we should extend the time frame before we query the result from 2 to 4 seconds.

I suppose the test is not intermittently failing on all platforms, but rather on slow ones only, right? e.g. Windows VM and such.
Flags: needinfo?(ckerschb)
Attachment #8775557 - Flags: review?(cbook)
Assignee: nobody → ckerschb
Status: NEW → ASSIGNED
Component: DOM → DOM: Security
Whiteboard: [domsecurity-intermittent]
Attachment #8775557 - Flags: review?(cbook) → review+
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/7eb40c545894
Extend timeout for sendBeacon redirect test so redirect can happen before querying the result. r=tomcat
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/7eb40c545894
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in before you can comment on or make changes to this bug.