<!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=318065
-->
/** Test for Bug 318065 */
SimpleTest.waitForExplicitFinish();
SimpleTest.waitForFocus(function() { var expectedValues = ["A", "", "A", "", "A", "", "A"]; var messages = ["Initial text inserted", "Initial text deleted", "Undo of deletion", "Redo of deletion", "Initial text typed", "Undo of typing", "Redo of typing"]; var step = 0;
function onInput() {
is(this.value, expectedValues[step], messages[step]);
step++;
if (step == expectedValues.length) {
this.removeEventListener("input", onInput);
SimpleTest.finish();
}
}
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.