Bug 32513 - Nightlies: auto generated global variables (from css ids) can shadow local variables
Summary: Nightlies: auto generated global variables (from css ids) can shadow local va...
Status: RESOLVED DUPLICATE of bug 32442
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-14 06:36 PST by Martin Häcker
Modified: 2009-12-26 17:35 PST (History)
1 user (show)

See Also:


Attachments
reduction (200 bytes, text/html)
2009-12-15 12:42 PST, Martin Häcker
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Häcker 2009-12-14 06:36:29 PST
To reproduce launch the attached reduction, stop at the breakpoint and type 'foo' in the console. That will return the div dom element. (I don't like that behaviour, but well)

Now step over the assignment and output 'foo' again.

Instead of the local variable, the dom node is output again which is definitely a bug as the local variable should have precedence in the debugger js shell.
Comment 1 Alexey Proskuryakov 2009-12-14 14:35:11 PST
There is no attachment in this bug.

Also, is this a duplicate if bug 32442?
Comment 2 Martin Häcker 2009-12-15 12:42:30 PST
Created attachment 44900 [details]
reduction

reduction
Comment 3 Sam Weinig 2009-12-26 17:35:30 PST

*** This bug has been marked as a duplicate of bug 32442 ***