REGRESSION(r225765) WKWebViewConfiguration should not keep a strong reference to a WebPageGroup
Created attachment 346726 [details] Patch
<rdar://problem/42788651>
Comment on attachment 346726 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=346726&action=review > Source/WebKit/ChangeLog:9 > + Doing so caused a reference cycle. Keep an identifier instead. I do not get why this is OK. In particular in this scenario: 1. I create a WKPageGroup 2. I create a WKWebViewConfiguration 3. I set my WKPageGroup on the WKWebViewConfiguration 4. I deref the WKPageGroup since I expect the WKWebViewConfiguration to hold on to it. -> after your change, the WKPageGroup gets destroyed right? 5. I create a WKWebView using my WKWebViewConfiguration -> It does not end up in the WKPageGroup I specified.
Comment on attachment 346726 [details] Patch Chris is right. This is no good.