DescriptionDevTools: cleanup script UISourceCodes on executionContextDestroyed
Currently, NetworkProject does a best effort to clean up
UISourceCodes when the frame gets detached. Dynamic scripts, for
example, are not getting removed.
This patch teaches NetworkProject to listen to ExecutionContextDestroyed
event in order to remove associated script-related UISourceCodes.
As a result, this patch un-binds script-related UISourceCode management
from ResourceTreeModel.
R=dgozman
BUG=670180
Patch Set 1 #Patch Set 2 : ad jsdoc #
Depends on Patchset: Messages
Total messages: 7 (4 generated)
|