gecko/modules/oji/tests/script/test.html

19 lines
553 B
HTML
Executable File

<html>
<head>
<script>
function startOJITests() {
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
// var OJITestLoader = Components.classes["component://netscape/oji/test/api/loader"].createInstance();
var OJITestLoader = Components.classes['@mozilla.org/oji/test/api/loader;1'].createInstance();
}
</script>
</head>
<body>
<h2 align="center">OJI API tests starting page. </h2>
Results of tests execution could be found on the console and
in the appropriate output files.
<script>
startOJITests();
</script>
</body>