Title: [220840] releases/WebKitGTK/webkit-2.18/Source/WebKit
Revision
220840
Author
[email protected]
Date
2017-08-17 00:45:01 -0700 (Thu, 17 Aug 2017)

Log Message

Merge r220786 - [GTK][WPE] WebKitAutomationSession should set session client to nullptr on dispose
https://bugs.webkit.org/show_bug.cgi?id=175564

Reviewed by Carlos Alberto Lopez Perez.

WebAutomationSession expects its client to be nullptr in the destructor.

* UIProcess/API/glib/WebKitAutomationSession.cpp:
(webkitAutomationSessionDispose):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.18/Source/WebKit/ChangeLog (220839 => 220840)


--- releases/WebKitGTK/webkit-2.18/Source/WebKit/ChangeLog	2017-08-17 07:43:08 UTC (rev 220839)
+++ releases/WebKitGTK/webkit-2.18/Source/WebKit/ChangeLog	2017-08-17 07:45:01 UTC (rev 220840)
@@ -1,5 +1,17 @@
 2017-08-15  Carlos Garcia Campos  <[email protected]>
 
+        [GTK][WPE] WebKitAutomationSession should set session client to nullptr on dispose
+        https://bugs.webkit.org/show_bug.cgi?id=175564
+
+        Reviewed by Carlos Alberto Lopez Perez.
+
+        WebAutomationSession expects its client to be nullptr in the destructor.
+
+        * UIProcess/API/glib/WebKitAutomationSession.cpp:
+        (webkitAutomationSessionDispose):
+
+2017-08-15  Carlos Garcia Campos  <[email protected]>
+
         WebDriver: timeout when _javascript_ alert is shown in onload handler
         https://bugs.webkit.org/show_bug.cgi?id=175315
         <rdar://problem/33788294>

Modified: releases/WebKitGTK/webkit-2.18/Source/WebKit/UIProcess/API/glib/WebKitAutomationSession.cpp (220839 => 220840)


--- releases/WebKitGTK/webkit-2.18/Source/WebKit/UIProcess/API/glib/WebKitAutomationSession.cpp	2017-08-17 07:43:08 UTC (rev 220839)
+++ releases/WebKitGTK/webkit-2.18/Source/WebKit/UIProcess/API/glib/WebKitAutomationSession.cpp	2017-08-17 07:45:01 UTC (rev 220840)
@@ -199,6 +199,8 @@
 {
     WebKitAutomationSession* session = WEBKIT_AUTOMATION_SESSION(object);
 
+    session->priv->session->setClient(nullptr);
+
     if (session->priv->applicationInfo) {
         webkit_application_info_unref(session->priv->applicationInfo);
         session->priv->applicationInfo = nullptr;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to