blob: 0693586c19f264e9721989929d80ac7681e62616 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../http/tests/inspector/resources/inspector-test.js"></script>
<script>
function test()
{
let suite = InspectorTest.createSyncSuite("Audit.VERSION");
suite.addTestCase({
name: "Audit.VERSION.MatchesFrontend",
description: "Check that the audit system version is in sync with the frontend version.",
test() {
InspectorTest.expectEqual(InspectorBackend.getVersion("Audit"), WI.AuditTestBase.Version, "The audit system version should match the frontend version.");
return true;
},
});
suite.runTestCasesAndFinish();
}
</script>
</head>
<body onload="runTest()">
<p>Tests Audit.VERSION value.</p>
</body>
</html>