Changeset 35567
- Timestamp:
- 08/05/08 12:07:27 (4 months ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 modified
-
ChangeLog (modified) (1 diff)
-
manual-tests/inspector/profiler-test-stop-profiling-after-setTimeout.html (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r35565 r35567 1 2008-08-05 Kevin McCullough <kmccullough@apple.com> 2 3 - Updated a manual test to be an accurate description of what it is 4 actually testing. 5 6 * manual-tests/inspector/profiler-test-stop-profiling-after-setTimeout.html: 7 1 8 2008-08-05 Kevin McCullough <kmccullough@apple.com> 2 9 -
trunk/WebCore/manual-tests/inspector/profiler-test-stop-profiling-after-setTimeout.html
r34697 r35567 11 11 function startProfiling() 12 12 { 13 console.profile("Profiling From A Nested Location"); 14 15 for (var i = 0; i < 1000000; i++) 16 var b = i + 2; 17 13 console.profile("Stop profiling from a timeout"); 18 14 setTimeout("endProfile()", 20); 19 15 } … … 21 17 function endProfile() 22 18 { 23 for (var i = 0; i < 1000000; i++) 24 var b = i + 2; 25 26 console.profileEnd("Profiling From A Nested Location"); 19 console.profileEnd("Stop profiling from a timeout"); 27 20 } 28 21 … … 31 24 32 25 <body onload="startTest()"> 33 This page's JavaScript st arts profiling from within a nested location.26 This page's JavaScript stops profiling from a timeout. 34 27 <br> 35 28 <br> 36 29 To use this test, load it in the browser then load the WebInspector and look at 37 the profile. In the profile there should be a call to functionWichStartsAndStopsTheProfiler().30 the profile. In the profile endProfile() should not be a child of (program). 38 31 <div id="output"></div> 39 32 </body>