-
kmccullough@apple.com authored
Reviewed by Tim Hatcher. https://bugs.webkit.org/show_bug.cgi?id=21817 Bug 21817: Manual profiler tests should be made into layout tests - Here are the changes to the tests. The most significant part is the change to profiler-test-JS-resources.js where endTest will now notify the layout test controller if it was waiting and call the print function to iterate over all of the profiles and log their structure. - Most of these tests changed to include the layoutTestController, use endTest() or call the print function directly if there was some reason that they could not use endTest(). * fast/profiler/resources/profiler-test-JS-resources.js: (endTest): Stop any waits and print the profile information. (printHeavyProfilesDataWithoutTime): Print all profile information in heavy view, without time. (printProfilesDataWithoutTime): Print all profile information in tree view, without time. (printProfileNodeWithoutTime): Print a profile node's informmation and all of it's children's information. * fast/profiler/anonymous-event-handler.html: * fast/profiler/anonymous-function-called-from-different-contexts.html: * fast/profiler/anonymous-function-calls-built-in-functions.html: * fast/profiler/anonymous-function-calls-eval.html: * fast/profiler/apply.html: * fast/profiler/built-in-function-calls-anonymous.html: * fast/profiler/built-in-function-calls-user-defined-function.html: * fast/profiler/call-nodelist-as-function.html: * fast/profiler/calling-the-function-that-started-the-profiler-from-another-scope.html: * fast/profiler/compare-multiple-profiles.html: * fast/profiler/constructor.html: * fast/profiler/dead-time.html: * fast/profiler/deep-recursion.html: * fast/profiler/document-dot-write.html: * fast/profiler/event-handler.html: * fast/profiler/execution-context-and-eval-on-same-line.html: * fast/profiler/heavy-view.html: * fast/profiler/inline-event-handler.html: * fast/profiler/multiple-and-different-scoped-anonymous-function-calls.html: * fast/profiler/multiple-and-different-scoped-function-calls.html: * fast/profiler/multiple-frames.html: * fast/profiler/nested-anonymous-functon.html: * fast/profiler/nested-start-and-stop-profiler.html: * fast/profiler/no-execution-context.html: * fast/profiler/one-execution-context.html: * fast/profiler/profile-calls-in-included-file.html: * fast/profiler/profiling-from-a-nested-location-but-stop-profiling-outside-the-nesting.html: * fast/profiler/profiling-from-a-nested-location.html: * fast/profiler/simple-event-call.html: * fast/profiler/simple-no-level-change.html: * fast/profiler/start-and-stop-profiler-multiple-times.html: * fast/profiler/start-and-stop-profiling-in-the-same-function.html: * fast/profiler/start-but-dont-stop-profiling.html: * fast/profiler/stop-profiling-after-setTimeout.html: * fast/profiler/stop-then-function-call.html: * fast/profiler/throw-exception-from-eval.html: * fast/profiler/two-execution-contexts.html: * fast/profiler/user-defined-function-calls-built-in-functions.html: * fast/profiler/window-dot-eval.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
63e67135