<!DOCTYPE html> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
onload = function() { | |
var c0 = document.querySelector('input'); | |
c0.style.display = 'none'; | |
c0.dispatchEvent(new MouseEvent('mousedown', { button: 1 })); | |
document.body.innerHTML = 'PASS'; | |
}; | |
</script> | |
<input> |