forked from mirrors/gecko-dev
Automatic update from web-platform-testsFix #10875: run parsed lints for visual tests CSS tests, due to their metadata requirement, default to visual tests, hence it's important we run all of these lints (to in this case catch ../testharness.js) -- Extend the previous commit to also check manual tests Plenty of manual tests use testharness.js so we should check them too, and indeed there's plenty of broken tests so fix them too -- wpt-commits: b54c11b055959abeefafcde601853ea4cb247e0b, c327c2747db6b71c8c45f61e0a97785a9be622c2 wpt-pr: 10876
36 lines
787 B
Text
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>
|