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+

Andrey Kosyakov
Reported 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
Attachments
patch (3.56 KB, patch)
2011-04-21 11:37 PDT, Andrey Kosyakov
no flags
patch (3.62 KB, patch)
2011-04-21 11:54 PDT, Andrey Kosyakov
no flags
patch (3.74 KB, patch)
2011-04-21 12:03 PDT, Andrey Kosyakov
yurys: review+
Andrey Kosyakov
Comment 1 2011-04-21 11:37:47 PDT
Andrey Kosyakov
Comment 2 2011-04-21 11:54:22 PDT
Created attachment 90569 [details] patch - moved call to updateWidths() from show() to _buildCookiesTable()
Andrey Kosyakov
Comment 3 2011-04-21 12:03:28 PDT
Created attachment 90570 [details] patch on a second^Wthird thought, separated logic for table creation and refresh.
Andrey Kosyakov
Comment 4 2011-04-22 06:44:26 PDT
Note You need to log in before you can comment on or make changes to this bug.