Files
sanderling/test/browser/testdata/no-properties/index.html
T
pj 7bafed8af4 feat(testrun): refuse a run against a spec that registers no properties
A spec with no properties drove the app and reported no violations,
which is indistinguishable from a spec that judged something and found
nothing. Execute now aborts after loading the spec unless the run asks
for the opt-out by name.
2026-08-17 23:27:21 +05:30

20 lines
463 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>no-properties</title>
</head>
<body>
<button id="increment">+</button>
<div id="counter">0</div>
<script>
let value = 0;
const display = document.getElementById("counter");
document.getElementById("increment").addEventListener("click", function () {
value += 1;
display.textContent = String(value);
});
</script>
</body>
</html>