[Webkit-unassigned] [Bug 12381] Introducing PageClient

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 24 18:52:46 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12381





------- Comment #3 from ggaren at apple.com  2007-01-24 18:52 PDT -------
I don't think this patch is right.

First, a Page does *not* own its clients. One WebKit design might delete the
client when the page was done with it, but another might reuse a single client
for all pages, while another still might have a client that needed to outlive
its page. The whole notion of a Page owning a client contradicts the name
"client."

Second, a "client client" is an extra level of indirection which, to me, makes
things more awkward, not less. In the current design, whoever constructs a Page
needs to know how to construct the Page's clients. In the "client client"
design, whoever constructed a Page would need to know to construct a mediating
object that would know how to construct the Page's clients at some arbitrary
future date.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list