comparison chrome/pageloader.js @ 201:bffb8b1b0948

bug 651659 (pageloader no longer creating browser windows with chrome) one small change and chrome returns! (take 1) p=anodelman r=jmaher
author Alice Nodelman <alice@mozilla.com>
date Thu, 28 Apr 2011 10:32:20 -0700
parents 31249cbe4f19
children 0b38ce037298
comparison
equal deleted inserted replaced
200:31249cbe4f19 201:bffb8b1b0948
151 var blank = Cc["@mozilla.org/supports-string;1"] 151 var blank = Cc["@mozilla.org/supports-string;1"]
152 .createInstance(Ci.nsISupportsString); 152 .createInstance(Ci.nsISupportsString);
153 blank.data = "about:blank"; 153 blank.data = "about:blank";
154 browserWindow = wwatch.openWindow 154 browserWindow = wwatch.openWindow
155 (null, "chrome://browser/content/", "_blank", 155 (null, "chrome://browser/content/", "_blank",
156 "chrome,dialog=no,width=" + winWidth + ",height=" + winHeight, blank); 156 "chrome,all,dialog=no,width=" + winWidth + ",height=" + winHeight, blank);
157 157
158 // get our window out of the way 158 // get our window out of the way
159 window.resizeTo(10,10); 159 window.resizeTo(10,10);
160 160
161 var browserLoadFunc = function (ev) { 161 var browserLoadFunc = function (ev) {