When we have a proxy application like WebProcess holding WebViews for a UIProcess we only want to show the views if the UIProcess has the proper entitlements. Provide a path to pass the UIProcess audit_token (and pid) information on to webinspectord. Part of: <rdar://problem/16180430>
Created attachment 230547 [details] [PATCH] Proposed Fix
Attachment 230547 [details] did not pass style-queue: ERROR: Source/JavaScriptCore/inspector/remote/RemoteInspector.mm:544: Missing space before { [whitespace/braces] [5] ERROR: Source/JavaScriptCore/inspector/remote/RemoteInspector.h:64: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] ERROR: Source/JavaScriptCore/inspector/remote/RemoteInspector.h:67: The parameter name "pid" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 3 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
<http://trac.webkit.org/changeset/168565>