/** Test for Bug 333064 **/
SimpleTest.waitForExplicitFinish();
SimpleTest.waitForFocus(function() { vardiv = document.getElementById("korean-text"); var sel = window.getSelection();
// Select text node in div. var r = document.createRange();
r.setStart(div, 0);
r.setEnd(div, 1);
sel.addRange(r);
SimpleTest.waitForClipboard(
function compare(value) {
// Make sure we got the HTML flavour we asked for and that our
// string is included without additional spaces.
return value.includes("korean-text") && value.includes("안".repeat(160));
},
function setup() {
synthesizeKey("C", {accelKey: true});
},
function onSuccess() {
SimpleTest.finish();
},
function onFailure() {
SimpleTest.finish();
}, "text/html"
);
});
</script>
</body>
</html>
Messung V0.5
¤ Dauer der Verarbeitung: 0.21 Sekunden
(vorverarbeitet)
¤
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.