equalIgnoringNullity() only comparing half the bytes for equality
authortsepez@chromium.org <tsepez@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Feb 2012 00:19:26 +0000 (00:19 +0000)
committertsepez@chromium.org <tsepez@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Feb 2012 00:19:26 +0000 (00:19 +0000)
commit3e7ec15acaed6e1c7d551ff179795dd6819ad9f3
treec5fd17266ee01634a29eebc61cb309d115e6aa7c
parentfa623055f387818c848d0ae96ec55d1398146acc
equalIgnoringNullity() only comparing half the bytes for equality
https://bugs.webkit.org/show_bug.cgi?id=79135

Reviewed by Adam Barth.

Source/JavaScriptCore:

* wtf/text/StringImpl.h:
(WTF::equalIgnoringNullity):

LayoutTests:

* http/tests/security/xssAuditor/script-tag.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108412 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/security/xssAuditor/script-tag.html
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/wtf/text/StringImpl.h