⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 232133 in webkit


Ignore:
Timestamp:
May 23, 2018, 3:55:28 PM (8 years ago)
Author:
BJ Burg
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.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r232121 r232133  
     12018-05-23  Brian Burg  <bburg@apple.com>
     2
     3        Web Automation: disable process swap on navigation when an automation session is active
     4        https://bugs.webkit.org/show_bug.cgi?id=185552
     5
     6        Reviewed by Tim Horton.
     7
     8        * UIProcess/WebProcessPool.cpp:
     9        (WebKit::WebProcessPool::processForNavigationInternal):
     10        This is not intended to work right now. Opt out to avoid crashing
     11        later when a process is deallocated unexpectedly.
     12
    1132018-05-23  Youenn Fablet  <youenn@apple.com>
    214
  • trunk/Source/WebKit/UIProcess/WebProcessPool.cpp

    r232028 r232133  
    21062106        return page.process();
    21072107
     2108    if (m_automationSession)
     2109        return page.process();
     2110
    21082111    if (!page.process().hasCommittedAnyProvisionalLoads())
    21092112        return page.process();
Note: See TracChangeset for help on using the changeset viewer.