<script src="../form-validation.js"></script> | |
<script> | |
if (window.testRunner) { | |
testRunner.waitUntilDone(); | |
testRunner.dumpAsText(); | |
} | |
getValidationMessage().then((message) => { | |
if (message === "") | |
document.body.innerHTML = "PASS: The HTML validation bubble is no longer visible after navigating"; | |
else | |
document.body.innerHTML = "FAIL: The HTML validation bubble is still visible after navigating"; | |
if (window.testRunner) | |
testRunner.notifyDone(); | |
}); | |
</script> |