Bug 1608440 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

This behavior could be abused by malicious sites to freeze Firefox indefinitely (by loading the large script in a loop).

Steps to reproduce the behavior:
1. See repository: https://github.com/caugner/vue-ffmpeg-worker-firefox-freeze
2. `git clone https://github.com/caugner/vue-ffmpeg-worker-firefox-freeze`
3. `cd vue-ffmpeg-worker-firefox-freeze`
4. `yarn install`
5. `yarn serve`
6. Open http://localhost:8080 in Firefox.
7. Notice how the UI freezes (the website itself does not always freeze).

See also: https://github.com/ffmpegjs/ffmpeg.js/issues/19

Note that Chrome does not behave this way.
This behavior could be abused by malicious sites to freeze Firefox indefinitely (by loading the large script in a loop).

Steps to reproduce the behavior:
1. See repository: https://github.com/caugner/vue-ffmpeg-worker-firefox-freeze
2. `git clone https://github.com/caugner/vue-ffmpeg-worker-firefox-freeze`
3. `cd vue-ffmpeg-worker-firefox-freeze`
4. `yarn install`
5. `yarn serve`
6. Open http://localhost:8080 in Firefox.
7. Notice how the UI freezes (the website itself does not always freeze).

See also: https://github.com/ffmpegjs/ffmpeg.js/issues/19

Note that Chrome does not behave this way.

PS: The relevant JS code is in `App.vue` and `Worker.js` at commit ae36e0a: https://github.com/caugner/vue-ffmpeg-worker-firefox-freeze/commit/ae36e0a86aedc49a0065cf64d3325c5047699029#diff-ea994a51b0d9884f4fc046eca11a5c99

Back to Bug 1608440 Comment 0