<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>135014</bug_id>
          
          <creation_ts>2014-07-17 10:14:55 -0700</creation_ts>
          <short_desc>inspector-protocol/profiler/console-profile.html is flaky on Mac</short_desc>
          <delta_ts>2014-07-17 14:27:46 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>LayoutTestFailure</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>joepeck</cc>
    
    <cc>timothy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1023027</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-07-17 10:14:55 -0700</bug_when>
    <thetext>http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=inspector-protocol%2Fprofiler%2Fconsole-profile.html

 Tests that console.profile/profileEnd will record CPU profile when inspector front-end is connected.
-SUCCESS: retrieved &apos;inner&apos; profile
-SUCCESS: found &apos;collectProfiles&apos; function in the profile
+FAIL: Cannot retrive headers: {
+    &quot;result&quot;: {
+        &quot;headers&quot;: [
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 42,
+                &quot;title&quot;: &quot;Test&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 23,
+                &quot;title&quot;: &quot;Other window executing JavaScript&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 15,
+                &quot;title&quot;: &quot;Call Document.write()&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 44,
+                &quot;title&quot;: &quot;User defined function calles built-in functions&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 18,
+                &quot;title&quot;: &quot;Inline event handler&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 9,
+                &quot;title&quot;: &quot;Using the call() method&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 33,
+                &quot;title&quot;: &quot;Profiling From A Nested Location&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 22,
+                &quot;title&quot;: &quot;Multiple calls to different anonymous functions&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 19,
+                &quot;title&quot;: &quot;Many Calls In The Same Scope&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 6,
+                &quot;title&quot;: &quot;Using the apply() method&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 1,
+                &quot;title&quot;: &quot;Anonymous event handler&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 10,
+                &quot;title&quot;: &quot;Calling the same function where the profile started from another function&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 47,
+                &quot;title&quot;: &quot;inner&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 30,
+                &quot;title&quot;: &quot;Profile call in included file&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 36,
+                &quot;title&quot;: &quot;Start the profiler the first time.&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 8,
+                &quot;title&quot;: &quot;Built-in function calls a user defined function&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 29,
+                &quot;title&quot;: &quot;One Execution Context&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 41,
+                &quot;title&quot;: &quot;Stop profiling from a timeout&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 17,
+                &quot;title&quot;: &quot;Two Execution Contexts on the same line&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 25,
+                &quot;title&quot;: &quot;Nested anonymous functions called&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 4,
+                &quot;title&quot;: &quot;Anonymous function calles eval&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 32,
+                &quot;title&quot;: &quot;Profiling From A Nested Location But Stop Profiling Outside The Nesting&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 31,
+                &quot;title&quot;: &quot;org.webkit.profiles.user-initiated.1&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 35,
+                &quot;title&quot;: &quot;A simple profile test where no scope chagnes&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 13,
+                &quot;title&quot;: &quot;Using a constructor.&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 16,
+                &quot;title&quot;: &quot;Event handler&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 7,
+                &quot;title&quot;: &quot;Built-in function calls an anonymous function&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 3,
+                &quot;title&quot;: &quot;Anonymous function calls built-in functions&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 34,
+                &quot;title&quot;: &quot;A simple profile test where an event happens.&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 24,
+                &quot;title&quot;: &quot;Named functions with display names&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 39,
+                &quot;title&quot;: &quot;Profiling From A Nested Location&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 14,
+                &quot;title&quot;: &quot;Dead time in profile.&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 46,
+                &quot;title&quot;: &quot;outer&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 45,
+                &quot;title&quot;: &quot;Call window.eval()&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 11,
+                &quot;title&quot;: &quot;Test&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 26,
+                &quot;title&quot;: &quot;Start the profiler the first time.&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 5,
+                &quot;title&quot;: &quot;Anonymous functions with display names&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 2,
+                &quot;title&quot;: &quot;Same anonymous function called from different contexts&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 37,
+                &quot;title&quot;: &quot;Start the profiler the second time.&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 38,
+                &quot;title&quot;: &quot;Start the profiler the third time.&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 27,
+                &quot;title&quot;: &quot;Start the profiler the second time.&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 21,
+                &quot;title&quot;: &quot;Multiple and different scoped calls to the same function&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 20,
+                &quot;title&quot;: &quot;Multiple and different scoped calls to the same anonymous function&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 28,
+                &quot;title&quot;: &quot;Start the profiler the third time.&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 43,
+                &quot;title&quot;: &quot;Two Execution Contexts&quot;
+            },
+            {
+                &quot;typeId&quot;: &quot;CPU&quot;,
+                &quot;uid&quot;: 12,
+                &quot;title&quot;: &quot;Test&quot;
+            }
+        ]
+    },
+    &quot;id&quot;: 2
+}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023103</commentid>
    <comment_count>1</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2014-07-17 14:18:31 -0700</bug_when>
    <thetext>https://trac.webkit.org/changeset/171195 removed these profiler tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023108</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-07-17 14:27:46 -0700</bug_when>
    <thetext>Nice. Removed the test from TestExpectations in &lt;http://trac.webkit.org/r171196&gt;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>