Reviewed by George Staikos.
authorzimmermann@webkit.org <zimmermann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Dec 2008 23:48:26 +0000 (23:48 +0000)
committerzimmermann@webkit.org <zimmermann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Dec 2008 23:48:26 +0000 (23:48 +0000)
commit9761fb7d8d236c1893edd7088eeaa570cdf7a370
tree7ba39d4994c39871f7e3d334ae09e2e8ae9932bf
parent9dd72c43531aa58707d9dc1efd62ef51b0313345
Reviewed by George Staikos.

Fixes: https://bugs.webkit.org/show_bug.cgi?id=22636

Implement WML variable substitution & validation.
Created a framework for scriptable WML layout tests, that are able to test variable substiution & validation.

Tests: wml/variable-reference-invalid-character.html
       wml/variable-reference-valid.html

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@38974 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
LayoutTests/ChangeLog
LayoutTests/wml/resources/TEMPLATE.html [new file with mode: 0644]
LayoutTests/wml/resources/WMLTestCase.js [new file with mode: 0644]
LayoutTests/wml/resources/variable-reference-invalid-character.js [new file with mode: 0644]
LayoutTests/wml/resources/variable-reference-valid.js [new file with mode: 0644]
LayoutTests/wml/variable-reference-invalid-character-expected.txt [new file with mode: 0644]
LayoutTests/wml/variable-reference-invalid-character.html [new file with mode: 0644]
LayoutTests/wml/variable-reference-valid-expected.txt [new file with mode: 0644]
LayoutTests/wml/variable-reference-valid.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/wml/WMLVariables.cpp
WebCore/wml/WMLVariables.h