IWebShell now supports a single observer...

This commit is contained in:
rpotts@netscape.com
1998-07-22 11:19:54 +00:00
parent 8458b993b6
commit b4d2c9e5a5
3 changed files with 5 additions and 3 deletions

View File

@@ -237,7 +237,8 @@ extern "C" NS_EXPORT int DebugRobot(
}
g_bReadyForNextUrl = PR_FALSE;
if (ww) {
ww->LoadURL(url->GetSpec(), pl);/* XXX hook up stream listener here! */
ww->SetObserver(pl);
ww->LoadURL(url->GetSpec());/* XXX hook up stream listener here! */
while (!g_bReadyForNextUrl) {
if (yieldProc != NULL)
(*yieldProc)(url->GetSpec());