Open
Bug 925923
Opened 11 years ago
Updated 2 years ago
Simplify applying VariablesView changes without eval
Categories
(DevTools :: Storage Inspector, defect, P3)
DevTools
Storage Inspector
Tracking
(Not tracked)
NEW
People
(Reporter: jryans, Unassigned)
References
(Blocks 1 open bug)
Details
VariablesView currently notifies its client of changes via methods like eval, switch, and delete, which are geared towards applying those changes by evaling strings.
This is reasonable enough for remote objects, but we could have something less fragile for local objects.
Comment 1•11 years ago
|
||
Yes, I'm finding the "add property" option is tremendously complicated by this.
Comment 2•11 years ago
|
||
Keep in mind that any action on an object might affect other variables in scope or even the object itself in unforeseeable ways. This is why the variables view uses a client evaluation in scope, not simply setting the vale of a property or variable.
Reporter | ||
Updated•11 years ago
|
Component: Developer Tools: Framework → Developer Tools: Object Inspector
Comment 3•10 years ago
|
||
Is it a thing we still want to do?
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Priority: -- → P3
Comment 4•5 years ago
|
||
Moving to the DOM panel as it's VariableView related and only the DOM panel uses the VariableView now
Component: Object Inspector → DOM
Comment 5•5 years ago
|
||
erratum: this should have been moved to the storage inspector, which is the last consumer of the variable view
Component: DOM → Storage Inspector
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•