Bug 37516

Summary: Re-write testProfilerTab to match the new profiler implementation
Product: WebKit Reporter: Mikhail Naganov <mnaganov>
Component: Web Inspector (Deprecated)Assignee: Mikhail Naganov <mnaganov>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, pfeldman, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
proposed patch none

Description Mikhail Naganov 2010-04-13 12:34:27 PDT
Here is how js_page.html will look like:

<html>
  <head>
    <script>
      function fib(n) {
        return n < 2 ? 1 : fib(n - 1) + fib(n - 2);
      }

      function eternal_fib() {
        console.profile();
        for (var i = 0; i < 50; ++i) {
          fib(20);
        }
        console.profileEnd();
      }

      function load() {
        // Let the page do initial rendering, then go.
        setTimeout(eternal_fib, 200);
      }
    </script>
  </head>
  <body onload="load()">
  </body>
</html>
Comment 1 Mikhail Naganov 2010-04-13 12:37:03 PDT
Created attachment 53272 [details]
proposed patch
Comment 2 WebKit Commit Bot 2010-04-14 01:51:41 PDT
Comment on attachment 53272 [details]
proposed patch

Clearing flags on attachment: 53272

Committed r57571: <http://trac.webkit.org/changeset/57571>
Comment 3 WebKit Commit Bot 2010-04-14 01:51:45 PDT
All reviewed patches have been landed.  Closing bug.