diff --git a/layout/base/nsPresShell.cpp b/layout/base/nsPresShell.cpp --- a/layout/base/nsPresShell.cpp +++ b/layout/base/nsPresShell.cpp @@ -6899,7 +6899,17 @@ PRBool PresShell::DoReflow(nsIFrame* target, PRBool aInterruptible) { +#if 0 fprintf(stderr, "start PresShell::DoReflow (%d)\n", aInterruptible); + + if (aInterruptible == 0) { + nsCAutoString spec; + mDocument->GetDocumentURI()->GetSpec(spec); + if (spec.get()[0] == 'h') { + printf("http non-interruptible reflow thing\n"); + } + } +#endif nsIFrame* rootFrame = FrameManager()->GetRootFrame(); @@ -7024,8 +7034,9 @@ } mPresContext->SetInterruptState(PR_FALSE); +#if 0 fprintf(stderr, "end PresShell::DoReflow (%d)\n\n", interrupted); - +#endif return !interrupted; } diff --git a/widget/src/gtk2/nsAppShell.cpp b/widget/src/gtk2/nsAppShell.cpp --- a/widget/src/gtk2/nsAppShell.cpp +++ b/widget/src/gtk2/nsAppShell.cpp @@ -151,5 +151,6 @@ nsAppShell::GetHasPendingInputEvent(PRBool *aResult) { *aResult = gdk_events_pending(); + //fprintf(stderr, "%d events pending\n", *aResult); return NS_OK; }