Closed Bug 1888406 Opened 8 months ago Closed 5 months ago

Fetch Keepalive wpt - keepalive.any.js, timeouts instead of failure

Categories

(Core :: DOM: Networking, defect, P2)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: smayya, Assigned: smayya)

References

Details

(Whiteboard: [necko-triaged])

The test has been disabled until the keepalive test is completed.
While testing it locally on central leads to test timeout.
Ideally, I would expect a test failure without fetch keepalive support.
However, timeout suggests there might be something more than just lack of keepalive support.

This bug is for investigating and fixing the possible root-cause for the timeout.

On initial investigation on central builds, we found that the test timeouts as it is not able to receive the message posted on the iframe here.

Interestingly the following patch results in test failure (expected with lack of keepalive support) instead of a timeout,

-      iframe.src = getKeepAliveIframeUrl(token1, method, {sendOn: evt});
+      iframe.src = getKeepAliveIframeUrl(token1, method, {sendOn: evt, frameOrigin: ''});
Assignee: nobody → smayya
Severity: -- → S3
Priority: -- → P2
Whiteboard: [necko-triaged]

This bug has been addressed already in the patch https://phabricator.services.mozilla.com/D211812.
The root-cause was that the message no sent to the parent document.

Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.