2011-02-04 Adam Barth <abarth@webkit.org>
Reviewed by Maciej Stachowiak.
Crash in WebCore::TextEncoding::decode below XSSFilter::init
https://bugs.webkit.org/show_bug.cgi?id=53837
Test that we can successfully execute a JavaScript URL when it isn't
blocked by the filter.
* http/tests/security/xssAuditor/non-block-javascript-url-frame-expected.txt: Added.
* http/tests/security/xssAuditor/non-block-javascript-url-frame.html: Added.
2011-02-04 Adam Barth <abarth@webkit.org>
Reviewed by Maciej Stachowiak.
Crash in WebCore::TextEncoding::decode below XSSFilter::init
https://bugs.webkit.org/show_bug.cgi?id=53837
Add missing null check.
Test: http/tests/security/xssAuditor/non-block-javascript-url-frame.html
* html/parser/XSSFilter.cpp:
(WebCore::XSSFilter::init):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@77730
268f45cc-cd09-0410-ab3c-
d52691b4dbfc