mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Backed out changeset c7d8d25e09b6 (bug 1269209)
MozReview-Commit-ID: KivGNRxiRDu
This commit is contained in:
parent
1a5704fe4d
commit
8873da9713
@ -1,6 +1,7 @@
|
||||
[DEFAULT]
|
||||
skip-if = buildapp == 'b2g' || os == 'android'
|
||||
|
||||
[test_async_UpdateCurrentDictionary.html]
|
||||
[test_bug338427.html]
|
||||
[test_bug434998.xul]
|
||||
[test_bug678842.html]
|
||||
|
@ -13,7 +13,6 @@ support-files =
|
||||
de-DE/de_DE.dic
|
||||
de-DE/de_DE.aff
|
||||
|
||||
[test_async_UpdateCurrentDictionary.html]
|
||||
[test_bug348497.html]
|
||||
[test_bug384147.html]
|
||||
[test_bug389350.html]
|
||||
|
@ -5,8 +5,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=856270
|
||||
-->
|
||||
<head>
|
||||
<title>Test for Bug 856270 - Async UpdateCurrentDictionary</title>
|
||||
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<link rel="stylesheet" href="/tests/SimpleTest/test.css">
|
||||
<script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css" />
|
||||
</head>
|
||||
<body>
|
||||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=856270">Mozilla Bug 856270</a>
|
||||
@ -21,12 +21,12 @@ SimpleTest.waitForExplicitFinish();
|
||||
addLoadEvent(start);
|
||||
|
||||
function start() {
|
||||
Components.utils.import("resource://gre/modules/AsyncSpellCheckTestHelper.jsm");
|
||||
var textarea = document.getElementById("editor");
|
||||
textarea.focus();
|
||||
|
||||
SpecialPowers.Cu.import("resource://gre/modules/AsyncSpellCheckTestHelper.jsm")
|
||||
.onSpellCheck(textarea, function () {
|
||||
var isc = SpecialPowers.wrap(textarea).editor.getInlineSpellChecker(false);
|
||||
onSpellCheck(textarea, function () {
|
||||
var isc = textarea.editor.getInlineSpellChecker(false);
|
||||
ok(isc, "Inline spell checker should exist after focus and spell check");
|
||||
var sc = isc.spellChecker;
|
||||
isnot(sc.GetCurrentDictionary(), lang,
|
||||
|
Loading…
Reference in New Issue
Block a user