Repro steps: 1. Navigate to wikipedia.org 2. Type a search term in the search field 3. Press enter 4. After the page loads try to select something using long press. Results: The selection is either not visible at all or in the incorrect place. rdar://problem/19768211
Created attachment 246301 [details] Patch
Comment on attachment 246301 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=246301&action=review > Source/WebKit2/WebProcess/WebPage/WebPage.cpp:4553 > + m_assistedNode = 0; nullptr. Higher up is a if (!frame->isMainFrame()) return; check so what if the assisted node is in a subframe? I still think we should do this on teardown/caching of the previous document, not the loading of the new one.
Created attachment 246343 [details] Patch2
https://trac.webkit.org/r179885