JavaScriptCore:
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Jul 2006 07:06:13 +0000 (07:06 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Jul 2006 07:06:13 +0000 (07:06 +0000)
commitc33ffba2c993090a957c17073e953fd5cb51d94f
treea071f7b46535234e6be7406954a28def5008b359
parent9246ff5814e6aaa3170bc3d095e97ab60ce4312a
JavaScriptCore:

        Reviewed by Adele Peterson.

        <rdar://problem/4589530> REGRESSION: null character in JS string causes parse error (works in Tiger and in other browsers)

        * kjs/lexer.cpp:
        (Lexer::shift):
        (Lexer::lex):
        (Lexer::record16):
        (Lexer::scanRegExp):
        * kjs/lexer.h:

LayoutTests:

        Reviewed by Adele Peterson.

        Test case for:

        <rdar://problem/4620646> REGRESSION(10.4.7-10.5): can't type into editing region when creating or editing a blogger.com post

        * fast/js/null-char-in-string-expected.txt: Added.
        * fast/js/null-char-in-string.html: Added.
        * fast/js/resources/null-char-in-string.js: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15522 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/lexer.cpp
JavaScriptCore/kjs/lexer.h
LayoutTests/ChangeLog
LayoutTests/fast/js/null-char-in-string-expected.txt [new file with mode: 0644]
LayoutTests/fast/js/null-char-in-string.html [new file with mode: 0644]
LayoutTests/fast/js/resources/null-char-in-string.js [new file with mode: 0644]