Skip to content

Truly independent web browser

354 B
Raw Blame
<!DOCTYPE html>
<form id="theForm" style="display:none"><button id="theButton" type="submit" disabled></button></form>
<script src="../include.js"></script>
<script>
    theForm.onclick = function() {
        println("FAIL! Should not click!");
    }

    test(() => {
        theButton.click();
        println("PASS! Did not click");
    });
</script>