Open Bug 925923 Opened 11 years ago Updated 2 years ago

Simplify applying VariablesView changes without eval

Categories

(DevTools :: Storage Inspector, defect, P3)

defect

Tracking

(Not tracked)

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.
Yes, I'm finding the "add property" option is tremendously complicated by this.
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.
Component: Developer Tools: Framework → Developer Tools: Object Inspector
No longer blocks: 912912
Is it a thing we still want to do?
Product: Firefox → DevTools
Priority: -- → P3

Moving to the DOM panel as it's VariableView related and only the DOM panel uses the VariableView now

Component: Object Inspector → DOM

erratum: this should have been moved to the storage inspector, which is the last consumer of the variable view

Component: DOM → Storage Inspector
Blocks: 1666453
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.