<?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>43034</bug_id>
          
          <creation_ts>2010-07-27 02:30:14 -0700</creation_ts>
          <short_desc>Web Inspector: [JSC] debugger tests are flaky</short_desc>
          <delta_ts>2014-12-12 14:08:16 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector (Deprecated)</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Pavel Podivilov">podivilov</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ggaren</cc>
    
    <cc>loislo</cc>
    
    <cc>mark.lam</cc>
    
    <cc>mrobinson</cc>
    
    <cc>oliver</cc>
    
    <cc>pfeldman</cc>
    
    <cc>yurys</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>256466</commentid>
    <comment_count>0</comment_count>
    <who name="Pavel Podivilov">podivilov</who>
    <bug_when>2010-07-27 02:30:14 -0700</bug_when>
    <thetext>WebInspector.parsedScriptSource can be called before WebInspector.debuggerWasEnabled causing all scripts to be cleared in frontend.

The reason is that setTimeout callbacks firing order is not guaranteed for timers with different nesting levels.
In InspectorController::enableDebuggerFromFrontend InspectorFrontend::debuggerWasEnabled is called synchronously (with nesting level &gt; 1), and ScriptDebugServer::recompileAllJSFunctionsSoon is called asynchronously (with nesting level = 1).
This may lead to WebInspector.parsedScriptSource being called before WebInspector.debuggerWasEnabled.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>256643</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2010-07-27 09:22:12 -0700</bug_when>
    <thetext>So this is only an issue on GTK+? What can we do to fix it for GTK+ or improve the test so that it runs on GTK+ as well?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>256659</commentid>
    <comment_count>2</comment_count>
    <who name="Pavel Podivilov">podivilov</who>
    <bug_when>2010-07-27 09:47:11 -0700</bug_when>
    <thetext>Actually it&apos;s not related to GTK. It&apos;s a JSC issue.
So the test is potentially flaky on any platform, but for some reason it fails only on GTK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1055078</commentid>
    <comment_count>3</comment_count>
    <who name="Brian Burg">burg</who>
    <bug_when>2014-12-12 14:08:16 -0800</bug_when>
    <thetext>Closing as invalid, as this bug pertains to the old inspector UI and/or its tests.
Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>