I like to use a special crafted version of netError.xhtml in frames in 
the content area, which for example fires custom events used by the UI 
to do stuff, but I'm not sure how I should load my replacement without 
giving the page chrome privileges... so how should I load this page from 
my JS component?

I BTW currently use something like this:

   newChannel: function(aURI) {
     var ioService = 
Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService);
     var channel = 
ioService.newChannel("chrome://mychrome/content/error.xhtml", null, null);
     channel.originalURI = aURI;
     return channel;
   },

Thank you,

-- 
Michael Vincent van Rantwijk
- MultiZilla Project Team Lead
- XUL Boot Camp Staff member (ActiveState Training Partner)
- iPhone Application Developer

_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to