Bug 1063020 - Do not attempt to capture screenshots in e10s yet; r=dao

This commit is contained in:
Ehsan Akhgari 2014-09-04 23:17:42 -04:00
parent 872873401f
commit e18af3bc41

View File

@ -125,6 +125,10 @@ let gBrowserThumbnails = {
// FIXME: This should be part of the PageThumbs API. (bug 1062414)
_shouldCapture: function Thumbnails_shouldCapture(aBrowser) {
// Don't try to capture in e10s yet (because of bug 698371)
if (gMultiProcessBrowser)
return false;
// Capture only if it's the currently selected tab.
if (aBrowser != gBrowser.selectedBrowser)
return false;