4 <script src=
"../../resources/js-test.js"></script>
8 <div id=
"destination" contentEditable
></div>
16 internals
.settings
.setUnifiedTextCheckerEnabled(true);
17 internals
.settings
.setAsynchronousSpellCheckingEnabled(true);
19 var sel
= window
.getSelection();
20 var destination
= document
.getElementById("destination");
22 document
.execCommand("InsertHTML", false, "wellcome");
23 document
.execCommand("InsertText", false, ".");
25 shouldBecomeEqualToString('internals.markerDescriptionForNode(destination.firstChild, "spelling", 0)', 'welcome', finishJSTest
);
28 description("The spellchecker should store replacement text in each marker.");