Closed
Bug 813172
Opened 13 years ago
Closed 13 years ago
Evaluating 'arguments' as a watch expression always yields an empty pseudo-array
Categories
(DevTools :: Debugger, defect)
DevTools
Debugger
Tracking
(firefox19 fixed)
RESOLVED
FIXED
Firefox 20
Tracking | Status | |
---|---|---|
firefox19 | --- | fixed |
People
(Reporter: vporof, Assigned: vporof)
Details
(Whiteboard: [fixed-in-fx-team])
Attachments
(2 files)
10.96 KB,
patch
|
rcampbell
:
review+
|
Details | Diff | Splinter Review |
11.19 KB,
patch
|
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #683149 -
Flags: review?(rcampbell)
Comment 2•13 years ago
|
||
Comment on attachment 683149 [details] [diff] [review]
v1
that's probably accurate, isn't it? Since we're evaling inside the scope of that function, arguments is likely just an empty array. Not sure we need to special-case this or not.
Assignee | ||
Comment 3•13 years ago
|
||
(In reply to Rob Campbell [:rc] (:robcee) from comment #2)
> Comment on attachment 683149 [details] [diff] [review]
> v1
>
> that's probably accurate, isn't it? Since we're evaling inside the scope of
> that function, arguments is likely just an empty array. Not sure we need to
> special-case this or not.
Well, what we're doing is a hack (avoid multiple client evaluation requests), and we shouldn't expose this fact. Neither Chrome nor Firebug has this behavior.
Comment 4•13 years ago
|
||
Comment on attachment 683149 [details] [diff] [review]
v1
alrighty then. Maybe this is worthy of a comment around the arguments argument and the regex to help future generations.
Attachment #683149 -
Flags: review?(rcampbell) → review+
Assignee | ||
Comment 5•13 years ago
|
||
(In reply to Rob Campbell [:rc] (:robcee) from comment #4)
> Comment on attachment 683149 [details] [diff] [review]
> v1
>
> alrighty then. Maybe this is worthy of a comment around the arguments
> argument and the regex to help future generations.
Thanks. The regex was there before this patch, but ok.
Assignee | ||
Updated•13 years ago
|
Whiteboard: [land-in-fx-team]
Assignee | ||
Comment 7•13 years ago
|
||
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
Assignee | ||
Comment 8•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
Assignee | ||
Comment 9•13 years ago
|
||
Comment on attachment 683552 [details] [diff] [review]
v1.1
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Although a remote use case, evaluating "arguments" (incorrectly) yields an empty pseduo-array.
User impact if declined: Almost none, this patch affects a developer tool, however it's a brand new feature that is likely to get some attention.
Testing completed (on m-c, etc.): fx-team and m-c
Risk to taking this patch (and alternatives if risky): None.
String or UUID changes made by this patch: None.
Attachment #683552 -
Flags: approval-mozilla-aurora?
Updated•13 years ago
|
Attachment #683552 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 10•13 years ago
|
||
New feature, low risk, developer tools only, approving.
Assignee | ||
Comment 11•13 years ago
|
||
Assignee | ||
Updated•13 years ago
|
status-firefox19:
--- → fixed
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•