hckr / fb-post-screenshot

Firefox Web Extension to save Facebook posts as images
https://hckr.pl/fb-post-screenshot/
Mozilla Public License 2.0
20 stars 7 forks source link

Crashes when Facebook Container add-on is enabled #30

Open hckr opened 4 years ago

hckr commented 4 years ago

Clicking on menu option to create a screenshot causes current Firefox tab to crash.

Reported in Facebook Container issue tracker: https://github.com/mozilla/contain-facebook/issues/662

hckr commented 4 years ago

I found a workaround: using window.wrappedJSObject instead of plain window.

hckr commented 4 years ago

The workaround creates new problems and isn't very handy – it causes problems with messaging between windows via postMessage – responding with e.source.postMessage from popup window to the main window (e.source) fails.

hckr commented 4 years ago

The same issue occurs inside private browsing windows, without any "container add-ons".

hckr commented 4 years ago

Another similar issue: https://github.com/mozilla/multi-account-containers/issues/1771