Changeset 75120 in webkit
- Timestamp:
- Jan 5, 2011 5:22:46 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r75116 r75120 1 2011-01-05 James Simonsen <simonjam@chromium.org> 2 3 Reviewed by Darin Fisher. 4 5 [Web Timing] requestStart and responseStart should be available even if the document is still loading 6 https://bugs.webkit.org/show_bug.cgi?id=51368 7 8 * http/tests/misc/webtiming-slow-load-expected.txt: Added. 9 * http/tests/misc/webtiming-slow-load.php: Added. 10 1 11 2011-01-05 Kent Tamura <tkent@chromium.org> 2 12 -
trunk/LayoutTests/platform/gtk/Skipped
r74796 r75120 5314 5314 fast/dom/webtiming-document-open.html 5315 5315 http/tests/misc/webtiming-one-redirect.php 5316 http/tests/misc/webtiming-slow-load.php 5316 5317 http/tests/misc/webtiming-ssl.php 5317 5318 http/tests/misc/webtiming-two-redirects.php -
trunk/LayoutTests/platform/mac/Skipped
r74888 r75120 217 217 fast/dom/webtiming-navigate-within-document.html 218 218 http/tests/misc/webtiming-one-redirect.php 219 http/tests/misc/webtiming-slow-load.php 219 220 http/tests/misc/webtiming-ssl.php 220 221 http/tests/misc/webtiming-two-redirects.php -
trunk/LayoutTests/platform/win/Skipped
r74840 r75120 1044 1044 fast/dom/webtiming-navigate-within-document.html 1045 1045 http/tests/misc/webtiming-one-redirect.php 1046 http/tests/misc/webtiming-slow-load.php 1046 1047 http/tests/misc/webtiming-ssl.php 1047 1048 http/tests/misc/webtiming-two-redirects.php -
trunk/WebCore/ChangeLog
r75118 r75120 1 2011-01-05 James Simonsen <simonjam@chromium.org> 2 3 Reviewed by Darin Fisher. 4 5 [Web Timing] requestStart and responseStart should be available even if the document is still loading 6 https://bugs.webkit.org/show_bug.cgi?id=51368 7 8 Test: http/tests/misc/webtiming-slow-load.php 9 10 * page/PerformanceTiming.cpp: 11 (WebCore::getPossiblySkewedTimeInKnownRange): Handle case where response is not yet complete. 12 (WebCore::PerformanceTiming::resourceLoadTimeRelativeToAbsolute): Use full upper bound. 13 1 14 2011-01-05 Chris Rogers <crogers@google.com> 2 15 -
trunk/WebCore/page/PerformanceTiming.cpp
r74315 r75120 40 40 #include "ResourceLoadTiming.h" 41 41 #include "ResourceResponse.h" 42 #include <wtf/CurrentTime.h> 42 43 43 44 namespace WebCore { … … 60 61 return lowerBound; 61 62 63 if (upperBound <= 0.0) 64 upperBound = currentTime(); 65 62 66 if (skewedTime >= upperBound) 63 67 return upperBound; … … 379 383 // Since ResourceLoadTimings came from the network platform layer, we must 380 384 // check them for skew because they may be from another thread/process. 381 double baseTime = getPossiblySkewedTimeInKnownRange(resourceTiming->requestTime, documentTiming->fetchStart, documentTiming->responseEnd - (resourceTiming->receiveHeadersEnd / 1000.0));385 double baseTime = getPossiblySkewedTimeInKnownRange(resourceTiming->requestTime, documentTiming->fetchStart, documentTiming->responseEnd); 382 386 return toIntegerMilliseconds(baseTime) + relativeSeconds; 383 387 }
Note: See TracChangeset
for help on using the changeset viewer.