Title: [181921] trunk/Source/WebKit2
- Revision
- 181921
- Author
- [email protected]
- Date
- 2015-03-24 16:54:04 -0700 (Tue, 24 Mar 2015)
Log Message
Fix crash in WebKit::RemoteObjectRegistry::sendInvocation
https://bugs.webkit.org/show_bug.cgi?id=143027
rdar://problem/20208674
Reviewed by Sam Weinig.
* WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm:
(-[WKWebProcessPlugInBrowserContextController dealloc]):
Make sure to invalidate the _WKRemoteObjectRegistry like we do in the UI process.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (181920 => 181921)
--- trunk/Source/WebKit2/ChangeLog 2015-03-24 23:46:03 UTC (rev 181920)
+++ trunk/Source/WebKit2/ChangeLog 2015-03-24 23:54:04 UTC (rev 181921)
@@ -1,3 +1,15 @@
+2015-03-24 Anders Carlsson <[email protected]>
+
+ Fix crash in WebKit::RemoteObjectRegistry::sendInvocation
+ https://bugs.webkit.org/show_bug.cgi?id=143027
+ rdar://problem/20208674
+
+ Reviewed by Sam Weinig.
+
+ * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm:
+ (-[WKWebProcessPlugInBrowserContextController dealloc]):
+ Make sure to invalidate the _WKRemoteObjectRegistry like we do in the UI process.
+
2015-03-24 Chris Dumez <[email protected]>
[WK2] Responses with 204 HTTP Status Code should be cacheable by default
Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm (181920 => 181921)
--- trunk/Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm 2015-03-24 23:46:03 UTC (rev 181920)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm 2015-03-24 23:54:04 UTC (rev 181921)
@@ -342,6 +342,8 @@
- (void)dealloc
{
+ [_remoteObjectRegistry _invalidate];
+
_page->~WebPage();
[super dealloc];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes