Backout bug 502259

This commit is contained in:
Chris Pearce 2009-07-28 16:30:11 +12:00
parent 6563173321
commit 7a3513de80
2 changed files with 1 additions and 5 deletions

View File

@ -683,7 +683,7 @@ nsPlaintextEditor::ExtendSelectionForDelete(nsISelection *aSelection,
break;
case eNext:
result = selCont->CharacterExtendForDelete();
// Don't set aAction to eNone (see Bug 502259)
*aAction = eNone;
break;
case ePrevious:
/* FIXME: extend selection over UTF-16 surrogates for Bug #332636

View File

@ -202,10 +202,6 @@ function execTests() {
testDeleteNextWord(editor.firstChild, 0, "\u00A0text.");
// testDeleteNextWord(editor, 0, "");
// Tests for Bug 502259
setupTest("<p>foo</p>\n<p>bar</p>", 3);
testDelete(editor.firstChild.firstChild, 3, "foobar");
SimpleTest.finish();
}