<!DOCTYPE html>
<html>
<head>
<p>This test is  for crash when executing SelectAll command on focused select element containing only disabled element </p>
    <script>
        if (window.testRunner)
            window.testRunner.dumpAsText();
    </script>
</head>
<body onload="document.execCommand('SelectAll')">
    <select multiple="1" autofocus="autofocus">
        <option disabled="DISABLED"></option>
    </select>
</body>
<html>
