[Webkit-unassigned] [Bug 53497] New: Web Inspector: do not hide scope variables with command line api.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 1 08:40:20 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=53497
Summary: Web Inspector: do not hide scope variables with
command line api.
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: pfeldman at chromium.org
CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
pmuellr at yahoo.com, joepeck at webkit.org,
pfeldman at chromium.org, yurys at chromium.org,
bweinstein at apple.com, apavlov at chromium.org,
loislo at chromium.org
1. Stop on a breakpoint with "dir" or "$" variables in scope.
2. Eval "dir" in the console.
Expected: dir value
Actual: dir function from the command line API.
The reason is that we eval "with (commandLineApi) { expression }". It does not seem feasible to support both: command line api and proper eval in scope on a breakpoint. Options are:
a. do not inject command line api while on a breakpoint (pros: no confusion, cons: no inspect methods and other command line goodness)
b. inject an object with the API, so that user could type foo.inspect()
c. inject missing functions into the console object.
I am leaning toward (a) for now.
--
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