Title: [246638] trunk/Source/WebKit
Revision
246638
Author
ctur...@igalia.com
Date
2019-06-20 10:04:43 -0700 (Thu, 20 Jun 2019)

Log Message

[GTK] Make startup pause available in DEVELOPER_MODE rather than DEBUG.
https://bugs.webkit.org/show_bug.cgi?id=199069

Reviewed by Michael Catanzaro.

* WebProcess/gtk/WebProcessMainGtk.cpp: Allow developers to pause
the web process in DEVELOPER_MODE rather than only DEBUG, matching
the WPE behaviour and also the purpose of DEVELOPER_MODE.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (246637 => 246638)


--- trunk/Source/WebKit/ChangeLog	2019-06-20 17:04:19 UTC (rev 246637)
+++ trunk/Source/WebKit/ChangeLog	2019-06-20 17:04:43 UTC (rev 246638)
@@ -1,3 +1,14 @@
+2019-06-20  Charlie Turner  <ctur...@igalia.com>
+
+        [GTK] Make startup pause available in DEVELOPER_MODE rather than DEBUG.
+        https://bugs.webkit.org/show_bug.cgi?id=199069
+
+        Reviewed by Michael Catanzaro.
+
+        * WebProcess/gtk/WebProcessMainGtk.cpp: Allow developers to pause
+        the web process in DEVELOPER_MODE rather than only DEBUG, matching
+        the WPE behaviour and also the purpose of DEVELOPER_MODE.
+
 2019-06-20  Alexander Mikhaylenko  <exalm7...@gmail.com>
 
         [GTK] The Previous/Next gesture should handle RTL

Modified: trunk/Source/WebKit/WebProcess/gtk/WebProcessMainGtk.cpp (246637 => 246638)


--- trunk/Source/WebKit/WebProcess/gtk/WebProcessMainGtk.cpp	2019-06-20 17:04:19 UTC (rev 246637)
+++ trunk/Source/WebKit/WebProcess/gtk/WebProcessMainGtk.cpp	2019-06-20 17:04:43 UTC (rev 246638)
@@ -45,7 +45,7 @@
 public:
     bool platformInitialize() override
     {
-#ifndef NDEBUG
+#if ENABLE(DEVELOPER_MODE)
         if (g_getenv("WEBKIT2_PAUSE_WEB_PROCESS_ON_LAUNCH"))
             g_usleep(30 * G_USEC_PER_SEC);
 #endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to