WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
125022
[Cocoa] Make WKBrowsingContextController work with WKObject wrapping
https://bugs.webkit.org/show_bug.cgi?id=125022
Summary
[Cocoa] Make WKBrowsingContextController work with WKObject wrapping
Sam Weinig
Reported
2013-11-29 16:01:53 PST
[Cocoa] Make WKBrowsingContextController work with WKObject wrapping
Attachments
Patch
(23.08 KB, patch)
2013-11-29 16:10 PST
,
Sam Weinig
mitz: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2013-11-29 16:10:40 PST
Created
attachment 218081
[details]
Patch
mitz
Comment 2
2013-11-29 16:22:53 PST
Comment on
attachment 218081
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=218081&action=review
> Source/WebKit2/ChangeLog:25 > + Lazily setup the load and policy clients only once a delegate has been set to allow
s/setup/set up/
> Source/WebKit2/ChangeLog:35 > + Add wrapper() helper and declare conformance to the WKObject protocol. Remove no longer used > + _initWithPageRef: and _browsingContextControllerForPageRef: helpers.
Exciting!
> Source/WebKit2/ChangeLog:47 > + Stop caching the WKBrowsingContextController, as it no long makes sense since it is the same object > + as the WebPageProxy.
Everything is falling into place!
> Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextController.mm:614 > +- (void)_finishInitialization
Not part of the protocol so maybe reorder it out of this section.
> Source/WebKit2/UIProcess/mac/WebPageProxyMac.mm:51 > +#import "WKBrowsingContextControllerInternal.h"
This should go before the < imports.
Sam Weinig
Comment 3
2013-11-29 16:24:54 PST
Committed
r159877
: <
http://trac.webkit.org/changeset/159877
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug