Changeset 161670 in webkit
- Timestamp:
- Jan 10, 2014 1:31:42 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r161669 r161670 1 2014-01-10 Timothy Hatcher <timothy@apple.com> 2 3 Prevent some resources from showing up in Web Inspector as years in duration. 4 5 No WebKit port passed a monotonic time to InspectorInstrumentation::didFinishLoading -- except Chromium. 6 7 https://bugs.webkit.org/show_bug.cgi?id=126760 8 9 Reviewed by Joseph Pecoraro. 10 11 * inspector/InspectorInstrumentation.cpp: 12 (WebCore::InspectorInstrumentation::didFinishLoadingImpl): 13 Revert part of r102961 to use finishTime as-is and not expect a monotonic time. 14 1 15 2014-01-10 Dirk Schulze <krit@webkit.org> 2 16 -
trunk/Source/WebCore/inspector/InspectorInstrumentation.cpp
r161633 r161670 688 688 } 689 689 690 void InspectorInstrumentation::didFinishLoadingImpl(InstrumentingAgents* instrumentingAgents, unsigned long identifier, DocumentLoader* loader, double monotonicFinishTime) 691 { 692 InspectorTimelineAgent* timelineAgent = instrumentingAgents->inspectorTimelineAgent(); 693 InspectorResourceAgent* resourceAgent = instrumentingAgents->inspectorResourceAgent(); 694 if (!timelineAgent && !resourceAgent) 695 return; 696 697 double finishTime = 0.0; 698 // FIXME: Expose all of the timing details to inspector and have it calculate finishTime. 699 if (monotonicFinishTime) 700 finishTime = loader->timing()->monotonicTimeToPseudoWallTime(monotonicFinishTime); 701 702 if (timelineAgent) 690 void InspectorInstrumentation::didFinishLoadingImpl(InstrumentingAgents* instrumentingAgents, unsigned long identifier, DocumentLoader* loader, double finishTime) 691 { 692 if (InspectorTimelineAgent* timelineAgent = instrumentingAgents->inspectorTimelineAgent()) 703 693 timelineAgent->didFinishLoadingResource(identifier, false, finishTime, loader->frame()); 704 if ( resourceAgent)694 if (InspectorResourceAgent* resourceAgent = instrumentingAgents->inspectorResourceAgent()) 705 695 resourceAgent->didFinishLoading(identifier, loader, finishTime); 706 696 }
Note: See TracChangeset
for help on using the changeset viewer.