[iOS WK2] 5 DataInteractionTests are failing: observed selection rects after dropping...
[WebKit-https.git] / Source / WebKit / WebProcess / WebPage / WebPage.cpp
index 32d866fb8a71adeaa3139251852384f78f1e872b..a20f1d5c064d61b5e29ad9edd5d1e04efbc0d57b 100644 (file)
@@ -3616,10 +3616,7 @@ void WebPage::performDragControllerAction(uint64_t action, const WebCore::DragDa
                 m_pendingDropExtensionsForFileUpload.append(extension);
         }
 
-        auto& frame = m_page->focusController().focusedOrMainFrame();
-        frame.editor().setIgnoreSelectionChanges(true);
         bool handled = m_page->dragController().performDragOperation(dragData);
-        frame.editor().setIgnoreSelectionChanges(false);
 
         // If we started loading a local file, the sandbox extension tracker would have adopted this
         // pending drop sandbox extension. If not, we'll play it safe and clear it.