Title: [276897] trunk/Source/WebKit
- Revision
- 276897
- Author
- mago...@igalia.com
- Date
- 2021-05-03 05:29:01 -0700 (Mon, 03 May 2021)
Log Message
[GTK][WPE] Properly reset WebKitWebView's responsiveness flag
https://bugs.webkit.org/show_bug.cgi?id=225291
Reviewed by Alicia Boya Garcia.
Reset the web process responsiveness flag whenever the web process is terminated.
* UIProcess/API/glib/WebKitWebView.cpp:
(webkitWebViewWebProcessTerminated):
(webkit_web_view_terminate_web_process):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (276896 => 276897)
--- trunk/Source/WebKit/ChangeLog 2021-05-03 11:00:43 UTC (rev 276896)
+++ trunk/Source/WebKit/ChangeLog 2021-05-03 12:29:01 UTC (rev 276897)
@@ -1,3 +1,16 @@
+2021-05-03 Miguel Gomez <mago...@igalia.com>
+
+ [GTK][WPE] Properly reset WebKitWebView's responsiveness flag
+ https://bugs.webkit.org/show_bug.cgi?id=225291
+
+ Reviewed by Alicia Boya Garcia.
+
+ Reset the web process responsiveness flag whenever the web process is terminated.
+
+ * UIProcess/API/glib/WebKitWebView.cpp:
+ (webkitWebViewWebProcessTerminated):
+ (webkit_web_view_terminate_web_process):
+
2021-05-03 Youenn Fablet <you...@apple.com>
Use OptionSet for MediaProducer::MutedStateFlags
Modified: trunk/Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp (276896 => 276897)
--- trunk/Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp 2021-05-03 11:00:43 UTC (rev 276896)
+++ trunk/Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp 2021-05-03 12:29:01 UTC (rev 276897)
@@ -4428,6 +4428,9 @@
}
#endif
g_signal_emit(webView, signals[WEB_PROCESS_TERMINATED], 0, reason);
+
+ // Reset the state of the responsiveness property.
+ webkitWebViewSetIsWebProcessResponsive(webView, true);
}
/*
@@ -4780,7 +4783,4 @@
Ref<WebKit::WebProcessProxy> protectedProcessProxy(provisionalPageProxy->process());
protectedProcessProxy->requestTermination(WebKit::ProcessTerminationReason::RequestedByClient);
}
-
- // Reset the state of the responsiveness property.
- webkitWebViewSetIsWebProcessResponsive(webView, true);
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes