DescriptionDevTools: [Persistence] properly copy breakpoints to filesystem during reload
Persitence takes care of synchronizing breakpoints between filesystem and
network files:
- when the PersistenceBinding comes, breakpoints are moved from fileSystem
to Network uiSourceCode
- when the PersistenceBinding gets removed, breakpoints are copied
from Network uiSourcecode to filesystem
Problem:
When the network uiSourceCode gets removed (e.g. page reload happened),
the breakpoint manager cleans up all breakpoints associated with this
UISourceCode.
As a result, persistence fails to copy breakpoints over to the filesystem.
This patch starts using breakpointsForURL to set breakpoints on FileSystem
UISourceCode.
BUG=649837
R=dgozman
Committed: https://crrev.com/6d8345816cfb1b1f268ca4e2cf24a4e7f2f2c9af
Cr-Commit-Position: refs/heads/master@{#434017}
Patch Set 1 #Patch Set 2 : fix test #
Messages
Total messages: 14 (8 generated)
|