-
benjamin@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=74784 Patch by Benjamin Poulain <bpoulain@apple.com> on 2011-12-18 Reviewed by Andreas Kling. The valid name has a fast path for ASCII, and a slow path taking Unicode characters into account. For 8-bit strings, we don't need to take the non-ASCII path as it could never succeed if the ASCII path didn't. * dom/Document.cpp: (WebCore::isValidNameASCII): (WebCore::Document::isValidName): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@103205 268f45cc-cd09-0410-ab3c-d52691b4dbfc
163ad054