Closed Bug 1290065 Opened 4 years ago Closed 4 years ago
_beacon Redirect .html | Send Beacon should follow cross origin redirects! - got "reset", expected "green"
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.
Attachment #8775557 - Flags: review?(cbook)
4 years ago
Assignee: nobody → ckerschb
Status: NEW → ASSIGNED
Component: DOM → DOM: Security
4 years ago
Pushed by firstname.lastname@example.org: 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
You need to log in before you can comment on or make changes to this bug.