Closed
Bug 299797
Opened 19 years ago
Closed 19 years ago
Venkman Interactive Session Evaluation uses wrong scope
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
People
(Reporter: sync2d, Unassigned)
References
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050705 Firefox/1.0+ (2005070522)
Since bug 293933 is fixed, Venkman Interactive Session no longer throws
EvalError. But its feature is still broken. It evaluates given expr
in the debugger's scope instead of the selected window's scope.
Reproducible: Always
Steps to Reproduce:
1. load "about:blank" in the browser.
2. start venkman.
3. set the window displaying "about:blank" as evaluation object in venkman.
4. make sure Interaction Session pane says
"[context: about:blank, scope: [object Window]]".
5. evaluate "location.href".
Actual Results:
< 00001: location.href
> chrome://venkman/content/venkman.xul
Expected Results:
< 00001: location.href
> about:blank
Comment 1•19 years ago
|
||
I can confirm that behavior with Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.8b2) Gecko/20050705 Firefox/1.0+
It's courios that it is working with the netError.xhtml which is a chrome-URI.
All other pages and about: are still broken.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Fixed by the patch for bug 300008.
Now Venkman Interactive Session Evaluation uses the selected scope correctly.
Confirmed with:
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b3) Gecko/20050708 Firefox/1.0+
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.9) Gecko/20050709 Firefox/1.0.5
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
Status: RESOLVED → VERIFIED
Updated•19 years ago
|
Flags: testcase-
You need to log in
before you can comment on or make changes to this bug.
Description
•