[Webkit-unassigned] [Bug 37259] New: fast/dom/SelectorAPI/dumpNodeList tests fail when run out of order

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 8 02:05:24 PDT 2010


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

           Summary: fast/dom/SelectorAPI/dumpNodeList tests fail when run
                    out of order
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org
                CC: mitz at webkit.org, sam at webkit.org, abarth at webkit.org


fast/dom/SelectorAPI/dumpNodeList tests fail when run out of order

fast/dom/SelectorAPI/dumpNodeList-almost-strict.html
fast/dom/SelectorAPI/dumpNodeList.html

For whatever reason "dump" is not always defined on the value returned from
querySelectorAll.

It's possible that bad prototypes are bleeding through from a previous test? 
Or that querySelectorAll is returning something other than an Element or a
NodeList?

One easy way to fix this test would be to use functions which check instanceof
instead of bothering with modifying the prototypes.  That way we could ASSERT
in the case of objects we don't understand.

Also, we could simply check for the existance of "dump" before calling it, and
print some debugging message if it's not there.

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