Bug 89606 - run-webkit and debug-webkit should work even if Safari.app has entitlements
Summary: run-webkit and debug-webkit should work even if Safari.app has entitlements
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Rowe (bdash)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-20 15:10 PDT by Mark Rowe (bdash)
Modified: 2012-06-20 16:01 PDT (History)
0 users

See Also:


Attachments
Patch v1 (2.09 KB, patch)
2012-06-20 15:11 PDT, Mark Rowe (bdash)
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Rowe (bdash) 2012-06-20 15:10:00 PDT
As it says in the summary.
Comment 1 Mark Rowe (bdash) 2012-06-20 15:11:48 PDT
Created attachment 148664 [details]
Patch v1
Comment 2 mitz 2012-06-20 15:18:44 PDT
Comment on attachment 148664 [details]
Patch v1

View in context: https://bugs.webkit.org/attachment.cgi?id=148664&action=review

> Tools/Scripts/webkitdirs.pm:639
> +    return (`codesign -d --entitlements - $executablePath 2>&1` =~ /<key>/);

Might be a little cleaner to add a colon before the - there to strip out the binary header.
Comment 3 Mark Rowe (bdash) 2012-06-20 16:01:44 PDT
Fixed in r120878.