*
* ***** END LICENSE BLOCK ***** */
-//Components.utils.import("resource://gre/modules/Services.jsm");
+Components.utils.import("resource://gre/modules/Services.jsm");
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
function AboutMandelbrot() { }
},
newChannel: function(aURI) {
- //let channel = Services.io.newChannel("chrome://mandelbrot/content/mandelbrot-tab.xul",
- // null, null);
- let ios = Components.classes["@mozilla.org/network/io-service;1"]
- .getService(Components.interfaces.nsIIOService);
- let channel = ios.newChannel("chrome://mandelbrot/content/mandelbrot-tab.xul",
- null, null);
+ let channel = Services.io.newChannel("chrome://mandelbrot/content/mandelbrot.xul",
+ null, null);
channel.originalURI = aURI;
return channel;
}