diff --git a/xpfe/browser/src/navigator.xul b/xpfe/browser/src/navigator.xul index 40acc1a14d2..52f0036dc10 100644 --- a/xpfe/browser/src/navigator.xul +++ b/xpfe/browser/src/navigator.xul @@ -20,7 +20,7 @@ if (appCore != null) { dump("BrowserAppCore has been created.\n"); appCore.Init("BrowserAppCore"); - appCore.setContentWindow(window.frames[0].frames[1]); + appCore.setContentWindow(window.frames[0]); appCore.setWebShellWindow(window); appCore.setToolbarWindow(window); appCore.setDisableCallback("DoDisableButtons();"); @@ -50,7 +50,7 @@ function RefreshUrlbar() { //Refresh the urlbar bar - document.getElementById('urlbar').value = window.frames[0].frames[1].location.href; + document.getElementById('urlbar').value = window.frames[0].location.href; } function BrowserBack() @@ -79,7 +79,7 @@ function BrowserHome() { - window.frames[0].frames[1].home(); + window.frames[0].home(); RefreshUrlbar(); } @@ -96,7 +96,7 @@ return false; } - window.frames[0].frames[1].location.href = url; + window.frames[0].location.href = url; RefreshUrlbar(); } @@ -486,7 +486,7 @@ - + @@ -525,42 +525,42 @@ + onclick="window.frames[0].location.href='http://www.mozilla.org/projects/seamonkey/release-notes/index.html'"/> + onclick="window.frames[0].location.href='http://www.mozilla.org/projects/seamonkey/release-notes/index.html'"/> // Menu for testing. // Build verification sites. - - - + + + // Viewer tests. - - - - - - - - - - - - - - + + + + + + + + + + + + + + // XPToolkit tests. - - + + @@ -580,12 +580,12 @@ + onclick="window.frames[0].location.reload()"> + onclick="window.frames[0].stop()"> @@ -600,7 +600,7 @@ - + @@ -609,13 +609,13 @@ + onclick="window.frames[0].location.href='http://my.netscape.com'"/> - +