Changeset 35567

Show
Ignore:
Timestamp:
08/05/08 12:07:27 (4 months ago)
Author:
kmccullough@apple.com
Message:

2008-08-05 Kevin McCullough <kmccullough@apple.com>

  • Updated a manual test to be an accurate description of what it is actually testing.
  • manual-tests/inspector/profiler-test-stop-profiling-after-setTimeout.html:
Location:
trunk/WebCore
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r35565 r35567  
     12008-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 
    182008-08-05  Kevin McCullough  <kmccullough@apple.com> 
    29 
  • trunk/WebCore/manual-tests/inspector/profiler-test-stop-profiling-after-setTimeout.html

    r34697 r35567  
    1111function startProfiling() 
    1212{ 
    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");     
    1814    setTimeout("endProfile()", 20); 
    1915} 
     
    2117function endProfile() 
    2218{ 
    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"); 
    2720} 
    2821 
     
    3124 
    3225<body onload="startTest()"> 
    33 This page's JavaScript starts profiling from within a nested location. 
     26This page's JavaScript stops profiling from a timeout. 
    3427<br> 
    3528<br> 
    3629To 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(). 
     30the profile.  In the profile endProfile() should not be a child of (program). 
    3831<div id="output"></div> 
    3932</body>