mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
Bug 1246296 - Fix spell checking subtests in browser_contextmenu.js; r=dao
This commit is contained in:
parent
1e04a4e1bb
commit
f613997711
@ -370,11 +370,6 @@ add_task(function* test_image_in_iframe() {
|
||||
});
|
||||
|
||||
add_task(function* test_textarea() {
|
||||
// Disabled since this is seeing spell-check-enabled
|
||||
// instead of spell-add-dictionaries-main
|
||||
todo(false, "spell checker tests are failing, bug 1246296");
|
||||
return;
|
||||
|
||||
yield test_contextmenu("#test-textarea",
|
||||
["context-undo", false,
|
||||
"---", null,
|
||||
@ -385,7 +380,7 @@ add_task(function* test_textarea() {
|
||||
"---", null,
|
||||
"context-selectall", true,
|
||||
"---", null,
|
||||
"spell-add-dictionaries-main", true,
|
||||
"spell-check-enabled", true,
|
||||
],
|
||||
{
|
||||
skipFocusChange: true,
|
||||
@ -394,9 +389,6 @@ add_task(function* test_textarea() {
|
||||
});
|
||||
|
||||
add_task(function* test_textarea_spellcheck() {
|
||||
todo(false, "spell checker tests are failing, bug 1246296");
|
||||
return;
|
||||
|
||||
yield test_contextmenu("#test-textarea",
|
||||
["*chubbiness", true, // spelling suggestion
|
||||
"spell-add-to-dictionary", true,
|
||||
@ -432,9 +424,6 @@ add_task(function* test_plaintext2() {
|
||||
});
|
||||
|
||||
add_task(function* test_undo_add_to_dictionary() {
|
||||
todo(false, "spell checker tests are failing, bug 1246296");
|
||||
return;
|
||||
|
||||
yield test_contextmenu("#test-textarea",
|
||||
["spell-undo-add-to-dictionary", true,
|
||||
"---", null,
|
||||
@ -464,9 +453,6 @@ add_task(function* test_undo_add_to_dictionary() {
|
||||
});
|
||||
|
||||
add_task(function* test_contenteditable() {
|
||||
todo(false, "spell checker tests are failing, bug 1246296");
|
||||
return;
|
||||
|
||||
yield test_contextmenu("#test-contenteditable",
|
||||
["spell-no-suggestions", false,
|
||||
"spell-add-to-dictionary", true,
|
||||
@ -716,9 +702,6 @@ add_task(function* test_imagelink() {
|
||||
});
|
||||
|
||||
add_task(function* test_select_input_text() {
|
||||
todo(false, "spell checker tests are failing, bug 1246296");
|
||||
return;
|
||||
|
||||
yield test_contextmenu("#test-select-input-text",
|
||||
["context-undo", false,
|
||||
"---", null,
|
||||
@ -747,9 +730,6 @@ add_task(function* test_select_input_text() {
|
||||
});
|
||||
|
||||
add_task(function* test_select_input_text_password() {
|
||||
todo(false, "spell checker tests are failing, bug 1246296");
|
||||
return;
|
||||
|
||||
yield test_contextmenu("#test-select-input-text-type-password",
|
||||
["context-undo", false,
|
||||
"---", null,
|
||||
@ -762,10 +742,6 @@ add_task(function* test_select_input_text_password() {
|
||||
"---", null,
|
||||
"spell-check-enabled", true,
|
||||
//spell checker is shown on input[type="password"] on this testcase
|
||||
"spell-dictionaries", true,
|
||||
["spell-check-dictionary-en-US", true,
|
||||
"---", null,
|
||||
"spell-add-dictionaries", true], null
|
||||
].concat(LOGIN_FILL_ITEMS),
|
||||
{
|
||||
*preCheckContextMenuFn() {
|
||||
@ -864,9 +840,6 @@ add_task(function* test_srcdoc() {
|
||||
});
|
||||
|
||||
add_task(function* test_input_spell_false() {
|
||||
todo(false, "spell checker tests are failing, bug 1246296");
|
||||
return;
|
||||
|
||||
yield test_contextmenu("#test-contenteditable-spellcheck-false",
|
||||
["context-undo", false,
|
||||
"---", null,
|
||||
@ -876,7 +849,10 @@ add_task(function* test_input_spell_false() {
|
||||
"context-delete", false,
|
||||
"---", null,
|
||||
"context-selectall", true,
|
||||
]
|
||||
],
|
||||
{
|
||||
waitForSpellCheck: true
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user