Bug 59123 - Web Inspector: exception in front-end when user selects resource info for resource that does not have response headers yet
Summary: Web Inspector: exception in front-end when user selects resource info for res...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Andrey Kosyakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-21 11:33 PDT by Andrey Kosyakov
Modified: 2011-04-22 08:04 PDT (History)
11 users (show)

See Also:


Attachments
patch (3.56 KB, patch)
2011-04-21 11:37 PDT, Andrey Kosyakov
no flags Details | Formatted Diff | Diff
patch (3.62 KB, patch)
2011-04-21 11:54 PDT, Andrey Kosyakov
no flags Details | Formatted Diff | Diff
patch (3.74 KB, patch)
2011-04-21 12:03 PDT, Andrey Kosyakov
yurys: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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