Bug 22989

Summary: New inspector can recursively inspect itself
Product: WebKit Reporter: Matt Good <matt>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: joepeck, me
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://img.skitch.com/20081225-g99wkhwx68xmpy1i2sebk8nicm.png

Description Matt Good 2008-12-24 22:15:37 PST
An interesting "feature" of sorts in the new Web Inspector is that if you right click in the inspector pane itself and choose Inspect Element you get a second pane displaying information about the inspector itself (see linked screenshot).  You can in fact keep doing this recursively on the inspectors, though it quickly triggers some bugs where the layout breaks and you can no longer resize the inspectors.  These layout bugs can persist even after closing the inspector and require restarting WebKit.  So, despite the cool "meta" factor of this it'd probably be best to disable the behavior.

Otherwise first impressions of the new Web Inspector are great and I hope it will replace most of my need for Firebug.
Comment 1 Joseph Pecoraro 2009-03-01 08:06:30 PST
I think this is a good thing.  Especially for developers who want to write their own extensions to the Web Inspector:
https://bugs.webkit.org/show_bug.cgi?id=24273

Maybe have this ability be a toggle-able setting or a defaults key/value?

"These layout bugs can persist even after closing the inspector and require restarting WebKit."
I agree that this is a real issue that I've run into.
Comment 2 Timothy Hatcher 2009-04-06 09:59:17 PDT
This is meant for debugging, but it should be a hidden option. We should also never dock an Inspector in the Inspector, also use windowed mode.
Comment 3 Nikita Vasilyev 2012-05-01 05:51:59 PDT
This is no longer relevant since "Inspect Element" is hidden by default. Although, it is possible to turn it on https://bugs.webkit.org/show_bug.cgi?id=80585#c4