DescriptionDevTools: ResourceTreeModel should not report resources twice
Today, if one loads the page 'http://example.com', devtools will
lack the main resource and thus will create one out of frame pyaload.
However, in case of loading 'http://example.com/index.html', this is
not necessary and results in reporting main resource twice.
This patch fixes the issue, creating a fake resource only if it
is not reported among frame resources.
R=dgozman
BUG=670180
Review-Url: https://codereview.chromium.org/2897713002
Cr-Commit-Position: refs/heads/master@{#473307}
Committed: https://chromium.googlesource.com/chromium/src/+/ad816ae2af03119667c954d52cfcac88d084cf1a
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 12 (8 generated)
|