Canvas element freezes after media upload, works after switching tabs

Hey everyone, I’m running a Unity WebGL game and a browser application overlaid on top of the game canvas element. Whenever I upload a media file with the browser app, the game canvas becomes unresponsive. It’s like the element loses focus, but I’ve tested it manually and that’s not it.

However, visiting another tab or window causes the game to start running normally. Even a click on the browser console does the trick. I’m wondering what is happening in the background when switching away from the document, that might cause my app to start working again. Thanks in advance.

This forum doesn’t get much activity.

If you have a reproducible test case could you please report it in Bugzilla.

Current public discussions are in the Matrix. You can join and talk with other users in #firefox:mozilla.org or talk with developers in #introduction:mozilla.org.