gecko-dev/toolkit
Gijs Kruitbosch d0df002eda Bug 1308621 - print preview shouldn't re-set the source browser, r=florian
Right now the "already in print preview" case in printPreview() collapses
the print preview browser - but also clobbers its _sourceBrowser property,
which shouldn't point to the print preview browser but to the 'normal'
browser whose print preview is in the print preview browser.

This patch fixes the clobbering, and updates later code to not call
getSourceBrowser() repeatedly, as doing so can in some race conditions end up
print previewing the wrong page.

MozReview-Commit-ID: FlMRrPEkAJQ

--HG--
extra : rebase_source : 47f0aa065c45fce7d7a868394332c5d6d0e067fb
2016-10-06 12:58:37 +01:00
..
components Bug 1308621 - print preview shouldn't re-set the source browser, r=florian 2016-10-06 12:58:37 +01:00
content Bug 1303008 - refactor Fennec Finder.jsm integration to always show the correct match count results in the findbar. r=nalexander 2016-10-10 11:53:25 +02:00
crashreporter Merge m-i to m-c, a=merge 2016-10-06 19:58:18 -07:00
forgetaboutsite Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe 2016-08-16 15:44:15 -04:00
identity Bug 1298879 - Upgrade to ESLint 3.5.0 for faster linting. r=miker 2016-09-20 10:27:03 +01:00
library bug 1301751 - work around llvm-dsymutil crash by building rust with debuginfo=1 instead of -g. r=froydnj 2016-09-27 06:24:24 -04:00
locales Bug 1308415 - Update about:telemetry to show keyed scalars. r=gfritzsche 2016-10-07 03:35:00 -04:00
modules Bug 1303008 - refactor Fennec Finder.jsm integration to always show the correct match count results in the findbar. r=nalexander 2016-10-10 11:53:25 +02:00
mozapps Merge m-i to m-c, a=merge 2016-10-08 16:48:33 -07:00
obsolete Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh 2016-08-04 03:28:58 -04:00
pluginproblem Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
profile Bug 977786 - Add tests for nsProfileLock. r=ted 2016-09-16 17:31:14 +02:00
system Bug 1297300 - Add missing checks to GetSpec() calls in toolkit/. r=froydnj. 2016-09-08 14:32:20 +10:00
themes Merge m-c to m-i 2016-10-06 20:26:20 -07:00
xre Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop 2016-10-08 11:14:49 +02:00
.eslintrc Bug 1294542 - Enable the block-spacing rule for eslint. r=felipe 2016-08-16 21:27:37 -04:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
moz.configure Bug 1300654 Part2-Remove MOZ_EME define from moz.configure. r=glandium 2016-09-21 07:39:02 +08:00
nss.configure Bug 1295480 - Move --enable-dbm to python configure. r=chmanchester 2016-08-17 11:01:44 +09:00
toolkit.mozbuild Backed out changeset 1df8bde64853 (bug 1302364) 2016-09-16 11:24:29 +02:00