Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Firefox opens infinite number of tabs when loading SWF files from local file system

  • 4 réponses
  • 1 a ce problème
  • 3 vues
  • Dernière réponse par firefox335

more options

Firefox 70.0.1 on Ubuntu Linux 18.04 will correctly open and play SWF files (e.g. Flash games) via HTTP(S) but when you open the same file from the local file system it keeps opening new tabs until you kill the program.

http://Flashgames/somegame.swf works

file:///www/Flashgames/somegame.swf turns Firefox into a tab forking bomb.

I have deleted the handlers.json file in the profle, but that only causes Firefox to ask with what EXTERNAL application this file should be opened (it does not play the file within the browser).

There is no application associated with *.swf files on the OS level.

Firefox 70.0.1 on Ubuntu Linux 18.04 will correctly open and play SWF files (e.g. Flash games) via HTTP(S) but when you open the same file from the local file system it keeps opening new tabs until you kill the program. http://Flashgames/somegame.swf works file:///www/Flashgames/somegame.swf turns Firefox into a tab forking bomb. I have deleted the handlers.json file in the profle, but that only causes Firefox to ask with what EXTERNAL application this file should be opened (it does not play the file within the browser). There is no application associated with *.swf files on the OS level.

Toutes les réponses (4)

more options

Did you look at this pref on the about:config page?

  • plugins.http_https_only = false

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

more options

I tried it. No effect. I also started Firefox in "save mode" but that didn't make any difference, either.

more options

You get an infinite number of tabs opening when you set Firefox to handle a specific file extension, you it looks that you once did this when you tried to open a SWF file in Firefox and got the 'open with' dialog instead. You should never do this, so you will have to remove this action.

more options

cor-el said

You get an infinite number of tabs opening when you set Firefox to handle a specific file extension, you it looks that you once did this when you tried to open a SWF file in Firefox and got the 'open with' dialog instead. You should never do this, so you will have to remove this action.

First off, thank you for responding, and what you write now makes sense: Firefox tries to open the designated media type using itself as the application to open it with. Looking at the settings I see that in my FF install this is indeed the case.

However, I would consider this behavior undesirable. Firstly, it is easy for a user to do what I did, with problematic results. If one should never do this, FF should either not allow it or warn against it. Secondly, why are files opened from a local file system handled differently from files opened via http?

By my personal definition, this should be classified as either a but or as a UI design flaw, and fixed in future updates. But that's just me.

That said, while this doesn't fix the problem it at least explains what's happening, so thank you. I appreciate it!