Changeset 131106 in webkit
- Timestamp:
- Oct 11, 2012, 4:08:13 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r131103 r131106 1 2012-10-11 James Simonsen <simonjam@chromium.org> 2 3 unprefix window.performance.webkitNow() 4 https://bugs.webkit.org/show_bug.cgi?id=88278 5 6 Reviewed by Tony Gentilcore. 7 8 * fast/dom/Window/window-properties-performance-expected.txt: 9 * fast/performance/performance-now-timestamps-expected.txt: 10 * fast/performance/script-tests/performance-now-timestamps.js: 11 * platform/chromium/TestExpectations: Remove skipped expectation. 12 * platform/efl/TestExpectations: 13 * platform/efl/fast/dom/Window/window-properties-performance-expected.txt: 14 * platform/gtk/TestExpectations: 15 * platform/qt/TestExpectations: 16 * platform/qt/fast/dom/Window/window-properties-performance-expected.txt: 17 * resources/magnitude-perf.js: 18 (Magnitude._runIteration): 19 1 20 2012-10-11 Huang Dongsung <luxtella@company100.net> 2 21 -
trunk/LayoutTests/fast/dom/Window/window-properties-performance-expected.txt
r115503 r131106 13 13 window.performance.navigation.redirectCount [number] 14 14 window.performance.navigation.type [number] 15 window.performance.now [function] 15 16 window.performance.timing [object PerformanceTiming] 16 17 window.performance.timing.connectEnd [number] … … 35 36 window.performance.timing.unloadEventEnd [number] 36 37 window.performance.timing.unloadEventStart [number] 37 window.performance.webkitNow [function]38 38 window.performance.timing [printed above as window.performance.timing] 39 39 window.performance.navigation [printed above as window.performance.navigation] -
trunk/LayoutTests/fast/performance/performance-now-timestamps-expected.txt
r115503 r131106 1 Tests the timestamps from performance. webkitNow increase and are in milliseconds1 Tests the timestamps from performance.now increase and are in milliseconds 2 2 3 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". -
trunk/LayoutTests/fast/performance/script-tests/performance-now-timestamps.js
r115503 r131106 1 description("Tests the timestamps from performance. webkitNow increase and are in milliseconds");1 description("Tests the timestamps from performance.now increase and are in milliseconds"); 2 2 3 3 function busyWait(millis) { … … 6 6 } 7 7 8 var firstTimestamp = window.performance. webkitNow();8 var firstTimestamp = window.performance.now(); 9 9 shouldBeDefined("firstTimestamp"); 10 10 shouldBeGreaterThanOrEqual("firstTimestamp", "0"); … … 18 18 busyWait(waitTime); 19 19 20 var secondTimestamp = window.performance. webkitNow();20 var secondTimestamp = window.performance.now(); 21 21 shouldBeDefined("secondTimestamp"); 22 22 shouldBeGreaterThanOrEqual("secondTimestamp", "firstTimestamp + (waitTime / 2)"); -
trunk/LayoutTests/platform/chromium/TestExpectations
r131084 r131106 4021 4021 webkit.org/b/98948 [ Linux Debug ] http/tests/media/media-source/video-media-source-play.html [ PASS CRASH ] 4022 4022 4023 # Skipped until the prefix is removed.4024 webkit.org/b/98953 http/tests/w3c/webperf/approved/HighResolutionTime [ Skip ]4025 4026 4023 webkit.org/b/99089 transforms/3d/general/perspective-units.html [ Pass ImageOnlyFailure ] -
trunk/LayoutTests/platform/efl/TestExpectations
r131058 r131106 1427 1427 webkit.org/b/98729 fast/spatial-navigation/snav-iframe-nested.html [ Failure ] 1428 1428 1429 # Skipped until the prefix is removed.1430 webkit.org/b/98953 http/tests/w3c/webperf/approved/HighResolutionTime [ Skip ]1431 1432 1429 # New inspector/profiler/memory-instrumentation-canvas.html fails on JSC platforms 1433 1430 webkit.org/b/99001 inspector/profiler/memory-instrumentation-canvas.html -
trunk/LayoutTests/platform/efl/fast/dom/Window/window-properties-performance-expected.txt
r116118 r131106 13 13 window.performance.navigation.redirectCount [number] 14 14 window.performance.navigation.type [number] 15 window.performance.now [function] 15 16 window.performance.timing [object PerformanceTiming] 16 17 window.performance.timing.connectEnd [number] … … 35 36 window.performance.timing.unloadEventEnd [number] 36 37 window.performance.timing.unloadEventStart [number] 37 window.performance.webkitNow [function]38 38 window.performance.timing [printed above as window.performance.timing] 39 39 window.performance.navigation [printed above as window.performance.navigation] -
trunk/LayoutTests/platform/gtk/TestExpectations
r131062 r131106 1361 1361 webkit.org/b/98729 svg/custom/object-data-href.html [ ImageOnlyFailure ] 1362 1362 1363 # Skipped until the prefix is removed.1364 webkit.org/b/98953 http/tests/w3c/webperf/approved/HighResolutionTime [ Skip ]1365 1366 1363 # New inspector/profiler/memory-instrumentation-canvas.html fails on JSC platforms 1367 1364 webkit.org/b/99001 inspector/profiler/memory-instrumentation-canvas.html -
trunk/LayoutTests/platform/qt/TestExpectations
r131080 r131106 2445 2445 webkit.org/b/98640 plugins/refcount-leaks.html 2446 2446 2447 # Skipped until the prefix is removed.2448 webkit.org/b/98953 http/tests/w3c/webperf/approved/HighResolutionTime [ Skip ]2449 2450 2447 # New inspector/profiler/memory-instrumentation-canvas.html fails on JSC platforms 2451 2448 webkit.org/b/99001 inspector/profiler/memory-instrumentation-canvas.html -
trunk/LayoutTests/platform/qt/fast/dom/Window/window-properties-performance-expected.txt
r115503 r131106 13 13 window.performance.navigation.redirectCount [number] 14 14 window.performance.navigation.type [number] 15 window.performance.now [function] 15 16 window.performance.timing [object PerformanceTiming] 16 17 window.performance.timing.connectEnd [number] … … 35 36 window.performance.timing.unloadEventEnd [number] 36 37 window.performance.timing.unloadEventStart [number] 37 window.performance.webkitNow [function]38 38 window.performance.timing [printed above as window.performance.timing] 39 39 window.performance.navigation [printed above as window.performance.navigation] -
trunk/LayoutTests/resources/magnitude-perf.js
r130533 r131106 202 202 203 203 var iterations = 0; 204 var nowFunction = window.performance.now || Date.now;204 var nowFunction = window.performance.now.bind(window.performance) || Date.now; 205 205 var start = nowFunction(); 206 206 while (nowFunction() - start < Magnitude.millisecondsPerIteration) { -
trunk/PerformanceTests/ChangeLog
r130713 r131106 1 2012-10-11 James Simonsen <simonjam@chromium.org> 2 3 unprefix window.performance.webkitNow() 4 https://bugs.webkit.org/show_bug.cgi?id=88278 5 6 Reviewed by Tony Gentilcore. 7 8 * resources/runner.js: Bind to proper object to avoid invalid invocation errors. 9 1 10 2012-10-08 Ryosuke Niwa <rniwa@webkit.org> 2 11 -
trunk/PerformanceTests/resources/runner.js
r130181 r131106 43 43 }; 44 44 45 PerfTestRunner.now = window.performance && window.performance. webkitNow ? function () { return window.performance.webkitNow(); } : Date.now;45 PerfTestRunner.now = window.performance && window.performance.now ? function () { return window.performance.now(); } : Date.now; 46 46 47 47 PerfTestRunner.logInfo = function (text) { -
trunk/Source/WebCore/ChangeLog
r131105 r131106 1 2012-10-11 James Simonsen <simonjam@chromium.org> 2 3 unprefix window.performance.webkitNow() 4 https://bugs.webkit.org/show_bug.cgi?id=88278 5 6 Reviewed by Tony Gentilcore. 7 8 Test: fast/dom/Window/window-properties-performance.html 9 fast/performance/performance-now-timestamps.html 10 11 * page/Performance.cpp: 12 (WebCore::Performance::now): 13 * page/Performance.h: 14 (Performance): 15 * page/Performance.idl: 16 1 17 2012-10-11 Roger Fong <roger_fong@apple.com> 2 18 -
trunk/Source/WebCore/page/Performance.cpp
r131001 r131106 166 166 } 167 167 168 double Performance:: webkitNow() const168 double Performance::now() const 169 169 { 170 170 return 1000.0 * m_frame->document()->loader()->timing()->monotonicTimeToZeroBasedDocumentTime(monotonicallyIncreasingTime()); -
trunk/Source/WebCore/page/Performance.h
r121313 r131106 62 62 PerformanceNavigation* navigation() const; 63 63 PerformanceTiming* timing() const; 64 double webkitNow() const;64 double now() const; 65 65 66 66 #if ENABLE(PERFORMANCE_TIMELINE) -
trunk/Source/WebCore/page/Performance.idl
r120962 r131106 54 54 #endif 55 55 // See http://www.w3.org/TR/hr-time/ for details. 56 double webkitNow();56 double now(); 57 57 }; 58 58
Note:
See TracChangeset
for help on using the changeset viewer.