[Webkit-unassigned] [Bug 8331] New: DOMNodeLists returned to Objective-C are not properly wrapped

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Apr 11 14:52:45 PDT 2006


           Summary: DOMNodeLists returned to Objective-C are not properly
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: speth at end.com

if you use valueForKey: or evaluateWebScript: from objective-c to access a
DOMNodeList, the returned value is not properly wrapped and shows up as an
instance of WebScriptObject, not DOMNodeList.

For example:

id nodes = [domDocument valueForKey:@"childNodes"];    // returns instance of
class WebScriptObject
id nodes2 = [domDocument childNodes];  // returns instance of class DOMNodeList

Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list