Title: [232133] trunk/Source/WebKit
- Revision
- 232133
- Author
- [email protected]
- Date
- 2018-05-23 15:55:28 -0700 (Wed, 23 May 2018)
Log Message
Web Automation: disable process swap on navigation when an automation session is active
https://bugs.webkit.org/show_bug.cgi?id=185552
Reviewed by Tim Horton.
* UIProcess/WebProcessPool.cpp:
(WebKit::WebProcessPool::processForNavigationInternal):
This is not intended to work right now. Opt out to avoid crashing
later when a process is deallocated unexpectedly.
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (232132 => 232133)
--- trunk/Source/WebKit/ChangeLog 2018-05-23 22:34:18 UTC (rev 232132)
+++ trunk/Source/WebKit/ChangeLog 2018-05-23 22:55:28 UTC (rev 232133)
@@ -1,3 +1,15 @@
+2018-05-23 Brian Burg <[email protected]>
+
+ Web Automation: disable process swap on navigation when an automation session is active
+ https://bugs.webkit.org/show_bug.cgi?id=185552
+
+ Reviewed by Tim Horton.
+
+ * UIProcess/WebProcessPool.cpp:
+ (WebKit::WebProcessPool::processForNavigationInternal):
+ This is not intended to work right now. Opt out to avoid crashing
+ later when a process is deallocated unexpectedly.
+
2018-05-23 Youenn Fablet <[email protected]>
NetworkLoadChecker should check cached redirections
Modified: trunk/Source/WebKit/UIProcess/WebProcessPool.cpp (232132 => 232133)
--- trunk/Source/WebKit/UIProcess/WebProcessPool.cpp 2018-05-23 22:34:18 UTC (rev 232132)
+++ trunk/Source/WebKit/UIProcess/WebProcessPool.cpp 2018-05-23 22:55:28 UTC (rev 232133)
@@ -2105,6 +2105,9 @@
if (page.inspectorFrontendCount() > 0)
return page.process();
+ if (m_automationSession)
+ return page.process();
+
if (!page.process().hasCommittedAnyProvisionalLoads())
return page.process();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes