The LayoutMilestones didLayout callback sometimes fires with a milestone value of 0, which doesn't make any sense.
I think I know the problem here.
Created attachment 202575 [details] Patch
Comment on attachment 202575 [details] Patch r=me!!111
Thank you!!! http://trac.webkit.org/changeset/150522