JavaScriptCore:
2006-07-19 Anders Carlsson <acarlsson@apple.com>
Reviewed by Darin.
<rdar://problem/
4620655> REGRESSION(10.4.7-10.5): preview button for a blogger.com post doesn't work
* kjs/nodes2string.cpp:
(StringNode::streamTo):
Return the escaped string.
(RegExpNode::streamTo):
Use the correct syntax.
* kjs/function.cpp:
(KJS::escapeStringForPrettyPrinting):
* kjs/function.h:
Add escape function which escapes a string for pretty-printing so it can be parsed again.
* wtf/unicode/icu/UnicodeIcu.h:
(WTF::Unicode::isPrintableChar):
New function.
LayoutTests:
2006-07-19 Anders Carlsson <acarlsson@apple.com>
Reviewed by Darin.
<rdar://problem/
4620655> REGRESSION(10.4.7-10.5): preview button for a blogger.com post doesn't work
* fast/js/pretty-print-expected.txt: Added.
* fast/js/pretty-print.html: Added.
* fast/js/resources/pretty-print.js: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15526
268f45cc-cd09-0410-ab3c-
d52691b4dbfc