Bug 59123

Summary: Web Inspector: exception in front-end when user selects resource info for resource that does not have response headers yet
Product: WebKit Reporter: Andrey Kosyakov <caseq>
Component: Web Inspector (Deprecated)Assignee: Andrey Kosyakov <caseq>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, vsevik, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
patch
none
patch
none
patch yurys: review+

Description Andrey Kosyakov 2011-04-21 11:33:32 PDT
1. Open inspector, switch to network pane
2. Start loading a resource that is slow to load (<?php sleep(10); ?> will do)
3. Click on the resource when it appears in network pane
4. Observe response headers are not present yet
5. Attach inspector, observe exception when response headers are received
Comment 1 Andrey Kosyakov 2011-04-21 11:37:47 PDT
Created attachment 90564 [details]
patch
Comment 2 Andrey Kosyakov 2011-04-21 11:54:22 PDT
Created attachment 90569 [details]
patch

- moved call to updateWidths() from show() to _buildCookiesTable()
Comment 3 Andrey Kosyakov 2011-04-21 12:03:28 PDT
Created attachment 90570 [details]
patch

on a second^Wthird thought, separated logic for table creation and refresh.
Comment 4 Andrey Kosyakov 2011-04-22 06:44:26 PDT
Manually committed r84607: http://trac.webkit.org/changeset/84607