[webkit-dev] Debugging mid-page relayout issues
David D. Kilzer
ddkilzer at kilzer.net
Tue Jun 21 14:54:56 PDT 2005
I've thought about this before, especially in regards to Bug 3416
(Scroll bars are sometimes not updated properly).
http://bugzilla.opendarwin.org/show_bug.cgi?id=3416
Could you add A LOT spaces or NULL characters (ctrl-@, I think) to the
body of the document to "simulate" a timeout when the browser is loading
the page from the filesystem? You might have to put an awful lot of
them in to simulate a timeout, but at least the HTML document would
compress well. (The difference, though, would be that the browser was
continually getting input even though it had nothing to render, versus a
network timeout where nothing is coming in.)
Otherwise, a small HTTP server (Jetty anyone?) would have to be added to
the test suite to provide a "realistic" server response, in which case
you could create an artificial "timeout" as needed). Jetty is licensed
under the Apache License Version 2.0, so I don't think it'd be a big
issue.)
http://jetty.mortbay.org/
Dave
On Tue, Jun 21, 2005 at 10:41:45PM +0300, Mitz Pettel wrote:
> I have encountered a bug that occurs on a certain page only sometimes
> and only when it's loaded via HTTP (i.e. not when opened as a
> webarchive). It looks like the bug occurs only when relayouting
> occurs when the HTML is not fully loaded (or perhaps when images are
> loaded after the page HTML has been loaded). I'm afraid I don't know
> much more than that about the exact conditions.
>
> Do you know of any techniques that will allow me to reproduce those
> conditions without relying on that specific page and on the server
> it's coming from?
>
> Thanks,
> -- Mitz Pettel
More information about the webkit-dev
mailing list