Bug 125018

Summary: Web Inspector: TypeError when reloading page with Debugger sidebar panel open
Product: WebKit Reporter: Brian Burg <burg>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: joepeck, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
stack trace none

Brian Burg
Reported 2013-11-29 11:08:11 PST
Repro steps: 1. Go to http://www.nihilogic.dk/labs/tetris/ 2. Open resources sidebar, create a few breakpoints in tetris.js 3. Open timelines sidebar 4. Open debugger sidebar, select a breakpoint 5. Reload with Cmd+R a few times Occasionally, there will be this error: ResourceSidebarPanel.js:214: JS ERROR: TypeError: null is not an object (evaluating 'representedObject.parentFrame.mainResource') ResourceSidebarPanel.js:252: CONSOLEAPI ERROR: Didn't find a TreeElement for a representedObject associated with the ResourceSidebarPanel. The resource in question is a Resource instance for tetris.js. It seems that it may be loading in some unexpected order wrt. the main resource. Attached is a stack trace. The bug seems independent of restore strategy; I found it when rewriting restore on reopen/reload, but it reproduces in trunk as well.
Attachments
stack trace (132.71 KB, image/png)
2013-11-29 11:13 PST, Brian Burg
no flags
Brian Burg
Comment 1 2013-11-29 11:13:43 PST
Created attachment 218075 [details] stack trace
Radar WebKit Bug Importer
Comment 2 2014-02-14 09:51:43 PST
Note You need to log in before you can comment on or make changes to this bug.