Bug 111922 - [V8] WebInspector: The global object is reset twice when reloading a page.
Summary: [V8] WebInspector: The global object is reset twice when reloading a page.
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 111839
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-09 09:57 PST by Mike West
Modified: 2013-04-05 13:01 PDT (History)
8 users (show)

See Also:


Attachments

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