-
-
Notifications
You must be signed in to change notification settings - Fork 824
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
extension: Re-enable SWF takeover using declarativeNetRequest #16694
extension: Re-enable SWF takeover using declarativeNetRequest #16694
Conversation
56c1c08
to
ce55ea5
Compare
74c19bc
to
c967b88
Compare
bf1ec66
to
0a20baf
Compare
Can we at least wait until this is properly supported in Chrome so we don't have to do that annoying bug detection dance? |
I don't disagree with waiting but we'll still need to decide what to do here. Supposedly Chromium does throw just like Firefox with a fully unsupported RuleCondition. The bug, as confirmed in https://issues.chromium.org/issues/347186592#comment9, is actually that features developed behind a flag are not fully hidden behind the flag in Chrome. Without this "annoying bug detection dance", with just a try and catch, we may end up in a situation where both older and newer versions of Chrome work properly with Ruffle but the versions that were implementing this feature behind a flag are broken. I'm not sure that's acceptable. |
I didn't quite realize this could happen. I sort of assumed this problem would still be limited to Canary. Do we want/need to have a setting for disabling this specific feature? |
Having a setting for disabling this feature may be nice in general since some people did find it frustrating when trying to just download SWFs. I added showSWFDownload to the player page for that reason. However, I'm not sure that's enough. Try checking out ca7fc87 and using the extension in Chrome stable. https://google.com redirects to the player page. Needing to disable this feature to stop that is unintuitive. |
09bee68
to
4a2c6e7
Compare
eb6c42e
to
18d36b8
Compare
30cbb5c
to
df9a44f
Compare
7f98af6
to
504520f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
504520f
to
11cdf11
Compare
11cdf11
to
8c0d7aa
Compare
8c0d7aa
to
a2a2b9b
Compare
a2a2b9b
to
e18a5d6
Compare
This is based on w3c/webextensions#460. I added feature detection. This should be tested on Chrome Beta or above.
See screencast:
Screencast.from.2024-06-28.09-56-35.webm