[Webkit-unassigned] [Bug 92429] New: Web Inspector: Add support for debugging Inspector LayoutTests w/Inspector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 26 15:22:48 PDT 2012


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

           Summary: Web Inspector: Add support for debugging Inspector
                    LayoutTests w/Inspector
           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: johnjbarton at chromium.org
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    bweinstein at apple.com, apavlov at chromium.org,
                    loislo at chromium.org


Created an attachment (id=154766)
 --> (https://bugs.webkit.org/attachment.cgi?id=154766&action=review)
'testRunner' chrome extension 

Currently LayoutTests must be developed without the aid of a debugger. The following changes would allow WebInspector to debug these tests on itself:

1. Add an ExperimentsSetting  "testRunner" (Settings.js)
2. When the developer has enabled this experiment, accept "message" events from extensions that eval() the test driver code.
3. Add a removeSniffers function to InspectorTest, so the WebInspector can be cleaned up after each test debugging run.

In addition 'testRunner' extension needs to implement the equivalent of DumpRenderTree 'testRunner'.  The attached Chrome extension does this for the majority of simple LayoutTests.

This scheme may not work for all LayoutTests, either because the extension interferes or does not implement enough of DumpRenderTree testRunner. But most tests are simple and would benefit.

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