[Webkit-unassigned] [Bug 14171] Colloquy's "blank chat room bug"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 17 16:02:33 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14171





------- Comment #4 from timothy at hatcher.name  2007-07-17 16:02 PDT -------
The issue here is that Colloquy is trying to access the DOM from the
didFinishLoadForFrame: delegate call. In cases where there are many WebViews
loading at once, the HTML parser and tokenizer doesn't finish making the DOM
until after didFinishLoadForFrame: is called.

This design has always been the case in WebKit. It is never guaranteed  that
the DOM will be ready when didFinishLoadForFrame is called.

Colloquy does a workaround and will release an update sometime. We should
rethink this API and decide what didFinishLoadForFrame really means and make
that clear in the API docs also.

The attached patch almost fixes this completely but it broke the
fast/dom/Document/document-reopen.html layout test. This test never closes the
document, so with this patch didFinishLoadForFrame never fires. We need to
rework the loader to fire the didFinishLoadForFrame when the main resource and
sub-resource loads finish and the parser is done. But this test re-opens the
document and makes the page seem like it never finishes. The explicit
document.open with no document.close should not affect this delegate call.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list