Closed
Bug 1297250
Opened 8 years ago
Closed 6 years ago
When renaming a property name, show the current raw one instead of the trimmed one.
Categories
(DevTools :: Object Inspector, enhancement)
DevTools
Object Inspector
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: Oriol, Unassigned)
Details
1. Inspect `({" a ": 1})` 2. Double click `a` to rename it 3. The edit field shows `a`, it should show ` a `
Reporter | ||
Comment 1•8 years ago
|
||
Basically, in `activate`, let initialString = label.getAttribute("value"); should be let initialString = this._variable._nameString; And there are also problems in `_save`: let initial = this.label.getAttribute("value"); let current = this._input.value.trim(); should be let initial = this._variable._nameString; let current = this._input.value; Will write a patch when I have time.
Updated•6 years ago
|
Severity: normal → enhancement
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•