[Webkit-unassigned] [Bug 86504] [Chromium] Expose WebView to graphics context creation.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 16 19:07:44 PDT 2012


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





--- Comment #14 from James Robinson <jamesr at chromium.org>  2012-05-16 19:06:48 PST ---
> > 
> > Within a render process, some WebViews might be guests and some might not be.
> 
> I can't see how that would work.

Let me expand.  Currently, there's a fair amount of code in WebKit and chromium that makes assumptions about the relationship between WebViews in the same render process - such as assuming that they may synchronously script each other, etc.  Canvas 2d is one example, but not the only one.  If you have some guests in a process with non-guests or different guests then you're breaking this assumption.  Instead, it seems like you would need to define groups of WebViews that have the relationship that being in the same process used to imply, and the propagate that notion to all code in WebKit/chromium that needs to know about this.  It's hard to predict ahead of time everything that you would need to modify to do this.

I'm not sure what lead to the decision to put guest WebViews in the same process as non-guests, but this may be more work than you had in mind.  I'd recommend you start with guests in their own process and get that working first, then see if the refactors for sharing a process are worth the costs.

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