RESOLVED DUPLICATE of bug 5888653067
Web Inspector: provide HTML preview of the response content in the Network panel.
https://bugs.webkit.org/show_bug.cgi?id=53067
Summary Web Inspector: provide HTML preview of the response content in the Network pa...
Pavel Feldman
Reported 2011-01-24 22:39:44 PST
Upstreaming crbug.com/48389 =========================== What steps will reproduce the problem? 1. Make an Ajax call 2. Go to Developer Tools > Resources > XHR Tab 3. Select the resource on the left What is the expected result? If HTML is returned (say a 500 status is returned along with HTML output from your particular web framework) there should be a tab to view the HTML rendered with the browser. What happens instead? The best we have is the Content tab, which has the HTML in it's raw format. To effectively read the result from the server, one has to copy the raw text, paste into a text editor, save the file, and then view the file in the browser. =========================== For HTML content we could provide a "Preview" tab with the generated iframe inside.
Attachments
Example patch adds Rendered tab to inspector NetworkItemView (2.65 KB, patch)
2011-04-11 12:36 PDT, Shawn Lewis
no flags
Shawn Lewis
Comment 1 2011-04-11 12:36:26 PDT
Created attachment 89053 [details] Example patch adds Rendered tab to inspector NetworkItemView
Shawn Lewis
Comment 2 2011-04-11 12:37:25 PDT
Hi, I'd like to attempt a patch for this, though I'm afraid it might take more work to review than for me to write since I'm unfamiliar with the codebase. Just let me know if that's the case. I've attached a simple patch that works for my use cases. There are a bunch of questions inline starting with "// PATCH".
Vsevolod Vlasov
Comment 3 2011-06-09 09:36:17 PDT
Yury Semikhatsky
Comment 4 2011-06-10 02:05:13 PDT
Closing as duplicate for now. If some functionality is still missing, please reopen or file a new bug. *** This bug has been marked as a duplicate of bug 58886 ***
Note You need to log in before you can comment on or make changes to this bug.