[EMAIL PROTECTED] wrote: > Thanks. > > I'm using the method you suggested (timers), but like you said it is a hack. > One of the problems is that when requesting a url like yahoo (without the > www.yahoo.com) I get a load_start on http://yahoo/ followed by load start > on http://www.yahoo.com/ followed by 2 load_finished. I really like the > feature, but would like to not receive a load_finished on http://yahoo/. It > there an easy way in load_finished to figure out that it is bogus (did not > really render a page)? > > Thanks again,
Like I said, I don't think there's a sure fire way to do this, assuming you're using an X server. You can always hook up to the invalidation and painting in the front end code (it's convoluted code in nsWindow.cpp and nsWidget.cpp) and see when actual drawing takes place. As for the load_start and load_finished, I'm kind of surprised that happens. It's probably because of the DNS rewrite that takes place. You should ask one of the networking folks why we're generating those events. --Chris -- ------------ Christopher Blizzard http://people.redhat.com/blizzard/ "Hell froze over in the geek community yesterday as Mozilla 1.0 was finally released." ------------
