[Webkit-unassigned] [Bug 60881] [Qt] Inspector may close at the start of the next inspector test in DRT

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 23 06:26:37 PDT 2011


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


Zoltan Herczeg <zherczeg at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |loislo at chromium.org




--- Comment #10 from Zoltan Herczeg <zherczeg at webkit.org>  2011-05-23 06:26:36 PST ---
inspector-test.js :

function closeInspectorAndNotifyDone()
{
    if (window._watchDogTimer)
        clearTimeout(window._watchDogTimer);

    layoutTestController.closeWebInspector();

    // A helper function should be called here which would check
    // whether the inspector exists, and call notifyDone only if not.
    setTimeout(function() {
        layoutTestController.notifyDone();
    }, 0);
}

-- 
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