[Webkit-unassigned] [Bug 60268] New: Calling LayoutTestController.dumpAsText() once makes it impossible to have a tree dump later

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 5 08:30:37 PDT 2011


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

           Summary: Calling LayoutTestController.dumpAsText() once makes
                    it impossible to have a tree dump later
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pnormand at igalia.com


My use-case is this:

- include media-file.js
- include video-test.js (=> calls LTC.dumpAsText())
- in my test I want a tree dump

I'm screwed because dumpAsTextCallback() calls controller->setDumpAsText(true) and there's no dumpAsTree() method.

So 2 solutions:

- add dumpAsTree()
- make dumpAsText() take 2 optional arguments, one exists already so the 60 tests using that require a small update

I'll try with first solution ;)

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