blob: c1281b13378fbbfaa304a130498bc596717f1094 [file] [log] [blame]
<html>
<head>
<style>
body {
-webkit-user-select: none;
}
</style>
<script>
function test() {
if (window.testRunner)
testRunner.dumpAsText();
document.execCommand('SelectAll');
if (window.getSelection().toString() == "")
document.body.innerHTML = "Test Passed";
}
</script>
</head>
<body onload="test()">
Test Failed (this should not be selected)
</body>
</html>