Bug 148088 - Web Inspector: when remote inspecting iOS device, cannot inspect the Web Inspector itself
Summary: Web Inspector: when remote inspecting iOS device, cannot inspect the Web Insp...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac iOS 9.0
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: InspectorDebug
  Show dependency treegraph
 
Reported: 2015-08-17 13:15 PDT by BJ Burg
Modified: 2015-08-18 21:03 PDT (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BJ Burg 2015-08-17 13:15:57 PDT
STEPS TO REPRODUCE:

1. make sure you can inspect the inspector normally:

defaults write com.apple.Safari WebKitDeveloperExtrasEnabled 1
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2DeveloperExtrasEnabled 1

2. Remote inspect Safari page on an iOS device
3. Right click inside the inspector

EXPECTED:

 * Second-level inspector pops up when right clicking the inspector

ACTUAL:

 * No menu item for "Inspect Element" when right clicking the inspector


NOTES:

This is probably a matter of not having a different defaults key set somewhere. Joe, any ideas?
Comment 1 Radar WebKit Bug Importer 2015-08-17 13:16:38 PDT
<rdar://problem/22312519>
Comment 2 Timothy Hatcher 2015-08-18 17:19:35 PDT
The WK1 default should work. Maybe the WK delegate is removing the context menu item?
Comment 3 Joseph Pecoraro 2015-08-18 17:32:48 PDT
Actually, it uses its own default.

    shell> defaults write com.apple.WebInspector DeveloperExtrasEnabled -bool YES

Ideally we would move it to a WKWebView variant.
Comment 4 BJ Burg 2015-08-18 21:03:28 PDT
(In reply to comment #3)
> Actually, it uses its own default.
> 
>     shell> defaults write com.apple.WebInspector DeveloperExtrasEnabled
> -bool YES
> 
> Ideally we would move it to a WKWebView variant.

OK, added the default to the wiki for now. Closing this bug.

https://trac.webkit.org/wiki/WebInspectorDebugging