Changeset 75560 in webkit
- Timestamp:
- Jan 11, 2011 3:19:29 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r75555 r75560 1 2011-01-11 James Simonsen <simonjam@chromium.org> 2 3 Reviewed by Eric Seidel. 4 5 [Web Timing] Rename sslHandshakeStart to secureConnectionStart 6 https://bugs.webkit.org/show_bug.cgi?id=52239 7 8 * fast/dom/Window/window-properties-performance-expected.txt: 9 * fast/dom/script-tests/webtiming.js: 10 (checkTimingBeforeLoad): 11 (checkTimingWhileDeferred): 12 (checkWebTimingOnDOMContentLoaded): 13 (checkWebTimingWhileAsync): 14 (checkWebTimingOnLoad): 15 (checkWebTimingAfterLoad): 16 * fast/dom/webtiming-document-open-expected.txt: 17 * fast/dom/webtiming-expected.txt: 18 * fast/dom/webtiming-navigate-within-document-expected.txt: 19 * http/tests/misc/resources/webtiming-cross-origin-and-back2.html: 20 * http/tests/misc/resources/webtiming-cross-origin-redirect.html: 21 * http/tests/misc/resources/webtiming-no-origin.html: 22 * http/tests/misc/resources/webtiming-ssl.html: 23 * http/tests/misc/webtiming-origins-expected.txt: 24 * http/tests/misc/webtiming-ssl-expected.txt: 25 1 26 2011-01-11 Mihai Parparita <mihaip@chromium.org> 2 27 -
trunk/LayoutTests/fast/dom/Window/window-properties-performance-expected.txt
r75200 r75560 31 31 window.performance.timing.responseEnd [number] 32 32 window.performance.timing.responseStart [number] 33 window.performance.timing.s slHandshakeStart [number]33 window.performance.timing.secureConnectionStart [number] 34 34 window.performance.timing.unloadEventEnd [number] 35 35 window.performance.timing.unloadEventStart [number] -
trunk/LayoutTests/fast/dom/script-tests/webtiming.js
r75200 r75560 32 32 shouldBeGreaterThanOrEqual("timing.connectEnd", "timing.connectStart"); 33 33 34 shouldBe("timing.s slHandshakeStart", "0");34 shouldBe("timing.secureConnectionStart", "0"); 35 35 36 36 shouldBeGreaterThanOrEqual("timing.requestStart", "timing.connectEnd"); … … 64 64 shouldBeGreaterThanOrEqual("timing.connectEnd", "timing.connectStart"); 65 65 66 shouldBe("timing.s slHandshakeStart", "0");66 shouldBe("timing.secureConnectionStart", "0"); 67 67 68 68 shouldBeGreaterThanOrEqual("timing.requestStart", "timing.connectEnd"); … … 97 97 shouldBeGreaterThanOrEqual("timing.connectEnd", "timing.connectStart"); 98 98 99 shouldBe("timing.s slHandshakeStart", "0");99 shouldBe("timing.secureConnectionStart", "0"); 100 100 101 101 shouldBeGreaterThanOrEqual("timing.requestStart", "timing.connectEnd"); … … 136 136 shouldBeGreaterThanOrEqual("timing.connectEnd", "timing.connectStart"); 137 137 138 shouldBe("timing.s slHandshakeStart", "0");138 shouldBe("timing.secureConnectionStart", "0"); 139 139 140 140 shouldBeGreaterThanOrEqual("timing.requestStart", "timing.connectEnd"); … … 170 170 shouldBeGreaterThanOrEqual("timing.connectEnd", "timing.connectStart"); 171 171 172 shouldBe("timing.s slHandshakeStart", "0");172 shouldBe("timing.secureConnectionStart", "0"); 173 173 174 174 shouldBeGreaterThanOrEqual("timing.requestStart", "timing.connectEnd"); … … 205 205 shouldBeGreaterThanOrEqual("timing.connectEnd", "timing.connectStart"); 206 206 207 shouldBe("timing.s slHandshakeStart", "0");207 shouldBe("timing.secureConnectionStart", "0"); 208 208 209 209 shouldBeGreaterThanOrEqual("timing.requestStart", "timing.connectEnd"); -
trunk/LayoutTests/fast/dom/webtiming-document-open-expected.txt
r74315 r75560 22 22 PASS timing.responseEnd is originalTiming.responseEnd 23 23 PASS timing.responseStart is originalTiming.responseStart 24 PASS timing.s slHandshakeStart is originalTiming.sslHandshakeStart24 PASS timing.secureConnectionStart is originalTiming.secureConnectionStart 25 25 PASS timing.unloadEventEnd is originalTiming.unloadEventEnd 26 26 PASS timing.unloadEventStart is originalTiming.unloadEventStart -
trunk/LayoutTests/fast/dom/webtiming-expected.txt
r75129 r75560 13 13 PASS timing.connectStart is >= timing.domainLookupEnd 14 14 PASS timing.connectEnd is >= timing.connectStart 15 PASS timing.s slHandshakeStart is 015 PASS timing.secureConnectionStart is 0 16 16 PASS timing.requestStart is >= timing.connectEnd 17 17 PASS timing.responseStart is >= timing.requestStart … … 32 32 PASS timing.connectStart is >= timing.domainLookupEnd 33 33 PASS timing.connectEnd is >= timing.connectStart 34 PASS timing.s slHandshakeStart is 034 PASS timing.secureConnectionStart is 0 35 35 PASS timing.requestStart is >= timing.connectEnd 36 36 PASS timing.responseStart is >= timing.requestStart … … 51 51 PASS timing.connectStart is >= timing.domainLookupEnd 52 52 PASS timing.connectEnd is >= timing.connectStart 53 PASS timing.s slHandshakeStart is 053 PASS timing.secureConnectionStart is 0 54 54 PASS timing.requestStart is >= timing.connectEnd 55 55 PASS timing.responseStart is >= timing.requestStart … … 70 70 PASS timing.connectStart is >= timing.domainLookupEnd 71 71 PASS timing.connectEnd is >= timing.connectStart 72 PASS timing.s slHandshakeStart is 072 PASS timing.secureConnectionStart is 0 73 73 PASS timing.requestStart is >= timing.connectEnd 74 74 PASS timing.responseStart is >= timing.requestStart … … 89 89 PASS timing.connectStart is >= timing.domainLookupEnd 90 90 PASS timing.connectEnd is >= timing.connectStart 91 PASS timing.s slHandshakeStart is 091 PASS timing.secureConnectionStart is 0 92 92 PASS timing.requestStart is >= timing.connectEnd 93 93 PASS timing.responseStart is >= timing.requestStart … … 109 109 PASS timing.connectStart is >= timing.domainLookupEnd 110 110 PASS timing.connectEnd is >= timing.connectStart 111 PASS timing.s slHandshakeStart is 0111 PASS timing.secureConnectionStart is 0 112 112 PASS timing.requestStart is >= timing.connectEnd 113 113 PASS timing.responseStart is >= timing.requestStart -
trunk/LayoutTests/fast/dom/webtiming-navigate-within-document-expected.txt
r74315 r75560 22 22 PASS responseEnd is unchanged. 23 23 PASS responseStart is unchanged. 24 PASS s slHandshakeStart is unchanged.24 PASS secureConnectionStart is unchanged. 25 25 PASS unloadEventEnd is unchanged. 26 26 PASS unloadEventStart is unchanged. -
trunk/LayoutTests/http/tests/misc/resources/webtiming-cross-origin-and-back2.html
r75200 r75560 17 17 function performTest() { 18 18 // FIXME: Need a way to synchronize the test so that loadEventEnd is non-zero. 19 var shouldBeZeroList = ["loadEventEnd", "redirectStart", "redirectEnd", "s slHandshakeStart"];19 var shouldBeZeroList = ["loadEventEnd", "redirectStart", "redirectEnd", "secureConnectionStart"]; 20 20 21 21 var timingProperties = new Array; -
trunk/LayoutTests/http/tests/misc/resources/webtiming-cross-origin-redirect.html
r75200 r75560 17 17 function performTest() { 18 18 // FIXME: Need a way to synchronize the test so that loadEventEnd is non-zero. 19 var shouldBeZeroList = ["loadEventEnd", "redirectStart", "redirectEnd", "s slHandshakeStart", "unloadEventStart", "unloadEventEnd"];19 var shouldBeZeroList = ["loadEventEnd", "redirectStart", "redirectEnd", "secureConnectionStart", "unloadEventStart", "unloadEventEnd"]; 20 20 21 21 var timingProperties = new Array; -
trunk/LayoutTests/http/tests/misc/resources/webtiming-no-origin.html
r75200 r75560 17 17 function performTest() { 18 18 // FIXME: Need a way to synchronize the test so that loadEventEnd is non-zero. 19 var shouldBeZeroList = ["loadEventEnd", "redirectStart", "redirectEnd", "s slHandshakeStart", "unloadEventStart", "unloadEventEnd"];19 var shouldBeZeroList = ["loadEventEnd", "redirectStart", "redirectEnd", "secureConnectionStart", "unloadEventStart", "unloadEventEnd"]; 20 20 21 21 var timingProperties = new Array; -
trunk/LayoutTests/http/tests/misc/resources/webtiming-ssl.html
r75200 r75560 11 11 <div id="console"></div> 12 12 <script> 13 description("This test checks that Web Timing reports s slHandshakeStart correctly and has reasonable values for connectStart and connectEnd. Note that DumpRenderTree doesn't set sslHandshakeStart.");13 description("This test checks that Web Timing reports secureConnectionStart correctly and has reasonable values for connectStart and connectEnd. Note that DumpRenderTree doesn't set secureConnectionStart."); 14 14 15 15 var performance = window.performance || {}; … … 18 18 19 19 shouldBeGreaterThanOrEqual("timing.connectStart", "timing.navigationStart"); 20 shouldBeGreaterThanOrEqual("timing.s slHandshakeStart", "timing.connectStart");21 shouldBeGreaterThanOrEqual("timing.connectEnd", "timing.s slHandshakeStart");20 shouldBeGreaterThanOrEqual("timing.secureConnectionStart", "timing.connectStart"); 21 shouldBeGreaterThanOrEqual("timing.connectEnd", "timing.secureConnectionStart"); 22 22 23 23 var successfullyParsed = true; -
trunk/LayoutTests/http/tests/misc/webtiming-origins-expected.txt
r75129 r75560 27 27 PASS timing.responseEnd is non-zero. 28 28 PASS timing.responseStart is non-zero. 29 PASS timing.s slHandshakeStart is 029 PASS timing.secureConnectionStart is 0 30 30 PASS timing.unloadEventEnd is 0 31 31 PASS timing.unloadEventStart is 0 … … 62 62 PASS timing.responseEnd is non-zero. 63 63 PASS timing.responseStart is non-zero. 64 PASS timing.s slHandshakeStart is 064 PASS timing.secureConnectionStart is 0 65 65 PASS timing.unloadEventEnd is 0 66 66 PASS timing.unloadEventStart is 0 … … 97 97 PASS timing.responseEnd is non-zero. 98 98 PASS timing.responseStart is non-zero. 99 PASS timing.s slHandshakeStart is 099 PASS timing.secureConnectionStart is 0 100 100 PASS timing.unloadEventEnd is non-zero. 101 101 PASS timing.unloadEventStart is non-zero. -
trunk/LayoutTests/http/tests/misc/webtiming-ssl-expected.txt
r74361 r75560 1 This test checks that Web Timing reports s slHandshakeStart correctly and has reasonable values for connectStart and connectEnd. Note that DumpRenderTree doesn't set sslHandshakeStart.1 This test checks that Web Timing reports secureConnectionStart correctly and has reasonable values for connectStart and connectEnd. Note that DumpRenderTree doesn't set secureConnectionStart. 2 2 3 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". … … 5 5 6 6 PASS timing.connectStart is >= timing.navigationStart 7 FAIL timing.s slHandshakeStart should be >= timing.connectStart. Was 0 (of type number).8 PASS timing.connectEnd is >= timing.s slHandshakeStart7 FAIL timing.secureConnectionStart should be >= timing.connectStart. Was 0 (of type number). 8 PASS timing.connectEnd is >= timing.secureConnectionStart 9 9 PASS successfullyParsed is true 10 10 -
trunk/Source/WebCore/ChangeLog
r75557 r75560 1 2011-01-11 James Simonsen <simonjam@chromium.org> 2 3 Reviewed by Eric Seidel. 4 5 [Web Timing] Rename sslHandshakeStart to secureConnectionStart 6 https://bugs.webkit.org/show_bug.cgi?id=52239 7 8 * page/PerformanceTiming.cpp: 9 (WebCore::PerformanceTiming::secureConnectionStart): 10 * page/PerformanceTiming.h: 11 * page/PerformanceTiming.idl: 12 1 13 2011-01-11 Adam Barth <abarth@webkit.org> 2 14 -
trunk/Source/WebCore/page/PerformanceTiming.cpp
r75129 r75560 228 228 } 229 229 230 unsigned long long PerformanceTiming::s slHandshakeStart() const230 unsigned long long PerformanceTiming::secureConnectionStart() const 231 231 { 232 232 DocumentLoader* loader = documentLoader(); -
trunk/Source/WebCore/page/PerformanceTiming.h
r74315 r75560 62 62 unsigned long long connectStart() const; 63 63 unsigned long long connectEnd() const; 64 unsigned long long s slHandshakeStart() const;64 unsigned long long secureConnectionStart() const; 65 65 unsigned long long requestStart() const; 66 66 unsigned long long responseStart() const; -
trunk/Source/WebCore/page/PerformanceTiming.idl
r74315 r75560 43 43 readonly attribute unsigned long long connectStart; 44 44 readonly attribute unsigned long long connectEnd; 45 readonly attribute unsigned long long s slHandshakeStart;45 readonly attribute unsigned long long secureConnectionStart; 46 46 readonly attribute unsigned long long requestStart; 47 47 readonly attribute unsigned long long responseStart;
Note: See TracChangeset
for help on using the changeset viewer.