1
0
Fork 0
firefox/testing/web-platform/tests/annotation-model/tools/template_js
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

36 lines
787 B
Text

<!doctype html>
<html>
<head>
<title>{{TESTTITLE}}</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/annotation-model/scripts/ajv.min.js"></script>
<script src="/annotation-model/scripts/JSONtest.js"></script>
<script>
setup( { explicit_done: true } );
var theDefinitions=[
{{SCHEMADEFS}}
];
var theTestFile="{{TESTFILE}}";
var runningTest = new JSONtest( {
"schemaDefs" : theDefinitions,
"testFile" : theTestFile
} ) ;
var c;
runningTest.Promise.then(function(test) {
test.runTests(test.Assertions, test.Test.content);
done();
});
</script>
</head>
<body>
<div id="testDescription"></div>
<p>The following assertions are being evaluated:</p>
<div id="assertion"></div>
</body>
</html>