[Webkit-unassigned] [Bug 6294] New: DOMString should assert when passed non-ascii characters

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu Dec 29 19:27:36 PST 2005


http://bugzilla.opendarwin.org/show_bug.cgi?id=6294

           Summary: DOMString should assert when passed non-ascii characters
           Product: WebKit
           Version: 412+
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P4
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: macdome at opendarwin.org
 BugsThisDependsOn: 6228


Darin's comments on 6228:

In parseUASheet, we can make the DOMString from the char* without decoding
because we know it has all ASCII characters in it. Unlike QString, that
function does not work for non-ASCII Latin-1 characters. So I think it's worth
a comment and adding an assertion to DOMStringImpl::DOMStringImpl(const char *)
to check for non-ASCII characters.

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