Manually-implemented QueryInterface functions don't benefit from the
MozQueryInterface optimizaions, and a lot of them are in hot code, and
implement a large number of interfaces.
MozReview-Commit-ID: 8OzglraowZt
This patch address a race condition issue for toolkit/components/printing/tests/
browser_preview_print_simplify_non_article.js test added in bug 1440638.
MozReview-Commit-ID: 4X17u2CP4ea
This patch renders error message for the Simplify Page document when
Reader Mode fails to parse original document. This patch also adds a test
to reliably produce a readable document that returns a parsing error when
run through the readability library.
MozReview-Commit-ID: 686mBkU9eVM
The only purpose of these bindings was to insert a stylesheet, which has been
moved to be included in toolkit/content/components.css.
MozReview-Commit-ID: 23jqkIrbVvi
I noticed these while looking for other things that were gettting an
nsIWebBrowserPrint for print preview. I think these must have been left for
legacy addons and they don't seem to be used, so I think they can go.
This patch was autogenerated by my decomponents.py
It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.
It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.
It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)
MozReview-Commit-ID: DeSHcClQ7cG
This patch clears out set of print preview browsers before bailing out when
there is an error while putting the document into print preview mode.
MozReview-Commit-ID: 20cm4DCktQk
This patch will remove printPageSetup resources from Linux package. This xul is
'PageSetup' dialog, but gecko doesn't use this dialog since gecko will display
a native page setup dialog.
(For Detail, See nsPrintDialogServiceGTK::ShowPageSetup)
MozReview-Commit-ID: 4AFjaM3cB35
This patch will remove printing xul dialog and related files since a caller of
this xul dialog doesn't exist.
The printjoboptions.xul is only used by printdialog.xul.
MozReview-Commit-ID: B6VZuj3Lg1b
This patch will remove printing xul dialog and related files since a caller of
this xul dialog doesn't exist.
The printjoboptions.xul is only used by printdialog.xul.
MozReview-Commit-ID: B6VZuj3Lg1b
The change here is to make the prompt return the value even if it hasn't changed,
because we still need to reprocess if we are switching from Shrink To Fit.
This patch creates a new print preview browser to host the simplified cloned-document
when Simplify Page option is used on preview. Also, this patch keeps track of what browser
should be presented, based on whether the 'Simplify page' checkbox is checked.
MozReview-Commit-ID: FZSRUyC49Wk