Bug 111922

Summary: [V8] WebInspector: The global object is reset twice when reloading a page.
Product: WebKit Reporter: Mike West <mkwst>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: apavlov, keishi, loislo, pfeldman, pmuellr, vsevik, web-inspector-bugs, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 111839    
Bug Blocks:    

Description Mike West 2013-03-09 09:57:23 PST
In inspector/debugger/watch-expressions-preserve-expansion.html, we see that the V8 bindings reset the global object twice. This calls out to WebInspector.ScriptsPanel._debuggerReset, which resets the watch expressions, causing them to refresh their values. Since there's no context at that point, the evaluation in WebInspector.WatchExpressionsSection.update() fails. All of this is exactly as it should be, other than the twice bit... Ugh.
Comment 1 Timothy Hatcher 2013-04-05 13:01:52 PDT
Chromium and V8 have left the building. Won't fix.