JavaScriptCore:
authorggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Mar 2006 01:09:15 +0000 (01:09 +0000)
committerggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Mar 2006 01:09:15 +0000 (01:09 +0000)
commitf4e7f066f191c7caed440463481c37c5f5038c15
tree37d8c9acc7ea5d714431f5004b1a828a3c1e6c72
parentb310cf007bd6281e2ef6816c37306e23a01e99d0
JavaScriptCore:

        - Fixed <rdar://problem/4478239> string sort puts "closed" before
        "close"

        Reviewed by Eric.

        * kjs/ustring.cpp:
        (KJS::compare): Inverted a < in order to treat the longer string as >
        the shorter string.

LayoutTests:

        Reviewed by Eric.

        Layout test for <rdar://problem/4478239> string sort puts "closed"
        before "close"

        Also changed the engine to report data types when tests fail, so that
        you don't get messages like, "should be A, was A."

        Updated results for these files:

        * fast/js/kde/Array-expected.txt:
        * fast/js/kde/RegExp-expected.txt:
        * fast/js/kde/encode_decode_uri-expected.txt:
        * fast/js/resources/js-test-pre.js:

        Added these files:

        * fast/js/string-sort-expected.txt: Added.
        * fast/js/string-sort.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13294 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/ustring.cpp
LayoutTests/ChangeLog
LayoutTests/fast/js/kde/Array-expected.txt
LayoutTests/fast/js/kde/RegExp-expected.txt
LayoutTests/fast/js/kde/encode_decode_uri-expected.txt
LayoutTests/fast/js/resources/js-test-pre.js
LayoutTests/fast/js/string-sort-expected.txt [new file with mode: 0644]
LayoutTests/fast/js/string-sort.html [new file with mode: 0644]