[Webkit-unassigned] [Bug 43034] New: Web Inspector: JSC debugger tests are flaky

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 27 02:30:14 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=43034

           Summary: Web Inspector: JSC debugger tests are flaky
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: podivilov at chromium.org


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 > 1), and ScriptDebugServer::recompileAllJSFunctionsSoon is called asynchronously (with nesting level = 1).
This may lead to WebInspector.parsedScriptSource being called before WebInspector.debuggerWasEnabled.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list