Bug 29613 - Web Inspector: Evaluating on call frame always returns "undefined"
Summary: Web Inspector: Evaluating on call frame always returns "undefined"
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Yury Semikhatsky
Depends on:
Reported: 2009-09-21 14:15 PDT by Pavel Feldman
Modified: 2009-09-21 14:37 PDT (History)
2 users (show)

See Also:

patch (3.52 KB, patch)
2009-09-21 14:17 PDT, Pavel Feldman
timothy: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Feldman 2009-09-21 14:15:02 PDT
1. Stop on a breakpoint
2. Evaluate "1"

Expected: 1
Actual: undefined

For some reason evaluation on call frame went different path than evaluating against window. Will use same control flow after the patch.
Comment 1 Pavel Feldman 2009-09-21 14:17:26 PDT
Created attachment 39875 [details]
Comment 2 Pavel Feldman 2009-09-21 14:37:29 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	WebCore/ChangeLog
	M	WebCore/inspector/front-end/InjectedScript.js
Committed r48603