Bug 717963 - Use getBrowserURL(). r=dao

This commit is contained in:
Mark Capella 2012-02-25 22:02:14 +01:00
parent 65d22b4f8e
commit e7044ef7d3
2 changed files with 3 additions and 3 deletions

View File

@ -8,8 +8,8 @@ function test() {
function testChromeless() {
// test a chromeless window
var newWin = openDialog("chrome://browser/content/", "_blank",
"chrome,dialog=no,toolbar=no", "about:blank");
var newWin = openDialog(getBrowserURL(), "_blank",
"chrome,dialog=no,toolbar=no", "about:blank");
ok(newWin, "got new window");
function runWindowTest() {

View File

@ -40,7 +40,7 @@ function openWinWithCb(cb, argURIs, expectedURIs) {
if (!expectedURIs)
expectedURIs = argURIs;
var win = openDialog("chrome://browser/content/", "_blank",
var win = openDialog(getBrowserURL(), "_blank",
"chrome,all,dialog=no", argURIs.join("|"));
win.addEventListener("load", function () {