[Webkit-unassigned] [Bug 119898] New: '' + obj and obj.toString() behave differently on objects returned by attributedString.getAttributeValueAtIndex

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 16 10:20:08 PDT 2013


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

           Summary: '' + obj and obj.toString() behave differently on
                    objects returned by
                    attributedString.getAttributeValueAtIndex
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Bindings
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: darin at apple.com, ap at webkit.org, sam at webkit.org,
                    ggaren at apple.com, webkit-bug-importer at group.apple.com,
                    mhahnenberg at apple.com


While
var value = '' + attributedString.getAttributeValueAtIndex(attributeNames[j], location);
results in value containing useful description string like:
"Times-Roman 16.00 pt. P [] (0x7f889c3225e0) fobj=0x7f889c322240, spc=4.00"

var value = attributedString.getAttributeValueAtIndex(attributeNames[j], location).toString()
results in value containing:
[object ObjCRuntimeObject]

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