[Webkit-unassigned] [Bug 90375] Parallel image decoders

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 13 00:12:41 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=90375





--- Comment #18 from Huang Dongsung <luxtella at company100.net>  2012-07-13 00:12:37 PST ---
(In reply to comment #10)
> One of the difficulties of parallel image decoding is it is not always safe to call the observers in main thread, because that can trigger JS execution.
> 
> Please take a look at PageGroupLoadDeferrer and relevant code. For example, when a JS modal dialog is being showed, no JS event is supposed to be dispatched.
> 
> The other side of this problem is that one image source can have different observers from different pages, so it cannot get a pointer to a page. One solution may be making the load defer state globally accessible.

Thank you for good information.

You said that "it is not always safe to call the observers in main thread".
By "to call the observers", do you mean CachedImageClient::imageChanged?
If so, could you explain where imageChanged triggers JS execution? I can't find the code.

-- 
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