Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync xhr not supported in Chrome #184

Open
edsu opened this issue Aug 29, 2023 · 4 comments
Open

sync xhr not supported in Chrome #184

edsu opened this issue Aug 29, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@edsu
Copy link
Collaborator

edsu commented Aug 29, 2023

I noticed that this WACZ https://edsu-webarchives.s3.amazonaws.com/tmp/maui-test.wacz (created with ArchiveWebPage v0.11.2) plays back fine in ReplayWebPage (Firefox)

https://replayweb.page/?source=https%3A%2F%2Fedsu-webarchives.s3.amazonaws.com%2Ftmp%2Fmaui-test.wacz#view=info&url=https%3A%2F%2Fwww.mauicounty.gov%2FCivicAlerts.aspx%3FAID%3D12742

Screenshot 2023-08-29 at 3 22 19 PM

But when I import it into ArchiveWebPage (Chrome) the page displays a Page Loading message and fails to fully render.

Screenshot 2023-08-29 at 3 03 09 PM

It appears that issue is that ReplayWebPage doesn't support sync xhr in Chrome (see below).

@edsu edsu added the bug Something isn't working label Aug 29, 2023
@ikreymer
Copy link
Member

It seems like a Chrome vs Firefox issue -- the replay doesn't work in Chrome in RWP either, but does work in Firefox.

@ikreymer
Copy link
Member

A likely cause is the use of sync xhr, as evidenced by the console output: https://github.com/webrecorder/wombat/blob/main/src/wombat.js#L4462

@edsu
Copy link
Collaborator Author

edsu commented Aug 30, 2023

Ah, that makes sense Firefox vs Chrome! I will update the issue title & description to reflect the actual problem. If it's already a known issue please feel free to close.

@edsu edsu changed the title WACZ plays back in ReplayWebPage but not ArchiveWebPage sync xhr not supported in Chrome Aug 30, 2023
@ikreymer
Copy link
Member

ikreymer commented Jul 8, 2024

No real workaround, must be fixed in chromium: https://issues.chromium.org/issues/40464398

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants