Bug 19132

Summary: Global variables in debugger are hard to distinguish from built-in window properties
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: adachan, beidson, inspector-bugzilla-changes, rik, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
testcase
none
screenshot of global variable in scope chain none

Adam Roben (:aroben)
Reported 2008-05-19 19:21:39 PDT
Global variables declared in a script are very hard to distinguish from built-in window properties in the Inspector's debugger.
Attachments
testcase (539 bytes, text/html)
2008-05-19 19:28 PDT, Adam Roben (:aroben)
no flags
screenshot of global variable in scope chain (156.81 KB, image/png)
2008-05-19 19:28 PDT, Adam Roben (:aroben)
no flags
Adam Roben (:aroben)
Comment 1 2008-05-19 19:28:34 PDT
Created attachment 21246 [details] testcase
Adam Roben (:aroben)
Comment 2 2008-05-19 19:28:57 PDT
Created attachment 21247 [details] screenshot of global variable in scope chain
Brian Burg
Comment 3 2014-12-14 15:50:25 PST
I'm not sure the distinction makes sense when inspecting non-JSContext. Perhaps we could add a [N] native badge for native DOM constructors in global scope? I do agree that the "Global Variables" section is basically unusable.
Radar WebKit Bug Importer
Comment 4 2014-12-17 11:25:26 PST
Note You need to log in before you can comment on or make changes to this bug.