Page MenuHomePhabricator

Request on mobile isn't recorded in the replay proxy
Closed, ResolvedPublic

Description

We get a 404 for one of the request when testing on mobile:

Compare HAR files.png (1×2 px, 523 KB)

I think it must be that the request isn't happening before we close down the recording step (that should be at least +2 after onload).

Looking at our WebPageTest runs, it seems that we end the tests too early (we have less requests here):
http://wpt.wmftest.org/result/181201_K7_54/1/details/#waterfall_view_step1

Event Timeline

Peter triaged this task as Medium priority.Dec 21 2018, 6:18 AM

This is fixed in the next update.

I've been trying to fix this again. I can see that we record 24 requests for the Facebook page on mobile but replay 26. So something is wrong.

I think the problem is images served as image/webp - yep, I'm pretty sure that's the problem.

My guess is that we somehow uses different configs when we record and replay for the browser. But I haven't been able to nail down the problem + it seems an old issue is back. A couple of years ago emulated mode started to resize the screen size in Chrome just before the load ended (I'll need to find that issue) and when I tried now with different device emulations, I could see that again :(

This seems to have been fixed. I had a look now and no errors.