Commit graph

8 commits

Author SHA1 Message Date
JustOff
5c9fd5c5c6 Use a separate process to generate thumbnails only when multi-process mode is enabled 2019-02-16 00:18:14 +08:00
wolfbeast
a00d3a4d9e Fix a test (#670) 2019-02-16 00:15:48 +08:00
wolfbeast
6789cce7a5 Convert trinary to more explicit statement. 2019-02-16 00:10:00 +08:00
wolfbeast
61d4ea0009 Fix #include and potentially undefined Capture.options object. 2019-02-16 00:09:58 +08:00
wolfbeast
060aa7adeb Use a fixed thumbnail placeholder for blank thumbs (failed to capture). 2019-02-16 00:09:57 +08:00
wolfbeast
49f881cb96 Use try/catch in PageThumbs writeData to deal with null data from caller.
Quick fix for #670
2019-02-16 00:09:47 +08:00
wolfbeast
952c11cef9 On failure, save a dummy file from the background page thumb capture module.
If a background page thumbnail capture fails (e.g. due to too heavy scripting), we should
write -something- to the thumbnail cache, because otherwise it will try again and again,
which is problematic for bad trap pages, that even if the user has left the page never
to return again, the thumbnail service may still try to capture, and fail.

This resolves the only problem for us in #592.
2019-02-16 00:07:35 +08:00
Roy Tam
dcd9973243 import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00