Raptor test raptor-tp6-amazon-chrome is not rendering a completely loaded amazon site
Categories
(Testing :: Raptor, defect, P1)
Tracking
(firefox68 fixed)
| Tracking | Status | |
|---|---|---|
| firefox68 | --- | fixed |
People
(Reporter: acreskey, Assigned: Bebe)
References
Details
Attachments
(3 files)
Comment 1•7 years ago
|
||
| Reporter | ||
Comment 2•7 years ago
|
||
| Reporter | ||
Comment 3•7 years ago
|
||
| Assignee | ||
Comment 4•7 years ago
|
||
| Assignee | ||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Updated•7 years ago
|
Comment 7•7 years ago
|
||
(In reply to Robert Wood [:rwood] from comment #6)
(In reply to Florin Strugariu [:Bebe] from comment #5)
:rwood in this case can we record the request on chrome and use a separate
recording?I really prefer not to use separate recordings for Google Chromium and
Firefox if we can avoid it. It would add more overhead to tooltool, standing
up new tests, re-recording when we upgrade the pages/mitmproxy, etc. I also
think since we are comparing head-to-head we should use the same recording
on both, IMO.
When recording, can you load the page once using Firefox, and then load it again using Chrome and then save the output? This can (hopefully) ensure that if different resources were requested by one browser and not the other because of UA sniffing or whatever, then the recording will still have it available.
| Reporter | ||
Comment 9•7 years ago
|
||
Yes, just checked and I still see the missing images / web fonts etc on Chrome.
Comment 10•7 years ago
|
||
The new recording can be found here:
https://drive.google.com/file/d/1psteiGO3F6FM18gCRMC1CkyawlFG5X6G/view?usp=sharing
| Assignee | ||
Comment 11•7 years ago
|
||
helped :marauder retest this issue and the behavior form Comment 4 is still reproducible.
As a workaround we recorded both browsers in the same recording.
This way we would get both packages and the replay will work fine on both chrome and Firefox.
:davehunt :rwood please approve this change
Comment 12•7 years ago
|
||
:bebe and I discussed this earlier. It's due to Firefox not URL encoding pipes (|) in the requests, so the hashes of these requests do not match with Chrome sends as requests. Bebe is going to look into how we might fix this in mitmproxy. I'm not keen on opening the can of worms of separate recordings, but I suppose that would be the alternative. Problems with this would be sites that are very different between Firefox and Chrome (extreme example currently being https://web.skype.com/), or knowing where we draw the line. Would we re-record all sites in Firefox and Chrome? Would we also have device specific recordings, etc?
Comment 13•7 years ago
|
||
I agree, it would be best if this can be fixed in mitmproxy instead.
| Assignee | ||
Comment 14•7 years ago
|
||
On this topic we have:
Bug on chrome: https://bugs.chromium.org/p/chromium/issues/detail?id=943026
Bug on Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=918331
| Assignee | ||
Comment 15•7 years ago
|
||
| Assignee | ||
Comment 16•7 years ago
•
|
||
To avoid the escape on chrome we can revert it with mtmproxy.
Once we get a request we check if we have %7C in the url and replace it with |
I know it's not the most elegant solution but it's the only thing we can do at the moment.
:rwood :tarek what do you think about it?
try build:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=9143294f77662f93eec394e82f59a0337cc70511
One of the issue I see at the moment is having %7C in the url and changing that url by mistake.
Comment 17•7 years ago
|
||
Why special-casing %7C ? Unless I am missing something, it seems to me that we want to unquote the URL in case we have other quotes there? I commented the patch assuming this
Comment 18•7 years ago
|
||
Deferring to :tarek as he's more familiar with this (thanks!)
| Assignee | ||
Comment 19•7 years ago
|
||
Comment 20•7 years ago
|
||
Comment 21•7 years ago
|
||
| bugherder | ||
Updated•7 years ago
|
| Reporter | ||
Comment 22•6 years ago
|
||
If anyone else can reproduce this I'll log a new bug -- I'm seeing missing images on amazon-cold through raptor.
Description
•