From 073f4b820914b86b13dc188bb675080331604040 Mon Sep 17 00:00:00 2001 From: "cyeh%netscape.com" Date: Tue, 6 Apr 1999 17:30:05 +0000 Subject: [PATCH] backout matt fisher change to navigator.xul. it was causing a crash on macintosh, a hang on win32, and a startup crash on Linux. --- xpfe/browser/src/navigator.xul | 62 +++++++++++++++++----------------- 1 file changed, 31 insertions(+), 31 deletions(-) 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'"/> - +