Closed Bug 1024932 Opened 10 years ago Closed 10 years ago

addSwatch originalValue never passed in but used in function body

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 33

People

(Reporter: miker, Assigned: pbro)

Details

Attachments

(1 file)

STR:
1. Search for addSwatch
2. You will see that the function declaration has originalValue after a default parameter (default params have to be last).

We never actually pass in originalValue but make use of it in this.swatches.set()

We should remove all references to originalValue from addSwatch and it should work fine.
Attachment #8444339 - Flags: review?(mratcliffe) → review+
Looking at the failures, I don't see how the patch could have caused this.
I updated my fx-team, re-applied my patch and started a few windows opt xpcshell tests: https://tbpl.mozilla.org/?tree=Try&rev=87c10ec17c77
The tests seem to be passing so far. I will wait until all retrigger pass and will re-land the patch.
https://hg.mozilla.org/mozilla-central/rev/1fee2490350f
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 33
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: