mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 03:05:34 +00:00
cd753d1158
TESTING_JS_MODULES uses testing-common, not gre. So we should replace gre with testing-common for mochitest. MozReview-Commit-ID: BqsS2D3IGR6 --HG-- extra : rebase_source : a8553684f8f106c1dfb6e2d9b51df7ebeb15275d
16 lines
482 B
HTML
16 lines
482 B
HTML
<!doctype html>
|
|
<html class="reftest-wait"><div contenteditable></div>
|
|
<script src="/tests/SimpleTest/EventUtils.js"></script>
|
|
<script>
|
|
var div = document.body.firstChild;
|
|
div.focus();
|
|
SpecialPowers.Cu.import(
|
|
"resource://testing-common/AsyncSpellCheckTestHelper.jsm", window);
|
|
onSpellCheck(div, function() {
|
|
div.innerHTML = 'something missspelled<br>something elsed#';
|
|
onSpellCheck(div, function() {
|
|
document.documentElement.removeAttribute("class");
|
|
});
|
|
});
|
|
</script>
|