gecko-dev/js/xpconnect
Boris Zbarsky f6cdd2b50e Bug 911444 part 4. Expose a print method on PDF viewer windows. r=bholley
The method is exposed only if the consumer has the same principal as the PDF
would have if it were not getting the PDF viewer treatment.

The method just calls the print() method in the PDF viewer window.

It's enough to expose this on nsOuterWindowProxy, not RemoteOuterWindowProxy,
because PDF documents end up in the process they would have been in based on
their pre-PDF-viewer principal, since we do process determination in the parent
process but only run the pdfjs stream converter in the content process, once we
have decided which one to use.

Differential Revision: https://phabricator.services.mozilla.com/D63711

--HG--
extra : moz-landing-system : lando
2020-02-27 14:54:53 +00:00
..
crashtests
idl
loader Backed out changeset d407a28318e6 (bug 1609815) for causing windows ming bustages CLOSED TREE 2020-02-27 07:05:19 +02:00
public Bug 1573844 - Remove external references to js::Class r=mccr8 2019-08-14 17:15:15 +00:00
shell Bug 1542830: Part 4 - Modify mozglue to use new untrusted modules interfaces; r=mhowell 2019-09-23 20:18:41 +00:00
src Bug 911444 part 4. Expose a print method on PDF viewer windows. r=bholley 2020-02-27 14:54:53 +00:00
tests Bug 1617527. Remove the same-compartment checks when setting an exception on a JSContext r=sfink 2020-02-26 21:17:15 +00:00
wrappers Bug 1612447, part 3 - Fix sizes of XPCMaps. r=bzbarsky 2020-02-05 03:29:29 +00:00
moz.build