Commit 3bacd760 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Added JavaScript tests architecture and simple tests.

parent 4e6e9089
......@@ -14,6 +14,8 @@ CTESTS = \
protocol.c \
script.c
RC_SRCS = rsrc.rc
@MAKE_TEST_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend
<html>
<head>
<script>
function ok(b,m) {
return external.ok(b, m);
}
function runTest() {
obj = new Object();
ok(obj === window.obj, "obj !== window.obj");
ok(typeof(divid) === "object", "typeof(divid) = " + typeof(divid));
external.reportSuccess();
}
</script>
<body onload="runTest();">
<div id="divid"></div>
</body>
</html>
/*
* Copyright 2009 Jacek Caban
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* @makedep: jstest.html */
jstest.html HTML "jstest.html"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment