gecko-dev/toolkit
Gijs Kruitbosch 42e1871519 Bug 1329220 - fix print preview source browser confusion, r=mconley
Restore overwriting of this._sourceBrowser as it was before bug 1308621
to ensure we continue to use the same DOM to do print previewing (and
eventually printing).

Bug 1308621 already changed the enterPrintPreview code to rely on the
member _sourceBrowser variable, which will be updated to point to the
print preview browser if/when print preview is being reinitialized for
the same page (because one of the print settings changes). We need to
do this to avoid re-initializing off the original browser, which may
now have navigated or be displaying something else entirely.

This also updates the 'simplified' mode code to rely on the extant
_originalURL member to avoid displaying the page URL as about:blank
after a settings change.

MozReview-Commit-ID: DZ1kT7Mb0mS

--HG--
extra : rebase_source : cb79c835d6f8bcd67a7118de3a19b1cab85b6593
2017-01-09 22:04:05 +00:00
..
components Bug 1329220 - fix print preview source browser confusion, r=mconley 2017-01-09 22:04:05 +00:00
content Bug 1285176 - fix intermittent test_mousecapture.xhtml by removing a check whose success we can't guarantee, r=kats 2017-01-18 16:10:49 +00:00
crashreporter Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs 2017-01-17 09:48:17 -06:00
forgetaboutsite Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs 2017-01-17 09:48:17 -06:00
identity Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs 2017-01-17 09:48:17 -06:00
library Bug 1331738: Include mozilla-config.h in xulrunner.rc; r=tbsaunde 2017-01-17 14:12:17 -07:00
locales Bug 1330158 - Fix the L10N string for shorten format time/day in Downloads Panel. r=flod 2017-01-11 08:01:37 +08:00
modules Bug 854126 - Enable lightweight themes in private windows;r=dao 2017-01-17 09:23:29 -08:00
mozapps Bug 1317363 Implement the new sideloading flow r=florian,rhelmer 2017-01-18 18:16:19 -08:00
pluginproblem Fix merge conflict bustage for removed file from bug 1307445 part A. 2016-10-18 09:32:57 -04:00
profile Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs 2017-01-17 09:48:17 -06:00
system Backed out 4 changesets (bug 1318004) for xpcshell failures a=backout CLOSED TREE 2016-11-21 16:15:38 -08:00
themes Backed out changeset 6d632eefccb4 (bug 1325591) for failing a11y/accessible/tests/mochitest/actions/test_media.html. r=backout on a CLOSED TREE 2017-01-17 19:06:14 +01:00
xre Bug 1306329 - Stop exporting XPCOM and XUL symbols. r=glandium 2016-12-02 12:55:34 -05:00
.eslintrc.js Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs 2017-01-17 09:48:17 -06:00
moz.build Bug 1312143 - Delete toolkit/obsolete. r=John-Galt 2016-10-24 18:23:24 -07:00
moz.configure Bug 1329543 - Remove Adobe from ac_add_options --enable-eme. r=glandium 2017-01-09 21:41:19 +08:00
nss.configure
toolkit.mozbuild Bug 1309049 - move embedding/ files out of that directory, r=jst,mossop 2017-01-12 13:47:27 -08:00