<!DOCTYPEHTML> <!-- This Source Code Form is subject to the terms of the Mozilla Public -License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<html> <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=46555
-->
/** Test for Bug 46555 */
SimpleTest.waitForExplicitFinish();
SimpleTest.waitForFocus(function() {
const kCmd = "cmd_selectAll";
varinput = document.getElementById("t1"); input.focus(); var controller =
SpecialPowers.wrap(input).controllers.getControllerForCommand(kCmd);
// Test 1: Select All should be disabled if editor is empty
is(controller.isCommandEnabled(kCmd), false, "Select All command disabled when editor is empty");
SimpleTest.finish();
});
</script>
</pre>
</body>
</html>
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet am 2026-08-25)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.