[Webkit-unassigned] [Bug 32442] New: Inspector console outputs the global value for a variable instead of the local value
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 11 12:18:20 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=32442
Summary: Inspector console outputs the global value for a
variable instead of the local value
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Keywords: HasReduction, InRadar, Regression
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ddkilzer at webkit.org
Created an attachment (id=44701)
--> (https://bugs.webkit.org/attachment.cgi?id=44701)
Test case
* SUMMARY
When breaking inside a function with a local variable that masks a global
variable, printing the variable shows the globally-scoped variable instead of
the locally-scoped one.
* STEPS TO REPRODUCE
1. Launch Safari or WebKit nightly.
2. Enable JavaScript Debugging in the Web Inspector.
3. Load the test page.
4. Type 'x' in the console and hit Enter.
* EXPECTED RESULTS
The console should print: "This is the local value"
* ACTUAL RESULTS
This console prints: "This is the global value"
* REGRESSION
This is a regression from shipping Safari 4.0.4.
--
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