[Webkit-unassigned] [Bug 51357] ASSERTION: !m_reachedTerminalState in ResourceLoader::didCancel()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 20 16:34:18 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=51357
Alexey Proskuryakov <ap at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |beidson at apple.com,
| |japhet at chromium.org,
| |koivisto at iki.fi,
| |mihaip at chromium.org
--- Comment #1 from Alexey Proskuryakov <ap at webkit.org> 2010-12-20 16:34:18 PST ---
The problem is that main resource can finish loading during execution of its own MainResourceLoader::didCancel():
frameLoader()->receivedMainResourceError(error, true);
ResourceLoader::didCancel(error);
Here, receivedMainResourceError() indirectly starts printing, and load finishes while a print sheet is displayed. Naturally, ResourceLoader::didCancel() isn't happy about the load being half-canceled and half-finished.
One may think (as I did) that adding PageGroupLoadDeferrer in Chrome::print() would solve this, but DocumentLoader doesn't have its MainResourceLoader pointer at this point any more, so deferring the page doesn't defer its main resource.
--
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