-
Notifications
You must be signed in to change notification settings - Fork 48
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
Version 1.2.2 hangs Firefox when using LiveTL in full-screen mode #733
Comments
Hi! Firstly, thank you very much for filing this. It's a very helpful report. Secondly, sorry about the inconvenience this has caused. Hanging is a very frustrating. I'm going to look into this later today. I expect the changes to iframe handling are involved but I'm not sure yet what LiveTL is doing with iframes. |
I think I have an idea what is going on. After a bit of debugging, it seems like we get stuck in an infinite loop sending and receiving When we get a 10ten-ja-reader/src/content.ts Lines 946 to 953 in a0f0c11
i.e. if it's not the top frame, posts the message to the top frame. However, LiveTL has some code that simply takes any message sent to its top frame and forwards it to its watch.html iframe: As a result the This could happen for other types of messages too, but so far I've observed it with |
Ok, I've fixed the hang now but that doesn't mean LiveTL works. LiveTL has the following setup:
However, content scripts don't get injected into So I guess 10ten never worked for the chat window in LiveTL. @shoaibshakeel381 is that right? |
it did work. See the image for version 1.2.1 |
Oh that's odd. I installed 1.2.1 locally and it didn't work for me. Let me try again. |
@shoaibshakeel381 I still can't get it to work with 1.2.1 and I don't understand how it would. Are we on the same version of LiveTL? 6.7.2? Are there any other add-ons that might be involved? |
Hmm, I still can't get it to work with LiveTL 6.6.3. I wonder if it behaves differently when logged in. |
Never mind, I worked it out. You need to disable "Hyper chat". If you do that, it works in 1.2.1 etc. It doesn't work in 1.2.2 however so we'll need to fix that. |
Version 1.2.3 is now available and should fix these issues. |
I've tested it and it works. Awesome work man. Seemed like an unreasonable request from me. |
Thank you so much! Your comment now made it all worthwhile! |
I usually watch youtube live streams with LiveTL extension. That extension shows chat in an iframe. Everything use to work fine until 10ten was updated to 1.2.2. Now everytime it's starts to consume memory in GBs. Causing firefox to hang. I've tested everything with and without this extension and issue only happens in 1.2.2 version.
Does anyone knows what going on?
LiveTL extension: https://addons.mozilla.org/en-US/firefox/addon/livetl/
Sample Video: GameCon 2022: https://www.youtube.com/watch?v=3oWhc2yOtug
Layout: https://i.imgur.com/skAOtbv.jpg
the red cirle highlights the iframe
The text was updated successfully, but these errors were encountered: