[Webkit-unassigned] [Bug 132860] [Mac] run-safari doesn’t run Safari in 32-bit mode even if WebKit configuration is set to 32-bit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 2 15:40:13 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=132860

Brian Burg <bburg at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bburg at apple.com
         Resolution|---                         |WORKSFORME

--- Comment #3 from Brian Burg <bburg at apple.com> ---
This should work fine nowadays, as we usually route through arch(1) and stick in the current architecture:

sub runMacWebKitApp($;$)
{
    my ($appPath, $useOpenCommand) = @_;
    my $productDir = productDir();
    print "Starting @{[basename($appPath)]} with DYLD_FRAMEWORK_PATH set to point to built WebKit in $productDir.\n";

    local %ENV = %ENV;
    setupMacWebKitEnvironment($productDir);

    if (defined($useOpenCommand) && $useOpenCommand == USE_OPEN_COMMAND) {
        return system("open", "-W", "-a", $appPath, "--args", argumentsForRunAndDebugMacWebKitApp());
    }
    if (architecture()) {
        return system "arch", "-" . architecture(), archCommandLineArgumentsForRestrictedEnvironmentVariables(), $appPath, argumentsForRunAndDebugMacWebKitApp();
    }
    return system { $appPath } $appPath, argumentsForRunAndDebugMacWebKitApp();
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170402/77b4c5ab/attachment-0001.html>


More information about the webkit-unassigned mailing list