WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
125018
Web Inspector: TypeError when reloading page with Debugger sidebar panel open
https://bugs.webkit.org/show_bug.cgi?id=125018
Summary
Web Inspector: TypeError when reloading page with Debugger sidebar panel open
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
Details
View All
Add attachment
proposed patch, testcase, etc.
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
<
rdar://problem/16070874
>
Timothy Hatcher
Comment 3
2014-02-14 11:59:09 PST
I fixed this a couple weeks ago.
https://trac.webkit.org/changeset/162413/trunk/Source/WebInspectorUI/UserInterface/ResourceSidebarPanel.js
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug