Bug 72713
| Summary: | Opening Web Inspector for non-html content | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jaakko Holster <holster> |
| Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Enhancement | CC: | burg, dsam2912 |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac (Intel) | ||
| OS: | OS X 10.7 | ||
Jaakko Holster
Web Inspector cannot be opened when the current document is not web page (ie. not text/html). In that case the menu item is disabled and the keyboard shortcut works neither.
However, if you open Web Inspector before opening non-html page, Web Inspector keeps open and works fine (ie. shows request related info etc). Because clearly Web Inspector works and can be useful with other content types than html, it should be not prevented to open Web Inspector for non-html content.
Demonstration:
1) Go to http://www.google.com/robots.txt (non-html content)
2) Web Inspector can *not* be opened
3) Go to http://google.com (html content)
4) Open Web Inspector
5) Now go to previous url (http://www.google.com/robots.txt)
6) Web Inspector stays visible and can be used
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
sam
(In reply to comment #0)
> Web Inspector cannot be opened when the current document is not web page (ie. not text/html). In that case the menu item is disabled and the keyboard shortcut works neither.
>
> However, if you open Web Inspector before opening non-html page, Web Inspector keeps open and works fine (ie. shows request related info etc). Because clearly Web Inspector works and can be useful with other content types than html, it should be not prevented to open Web Inspector for non-html content.
>
> Demonstration:
>
> 1) Go to http://www.google.com/robots.txt (non-html content)
> 2) Web Inspector can *not* be opened
> 3) Go to http://google.com (html content)
> 4) Open Web Inspector
> 5) Now go to previous url (http://www.google.com/robots.txt)
> 6) Web Inspector stays visible and can be used
I have tried it with my chrome and qt, but inspector shows up properly. Is it still an issue?
Jaakko Holster
> I have tried it with my chrome and qt, but inspector shows up properly. Is it still an issue?
Still an issue with the latest Safari (5.1.5).