* SUMMARY Expose private APIs to interact with RemoteInspector instead of going through WebKit. Back when remote inspection was WebView specific all of the APIs to toggle different behavior were in WebKitLegacy.framework on @class WebView. Since moving the core RemoteInspector singleton to JavaScriptCore, we've gotten away with automatically triggering things in JSContext/WebView/WKWebView but we really should provide some basic set of APIs directly. Things like (1) disable auto starting, (2) explicitly starting, (3) setting parent process information.
<rdar://problem/19044894>
Created attachment 250742 [details] [PATCH] Proposed Fix
Attachment 250742 [details] did not pass style-queue: ERROR: Source/JavaScriptCore/API/JSRemoteInspectorPrivate.h:26: #ifndef header guard has wrong style, please use: JSRemoteInspectorPrivate_h [build/header_guard] [5] ERROR: Source/JavaScriptCore/API/JSRemoteInspectorPrivate.h:37: The parameter name "pid" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/JavaScriptCore/API/JSRemoteInspector.cpp:30: Found header this file implements after other header. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] Total errors found: 3 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 250745 [details] [PATCH] Proposed Fix
Attachment 250745 [details] did not pass style-queue: ERROR: Source/JavaScriptCore/API/JSRemoteInspector.cpp:30: Found header this file implements after other header. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] Total errors found: 1 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
http://trac.webkit.org/changeset/182816