[webkit-dev] How to create a test for a "missing layout update" bug?
dimich at chromium.org
Thu Apr 9 11:52:06 PDT 2009
I hope you can help me with ideas on how to create a test for the bug where
layout update does not happen (https://bugs.webkit.org/show_bug.cgi?id=24453
The bug is caused by timeout code using Document::updateRendering() instead
of Document::updateDocumentsRendering() so it can miss the actually changed
document. However, many things trigger layout so any attempt to dump the
render tree, use layoutTestController::display() etc do not 'catch' the
buggy behavior since all of them trigger layout. I have a test that is based
on extending layoutTestController to expose FrameView::needsLayout() but it
does not feel right to me to expose internals.
Perhaps anybody had a need to write a test for missing layout update
before.. I would appreciate all possible ideas about it!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev