mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 717963 - Use getBrowserURL(). r=dao
This commit is contained in:
parent
65d22b4f8e
commit
e7044ef7d3
@ -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() {
|
||||
|
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user