12010-10-19 Pavel Feldman <pfeldman@chromium.org>
2
3 Reviewed by NOBODY (OOPS!).
4
5 Web Inspector: do not access ResourcePanel from resources directly.
6 https://bugs.webkit.org/show_bug.cgi?id=47892
7
8 * inspector/front-end/Resource.js:
9 (WebInspector.Resource.prototype.set documentURL):
10 (WebInspector.Resource.prototype.set startTime):
11 (WebInspector.Resource.prototype.set responseReceivedTime):
12 (WebInspector.Resource.prototype.set endTime):
13 (WebInspector.Resource.prototype.set resourceSize):
14 (WebInspector.Resource.prototype.set expectedContentLength):
15 (WebInspector.Resource.prototype.set category):
16 (WebInspector.Resource.prototype.set cached):
17 (WebInspector.Resource.prototype.set mimeType):
18 (WebInspector.Resource.prototype.get requestHeaders):
19 (WebInspector.Resource.prototype.set requestHeaders):
20 (WebInspector.Resource.prototype.get responseHeaders):
21 (WebInspector.Resource.prototype.set responseHeaders):
22 * inspector/front-end/ResourcesPanel.js:
23 (WebInspector.ResourcesPanel.prototype.addResource):
24 (WebInspector.ResourcesPanel.prototype.refreshResource):
25 (WebInspector.ResourcesPanel.prototype._recreateViewForResourceIfNeeded):
26 (WebInspector.ResourcesPanel.prototype._resourceViewIsConsistentWithCategory):
27 (WebInspector.ResourceGraph):
28 (WebInspector.ResourceGraph.prototype.refresh):
29 * inspector/front-end/inspector.js:
30 (WebInspector.updateResource):
31