Title: [156057] trunk/Tools
Revision
156057
Author
a...@apple.com
Date
2013-09-18 13:31:15 -0700 (Wed, 18 Sep 2013)

Log Message

REGRESSION (r129451): run-safari --no-saved-state is broken
https://bugs.webkit.org/show_bug.cgi?id=121566

Reviewed by Mark Rowe.

* Scripts/webkitdirs.pm: (argumentsForRunAndDebugMacWebKitApp):
Check arguments, not the newly created empty array. Pass a value that silences warnings.
While at it, removed a check for Snow Leopard.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (156056 => 156057)


--- trunk/Tools/ChangeLog	2013-09-18 19:51:28 UTC (rev 156056)
+++ trunk/Tools/ChangeLog	2013-09-18 20:31:15 UTC (rev 156057)
@@ -1,3 +1,14 @@
+2013-09-18  Alexey Proskuryakov  <a...@apple.com>
+
+        REGRESSION (r129451): run-safari --no-saved-state is broken
+        https://bugs.webkit.org/show_bug.cgi?id=121566
+
+        Reviewed by Mark Rowe.
+
+        * Scripts/webkitdirs.pm: (argumentsForRunAndDebugMacWebKitApp):
+        Check arguments, not the newly created empty array. Pass a value that silences warnings.
+        While at it, removed a check for Snow Leopard.
+
 2013-09-18  Alex Christensen  <achristen...@webkit.org>
 
         Improved WinLauncher's URL handling.

Modified: trunk/Tools/Scripts/webkitdirs.pm (156056 => 156057)


--- trunk/Tools/Scripts/webkitdirs.pm	2013-09-18 19:51:28 UTC (rev 156056)
+++ trunk/Tools/Scripts/webkitdirs.pm	2013-09-18 20:31:15 UTC (rev 156057)
@@ -2471,7 +2471,8 @@
 sub argumentsForRunAndDebugMacWebKitApp()
 {
     my @args = ();
-    push @args, ("-ApplePersistenceIgnoreState", "YES") if !isSnowLeopard() && checkForArgumentAndRemoveFromArrayRef("--no-saved-state", \@args);
+    use constant ignoreStateWithLoggingSuppressed => "-1";
+    push @args, ("-ApplePersistenceIgnoreState", ignoreStateWithLoggingSuppressed) if checkForArgumentAndRemoveFromARGV("--no-saved-state");
     push @args, ("-WebKit2UseXPCServiceForWebProcess", "YES") if shouldUseXPCServiceForWebProcess();
     unshift @args, @ARGV;
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to