[Webkit-unassigned] [Bug 61991] New: Assertion fails in TextCheckingHelper by right-clicking on <input type=search>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 2 20:59:54 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=61991

           Summary: Assertion fails in TextCheckingHelper by
                    right-clicking on <input type=search>
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: data:text/html,<input type=search>
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tkent at chromium.org
                CC: rniwa at webkit.org, morrita at google.com


1. Open data:text/html,<input type=search>
2. Right-click on a place where a cancel button should be on.

Result:
ARGUMENT BAD: m_range, m_range
/Volumes/d2/WebKit/Source/WebCore/editing/TextCheckingHelper.cpp(160) : WebCore::TextCheckingHelper::TextCheckingHelper(WebCore::EditorClient*, WTF::PassRefPtr<WebCore::Range>)
1   WebCore::TextCheckingHelper::TextCheckingHelper(WebCore::EditorClient*, WTF::PassRefPtr<WebCore::Range>)
2   WebCore::Editor::guessesForMisspelledOrUngrammaticalSelection(bool&, bool&)
3   WebCore::ContextMenuController::populate()
4   WebCore::ContextMenuController::handleContextMenuEvent(WebCore::Event*)
5   WebCore::Node::defaultEventHandler(WebCore::Event*)
6   WebCore::SearchFieldCancelButtonElement::defaultEventHandler(WebCore::Event*)
7   WebCore::EventDispatcher::dispatchEvent(WTF::PassRefPtr<WebCore::Event>)
8   WebCore::MouseEventDispatchMediator::dispatchEvent(WebCore::EventDispatcher*) const
9   WebCore::EventDispatcher::dispatchEvent(WebCore::Node*, WebCore::EventDispatchMediator const&)
10  WebCore::Node::dispatchMouseEvent(WebCore::PlatformMouseEvent const&, WTF::AtomicString const&, int, WebCore::Node*)
11  WebCore::EventHandler::dispatchMouseEvent(WTF::AtomicString const&, WebCore::Node*, bool, int, WebCore::PlatformMouseEvent const&, bool)
12  WebCore::EventHandler::sendContextMenuEvent(WebCore::PlatformMouseEvent const&)
13  -[WebHTMLView menuForEvent:]
14  -[NSView rightMouseDown:]

Note: If the search field has a on-empty value and the cancel button is visible, this doesn't happen.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list