[Webkit-unassigned] [Bug 125018] New: Web Inspector: TypeError when reloading page with Debugger sidebar panel open

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 29 11:09:48 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=125018

           Summary: Web Inspector: TypeError when reloading page with
                    Debugger sidebar panel open
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: burg at cs.washington.edu
                CC: timothy at apple.com, joepeck at webkit.org,
                    webkit-bug-importer at group.apple.com, graouts at apple.com


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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list