DescriptionDevTools: split network project into buckets
Currently, for a given target and frame, NetworkProject puts all
UISourceCodes in a single project. This is true for UISourceCodes
being created for scripts, styles, resources and source maps.
In future, however, we'd like to have all the UISourceCodes in a
separate projects, which are fully managed by responsible bindings.
(design doc: https://goo.gl/rt9RAS).
This patch prepares for the step, splitting NetworkProject into
multiple "buckets":
- ResourcesBucket: contains UISourceCodes for resourceTreeModel
resources
- ScriptsBucket: contains UISourceCodes for scripts
- StyleSheetsBucket: contains UISourceCodes for style sheets
- SourceMapBucket: contains UISourceCodes for source map sources
Today, the buckets are cleaned up altogether in
frameDetached/mainFrameNavigated events.
Our goal is to clean up buckets independently.
BUG=670180
R=dgozman
Patch Set 1 #Patch Set 2 : fix tests #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 9 (6 generated)
|