Web Inspector: sometimes ReceiveResponse event is attached to wrong parent.
authorloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Jul 2011 15:19:14 +0000 (15:19 +0000)
committerloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Jul 2011 15:19:14 +0000 (15:19 +0000)
commitda3f13bbd398c5db3bf4877fa77f9feceb76b320
tree12949714ec474f5256395b8ab8c0244a48c035a2
parentcb5c5339b91d01e55caa95bbd5c3409578900fa8
Web Inspector: sometimes ReceiveResponse event is attached to wrong parent.
https://bugs.webkit.org/show_bug.cgi?id=65016

Reviewed by Yury Semikhatsky.

Source/WebCore:

Test: inspector/timeline/timeline-receive-response-event.html

* inspector/InspectorTimelineAgent.cpp:
(WebCore::InspectorTimelineAgent::didInstallTimer):
(WebCore::InspectorTimelineAgent::didRemoveTimer):
(WebCore::InspectorTimelineAgent::didScheduleResourceRequest):
(WebCore::InspectorTimelineAgent::didFinishLoadingResource):
(WebCore::InspectorTimelineAgent::didTimeStamp):
(WebCore::InspectorTimelineAgent::didMarkDOMContentEvent):
(WebCore::InspectorTimelineAgent::didMarkLoadEvent):
(WebCore::InspectorTimelineAgent::appendRecord):
* inspector/InspectorTimelineAgent.h:
* inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline):

LayoutTests:

* http/tests/inspector/inspector-test.js:
(initialize_InspectorTest.InspectorTest.dump):
* inspector/timeline/resources/anImage.png: Added.
* inspector/timeline/resources/anotherImage.png: Added.
* inspector/timeline/timeline-receive-response-event-expected.txt: Added.
* inspector/timeline/timeline-receive-response-event.html: Added.
* platform/chromium/inspector/timeline/timeline-receive-response-event-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@91567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/inspector/inspector-test.js
LayoutTests/inspector/timeline/resources/anImage.png [new file with mode: 0644]
LayoutTests/inspector/timeline/resources/anotherImage.png [new file with mode: 0644]
LayoutTests/inspector/timeline/timeline-receive-response-event-expected.txt [new file with mode: 0644]
LayoutTests/inspector/timeline/timeline-receive-response-event.html [new file with mode: 0644]
LayoutTests/platform/chromium/inspector/timeline/timeline-receive-response-event-expected.txt [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/inspector/InspectorTimelineAgent.cpp
Source/WebCore/inspector/InspectorTimelineAgent.h
Source/WebCore/inspector/front-end/TimelinePanel.js