Firefox crashes when a File is passed to a shared worker via MessagePort, while it doesn't crash with a dedicated worker. 100% reproducible.
Here's my code: https://github.com/bzdeck/bzdeck/blob/master/webroot/static/scripts/controllers/bug.js#L413 Firefox does not crash with a Blob. The same file actually has a shared worker that is passing a Blob, and it works fine: https://github.com/bzdeck/bzdeck/blob/master/webroot/static/scripts/controllers/bug.js#L471 Firefox does not crash in a non-e10s window neither. Note: with non-e10s, drag-and-drop upload doesn't work on this app due to Bug 1188818.
Summary: Firefox crashes when a File is passed to a shared worker [@ mozilla::ipc::FatalError | mozilla::dom::PMessagePortParent::Read ] → [e10s] Firefox crashes when a File is passed to a shared worker [@ mozilla::ipc::FatalError | mozilla::dom::PMessagePortParent::Read ]
Here's my shared worker, though the crash occurs regardless of the content of this script. https://github.com/bzdeck/bzdeck/blob/master/webroot/static/scripts/workers/shared.js
tracking-e10s: + → ?
Kicking back into triage.
I just tried to reproduce this without any success on both OSX and Linux trunk. Kohei, can you still reproduce this (and if so, a link to a testcase). I'm able to even read the data from the file.
Created attachment 8703934 [details] testcase Two methods of passing a File to a shared worker. Both of these pass for me on OSX and Linux.
Those two files will have to be in the same directory somewhere in order to test this bug.
Sorry I'm late here. Tested my code locally on the latest Nightly build with e10s enabled, and couldn't reproduce the crash this time. Maybe other bug has fixed the issue after I reported this. Will try to find the regression window (er, no, "fixed" window) when I have time. Thanks for your time anyway!
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.