Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 <!doctype html>
2 <html class="reftest-wait"><div contenteditable></div>
3 <script src="/tests/SimpleTest/EventUtils.js"></script>
4 <script>
5 var div = document.body.firstChild;
6 div.focus();
7 SpecialPowers.Cu.import("resource://gre/modules/AsyncSpellCheckTestHelper.jsm",
8 window);
9 onSpellCheck(div, function() {
10 div.innerHTML = 'something missspelled<br>something elsed#';
11 onSpellCheck(div, function() {
12 document.documentElement.removeAttribute("class");
13 });
14 });
15 </script>