Changeset 156057 in webkit


Ignore:
Timestamp:
Sep 18, 2013 1:31:15 PM (11 years ago)
Author:
ap@apple.com
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.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r156048 r156057  
     12013-09-18  Alexey Proskuryakov  <ap@apple.com>
     2
     3        REGRESSION (r129451): run-safari --no-saved-state is broken
     4        https://bugs.webkit.org/show_bug.cgi?id=121566
     5
     6        Reviewed by Mark Rowe.
     7
     8        * Scripts/webkitdirs.pm: (argumentsForRunAndDebugMacWebKitApp):
     9        Check arguments, not the newly created empty array. Pass a value that silences warnings.
     10        While at it, removed a check for Snow Leopard.
     11
    1122013-09-18  Alex Christensen  <achristensen@webkit.org>
    213
  • trunk/Tools/Scripts/webkitdirs.pm

    r155918 r156057  
    24722472{
    24732473    my @args = ();
    2474     push @args, ("-ApplePersistenceIgnoreState", "YES") if !isSnowLeopard() && checkForArgumentAndRemoveFromArrayRef("--no-saved-state", \@args);
     2474    use constant ignoreStateWithLoggingSuppressed => "-1";
     2475    push @args, ("-ApplePersistenceIgnoreState", ignoreStateWithLoggingSuppressed) if checkForArgumentAndRemoveFromARGV("--no-saved-state");
    24752476    push @args, ("-WebKit2UseXPCServiceForWebProcess", "YES") if shouldUseXPCServiceForWebProcess();
    24762477    unshift @args, @ARGV;
Note: See TracChangeset for help on using the changeset viewer.