Comments (2)
This seems like another manifestation of an issue with Firefox in loading local files in a web worker.
I've reported this issue here: https://bugzilla.mozilla.org/show_bug.cgi?id=1646204 with a reliable test case.
I initially ran into this with files around 50MB, but now it seems like its happening for even smaller files, like the 15MB that you have.
By the way, you can also load directly from Google drive as well, if you install the google drive integration:
https://gsuite.google.com/marketplace/app/replaywebpage/160798412227
With the drive loading, it worked slightly better in Firefox.. (didn't load all the way the first time, loaded the second time for me). I'm guessing its probably a variation of the same issue, seems like Firefox just doesn't work well with streaming data in a web worker, surprisingly..
My guess is the work around is probably to load the file not in a web worker, but in the main thread, and just process it there, or send to worker via channel/postmessage for processing.. Would require some refactoring, but should be doable..
I think the charset is probably unrelated, so changed the title of the issue..
Yes, would definitely welcome help in fixing this issue! Maybe there's a different workaround that's possible, or something else that I'm missing, but I think the example in the issue covers it. I believe the issue is that it simply stalls reading from the ReadableStream -- await read() never resolves nor rejects, and it happens at random points in the stream :(
from replayweb.page.
ReplayWeb.page now loads everything in the service worker, awaits a promise while loading, and there's a ping every 15 seconds to prevent service worker from shutting down. With that, I believe Firefox loading is working, not as fast as Chrome, but it does finish. Just tested with the WARC shared here, which fully loaded in FF, so I believe this should be fixed!
from replayweb.page.
Related Issues (20)
- Update page/resource navigation sidebar HOT 1
- Update page list HOT 1
- Update resource (URLs) browser HOT 1
- [Bug]: WARC files are very slow to load in Firefox HOT 1
- Player keeps loading on a 404 page
- HEAD Fallback Mechanism to GET 0-0
- Document loading from replay.json HOT 1
- ReplayWebpage V2 Documentation Update
- PWA Manifest Not Available on Deployed Site
- ReplayWebpage V2 Docs Content Reorganization HOT 1
- WACZ range request error HOT 2
- Document `liveRedirectOnNotFound`
- Inconsistently Loading Videos in Embedded Player HOT 2
- [Replay Bug]: the reply of image galleries sometimes mixes links to different subpages
- [Replay Bug]: replay shows the wrong video to a news article at dr.dk HOT 1
- [Replay Bug]: Ads are missing on some sites or creates ads placeholders or images which is not seen online
- [Bug]: Missing ads on news sites HOT 3
- [Replay Bug]: Failure to render websites created with Shorthand.com
- [Replay Bug]: Failure to render websites published on Microsoft SharePoint
- [Bug]: Safari can't open wacz stored on Dropbox, Firefox & Chrome can HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from replayweb.page.