diff --git a/editor/libeditor/base/nsEditorEventListener.cpp b/editor/libeditor/base/nsEditorEventListener.cpp index ed14c2d4254..b17d3145c1b 100644 --- a/editor/libeditor/base/nsEditorEventListener.cpp +++ b/editor/libeditor/base/nsEditorEventListener.cpp @@ -389,16 +389,6 @@ nsEditorEventListener::MouseClick(nsIDOMEvent* aMouseEvent) return NS_OK; } - nsCOMPtr target; - aMouseEvent->GetTarget(getter_AddRefs(target)); - nsCOMPtr node = do_QueryInterface(target); - NS_ENSURE_TRUE(node, NS_ERROR_FAILURE); - - if (!mEditor->IsModifiableNode(node)) { - // We shouldn't handle the event for non-editable content. - return NS_OK; - } - nsresult rv; nsCOMPtr nsuiEvent = do_QueryInterface(aMouseEvent); NS_ENSURE_TRUE(nsuiEvent, NS_ERROR_NULL_POINTER); diff --git a/editor/libeditor/html/tests/Makefile.in b/editor/libeditor/html/tests/Makefile.in index 65245940c8f..3a643e2887d 100644 --- a/editor/libeditor/html/tests/Makefile.in +++ b/editor/libeditor/html/tests/Makefile.in @@ -84,8 +84,6 @@ _TEST_FILES = \ test_bug629845.html \ test_bug640321.html \ test_bug668599.html \ - test_bug674770.html \ - file_bug674770.html \ test_bug674861.html \ test_CF_HTML_clipboard.html \ test_contenteditable_focus.html \ diff --git a/editor/libeditor/html/tests/file_bug674770.html b/editor/libeditor/html/tests/file_bug674770.html deleted file mode 100644 index 6750bb87894..00000000000 --- a/editor/libeditor/html/tests/file_bug674770.html +++ /dev/null @@ -1,5 +0,0 @@ - - diff --git a/editor/libeditor/html/tests/test_bug674770.html b/editor/libeditor/html/tests/test_bug674770.html deleted file mode 100644 index 911d7861d27..00000000000 --- a/editor/libeditor/html/tests/test_bug674770.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - Test for Bug 674770 - - - - - - -Mozilla Bug 674770 -

-
-test -
-test -
-
-
-
-
- -