From a0271adb8d0edf93782bbf19c78c06e99821432f Mon Sep 17 00:00:00 2001 From: Wes Kocher Date: Fri, 26 Feb 2016 13:51:56 -0800 Subject: [PATCH] Backed out 2 changesets (bug 1248459) for test_imestate.html failures in mochitest-chrome-3 runs Backed out changeset 62d7f81e434a (bug 1248459) Backed out changeset 6aeedf17f577 (bug 1248459) MozReview-Commit-ID: 10008f0KqYP --- dom/events/ContentEventHandler.cpp | 9 ----- dom/events/test/mochitest.ini | 1 - dom/events/test/test_bug1248459.html | 58 ---------------------------- 3 files changed, 68 deletions(-) delete mode 100644 dom/events/test/test_bug1248459.html diff --git a/dom/events/ContentEventHandler.cpp b/dom/events/ContentEventHandler.cpp index 17137a02a49e..2d671888a0a0 100644 --- a/dom/events/ContentEventHandler.cpp +++ b/dom/events/ContentEventHandler.cpp @@ -1123,15 +1123,6 @@ ContentEventHandler::OnQuerySelectedText(WidgetQueryContentEvent* aEvent) return rv; } - nsINode* const startNode = mFirstSelectedRange->GetStartParent(); - nsINode* const endNode = mFirstSelectedRange->GetEndParent(); - - // Make sure the selection is within the root content range. - if (!nsContentUtils::ContentIsDescendantOf(startNode, mRootContent) || - !nsContentUtils::ContentIsDescendantOf(endNode, mRootContent)) { - return NS_ERROR_NOT_AVAILABLE; - } - NS_ASSERTION(aEvent->mReply.mString.IsEmpty(), "The reply string must be empty"); diff --git a/dom/events/test/mochitest.ini b/dom/events/test/mochitest.ini index c7e12b7ecf39..91e6582dc273 100644 --- a/dom/events/test/mochitest.ini +++ b/dom/events/test/mochitest.ini @@ -145,7 +145,6 @@ support-files = bug1017086_inner.html [test_bug1079236.html] [test_bug1145910.html] [test_bug1150308.html] -[test_bug1248459.html] [test_clickevent_on_input.html] skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM [test_continuous_wheel_events.html] diff --git a/dom/events/test/test_bug1248459.html b/dom/events/test/test_bug1248459.html deleted file mode 100644 index 4eefa8e1237e..000000000000 --- a/dom/events/test/test_bug1248459.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Test for Bug 1248459 - - - - - - -
bar
- - -