Upstream the changes from: Bug 792808 - Change PdfStreamConverter.jsm to import and instantiate XHRs from global properties rather than using Cc.createInstance(Ci.nsIXMLHttpRequest); r=mossop
Upstream the changes from: Bug 792808 - Change PdfStreamConverter.jsm to import and instantiate XHRs from global properties rather than using Cc.createInstance(Ci.nsIXMLHttpRequest); r=mossop

Please see:
https://bugzilla.mozilla.org/show_bug.cgi?id=792808
https://hg.mozilla.org/mozilla-central/rev/56f9de9da69a

Fixes 9499.

macroplant/pdf.js,mukulmishra18/pdf.js,mozilla/pdf.js,mainegreen/pdf.js,showpad/mozilla-pdf.js,mukulmishra18/pdf.js,timvandermeij/pdf.js,macroplant/pdf.js,timvandermeij/pdf.js,Snuffleupagus/pdf.js,timvandermeij/pdf.js,showpad/mozilla-pdf.js,nawawi/pdf.js,macroplant/pdf.js,xavier114fch/pdf.js,showpad/mozilla-pdf.js,mozilla/pdf.js,Shoobx/pdf.js,Shoobx/pdf.js,Snuffleupagus/pdf.js,nawawi/pdf.js,caremerge/pdf.js,Shoobx/pdf.js,Snuffleupagus/pdf.js,caremerge/pdf.js,nawawi/pdf.js,xavier114fch/pdf.js,mainegreen/pdf.js,mozilla/pdf.js