DevTools: fix improper cleanup in SSP autocomplete
SSP used to use _hasBeenEditedIncrementally to know whether a property's name or value was dirty. It would skip cleanup if it was not dirty. A recent change made _hasBeenEditedIncrementally() reset when moving focus from name > value editor, which broke the cleanup phase. This CL re-adds a dirty flag state. Bug: 968792 Change-Id: I0b3b167d88ce2ee20e222e3e23d7accf179cebfb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1637608Reviewed-by:Andrey Lushnikov <lushnikov@chromium.org> Commit-Queue: Erik Luo <luoe@chromium.org> Cr-Commit-Position: refs/heads/master@{#664974}
Showing
Please register or sign in to comment