mshtml: Added JavaScript tests architecture and simple tests.
Jacek Caban
jacek at codeweavers.com
Mon Dec 21 15:54:19 CST 2009
On 12/21/09 4:16 PM, Alexandre Julliard wrote:
> Jacek Caban<jacek at codeweavers.com> writes:
>
>
>> ---
>> dlls/mshtml/tests/Makefile.in | 2 +
>> dlls/mshtml/tests/jstest.html | 20 ++
>> dlls/mshtml/tests/rsrc.rc | 20 ++
>> dlls/mshtml/tests/script.c | 735
>> ++++++++++++++++++++++++++++++++++++++++-
>> 4 files changed, 759 insertions(+), 18 deletions(-)
>> create mode 100644 dlls/mshtml/tests/jstest.html
>> create mode 100644 dlls/mshtml/tests/rsrc.rc
>>
> It doesn't work here:
>
> ../../../tools/runtest -q -P wine -M mshtml.dll -T ../../.. -p mshtml_test.exe.so script.c&& touch script.ok
> 0[157e88]: IMM32: InitKeyboardLayout, aKeyboardLayout=04090409, sCodePage=1252, sIMEProperty=00090000
> 0[157e88]: IMM32: InitKeyboardLayout, aKeyboardLayout=04090409, sCodePage=1252, sIMEProperty=00090000
> 0[157e88]: file wine:res://Z:/home/julliard/wine/wine/dlls/mshtml/tests/mshtml_test.exe/jstest.html, line 5: ReferenceError: external is not defined
>
We need to use JScript for res: protocol documents to make it work and I
had a patch to always use it in my tree, sorry. We might consider
extending this rule to all non-http protocols soon. I've sent a patch.
Thanks,
Jacek
More information about the wine-devel
mailing list