Backed out changeset 5118162c1a82 (bug 1246296) for browser_contextmenu.js failures on a CLOSED TREE.

This commit is contained in:
Ryan VanderMeulen 2016-10-21 17:04:30 -04:00
Родитель 8bdfe25717
Коммит 11b0a6c2fa
1 изменённых файлов: 29 добавлений и 5 удалений

Просмотреть файл

@ -370,6 +370,11 @@ 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,
@ -380,7 +385,7 @@ add_task(function* test_textarea() {
"---", null,
"context-selectall", true,
"---", null,
"spell-check-enabled", true,
"spell-add-dictionaries-main", true,
],
{
skipFocusChange: true,
@ -389,6 +394,9 @@ 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,
@ -424,6 +432,9 @@ 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,
@ -453,6 +464,9 @@ 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,
@ -702,6 +716,9 @@ 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,
@ -730,6 +747,9 @@ 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,
@ -742,6 +762,10 @@ 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() {
@ -840,6 +864,9 @@ 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,
@ -849,10 +876,7 @@ add_task(function* test_input_spell_false() {
"context-delete", false,
"---", null,
"context-selectall", true,
],
{
waitForSpellCheck: true
}
]
);
});