repeated function parameter is shown with wrong value in Scopes

UNCONFIRMED
Unassigned

Status

defect
UNCONFIRMED
2 years ago
11 months ago

People

(Reporter: account-mozilla-bugzilla, Unassigned)

Tracking

54 Branch

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

2 years ago
Posted file example.html
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0
Build ID: 20170418123106

Steps to reproduce:

1. Open attached example.html in Firefox 53.0 or Firefox Developer Edition 54.0a2 (both affected, new and old debugger!).
2. Open Developer Tools, go to Debugger.
3. Set breakpoint in line 10 (first line in function).
4. Reload to hit breakpoint.
5. Look at Scopes/Variables in debugger.
6. Click "resume".


Actual results:

- At step 5: Scopes/Variables window shows repeatedParameter with value "first" (wrong)
- After resume: Console shows output of "second" (correct)



Expected results:

- Debugger Scopes/Variables view should be consistent with runtime behavior: Show repeatedParameter with value "second"
(Reporter)

Updated

2 years ago
Component: Untriaged → Developer Tools: Debugger
Version: 53 Branch → 54 Branch
Thanks for the report Daniel. I'll investigate soon

Updated

11 months ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.