[Webkit-unassigned] [Bug 91766] didFirstVisuallyNonEmptyLayout() callback not fired for initial about:blank page in new loading window
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 19 21:14:36 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=91766
--- Comment #12 from Charles Reis <creis at chromium.org> 2012-07-19 21:14:37 PST ---
(In reply to comment #9)
> > We don't show the pending URL if there's a committed URL in the window, so there's no risk. That's also a much less common case, so it's ok leaving it that way.
>
> So, you only care about the initial document? Blankness isn't really the thing you're after here. You just want to hide the fact that WebCore uses an initial about:blank document in newly created windows.
Yes, I only care about the initial document. But I think I do care whether it's still blank or not. The spec allows the window's opener to modify the initial document (whether a load is in progress or not), and it's not safe to show the loading URL if the initial document has been modified. The attached repro page demonstrates this.
I would like to show the loading URL until the initial document has been modified, but I haven't yet found a way to detect the modification.
(In reply to comment #11)
> Have you looked at dispatchDidNewFirstVisuallyNonEmptyLayout to see whether that works better for your use case?
Just took a look. Good thought, but it isn't called when I modify the content of the initial document. Other things I could check?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list