Browse Source

Change the channel owner to the resource url.

Brendan Dahl 13 years ago
parent
commit
a842534a56
  1. 2
      extensions/firefox/components/PdfStreamConverter.js

2
extensions/firefox/components/PdfStreamConverter.js

@ -653,7 +653,7 @@ PdfStreamConverter.prototype = { @@ -653,7 +653,7 @@ PdfStreamConverter.prototype = {
var resourcePrincipal = 'getNoAppCodebasePrincipal' in securityManager ?
securityManager.getNoAppCodebasePrincipal(uri) :
securityManager.getCodebasePrincipal(uri);
channel.owner = resourcePrincipal;
aRequest.owner = resourcePrincipal;
}
channel.asyncOpen(proxy, aContext);
},

Loading…
Cancel
Save