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