Changeset 81507 in webkit


Ignore:
Timestamp:
Mar 18, 2011 1:57:11 PM (13 years ago)
Author:
kbalazs@webkit.org
Message:

2011-03-18 Balazs Kelemen <kbalazs@webkit.org>

Reviewed by Benjamin Poulain.

[Qt][WK2] Need a way to debug the web process after the UI process dies
https://bugs.webkit.org/show_bug.cgi?id=56116

Allow the web process to outlive it's parent process
in debug builds if the QT_WEBKIT_KEEP_ALIVE_WEB_PROCESS
environment variable is set.

  • UIProcess/Launcher/qt/ProcessLauncherQt.cpp: (WebKit::QtWebProcess::setupChildProcess): Used getenv since the prctl call is already in a Linux-only block and the implementation in this file is a candidate for sharing across ports in the future.
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r81493 r81507  
     12011-03-18  Balazs Kelemen  <kbalazs@webkit.org>
     2
     3        Reviewed by Benjamin Poulain.
     4
     5        [Qt][WK2] Need a way to debug the web process after the UI process dies
     6        https://bugs.webkit.org/show_bug.cgi?id=56116
     7
     8        Allow the web process to outlive it's parent process
     9        in debug builds if the QT_WEBKIT_KEEP_ALIVE_WEB_PROCESS
     10        environment variable is set.
     11
     12        * UIProcess/Launcher/qt/ProcessLauncherQt.cpp:
     13        (WebKit::QtWebProcess::setupChildProcess): Used getenv
     14        since the prctl call is already in a Linux-only block
     15        and the implementation in this file is a candidate
     16        for sharing across ports in the future.
     17
    1182011-03-18  Darin Adler  <darin@apple.com>
    219
  • trunk/Source/WebKit2/UIProcess/Launcher/qt/ProcessLauncherQt.cpp

    r79335 r81507  
    7676{
    7777#if defined Q_OS_LINUX
     78#ifndef NDEBUG
     79    if (getenv("QT_WEBKIT_KEEP_ALIVE_WEB_PROCESS"))
     80        return;
     81#endif
    7882    prctl(PR_SET_PDEATHSIG, SIGKILL);
    7983#endif
Note: See TracChangeset for help on using the changeset viewer.