Bug 141083

Summary: Cannot attach Web Inspector to MobileSafari running in the simulator with built iOS WebKit
Product: WebKit Reporter: Brian Burg <burg>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bburg, dbates, ddkilzer, joepeck, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 147066    

Description Brian Burg 2015-01-30 08:56:42 PST
Stock Safari (8.0.2) seems unable to attach to MobileSafari when launched via Tools/Scripts/run-safari --ios-simulator. Nothing shows up underneath "Develop > iOS Simulator > [No Inspectable Applications]". I checked Safari preferences in the simulator, and Web Inspector is definitely enabled.

Repro steps:

1. Tools/Scripts/build-webkit --ios-simulator
2. Tools/Scripts/run-safari --ios-simulator
3. Verify in simulator "Web Inspector" setting is enabled through System Preferences app.
3. Open System Safari
4. Try to attach, find nothing.
Comment 1 Joseph Pecoraro 2015-02-02 12:02:46 PST
My guess is this is because webinspectord supports WebContentProcess if it has a private entitlement (which won't be the case in public builds). On OS X we had to fallback to a different approach, we may have to do that here.
Comment 2 Radar WebKit Bug Importer 2015-02-02 12:03:03 PST