[Webkit-unassigned] [Bug 67377] REGRESSION(r94274): selection-change-closes-typing.html fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 1 02:23:04 PDT 2011


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





--- Comment #2 from Ryosuke Niwa <rniwa at webkit.org>  2011-09-01 02:23:04 PST ---
Please the following comments backwards in the natural order of stack growth:

#0    0x1018f2b14 in WebCore::HTMLInputElement::setValueFromRenderer at HTMLInputElement.cpp:1192

 < we're doomed at this point as we've reached subtreeHasChanged; we think the user has edited text >
#1    0x1018f3760 in WebCore::HTMLInputElement::subtreeHasChanged at HTMLInputElement.cpp:659
#2    0x10192d9bc in WebCore::HTMLTextFormControlElement::defaultEventHandler at HTMLTextFormControlElement.cpp:95
#3    0x1018f6c99 in WebCore::HTMLInputElement::defaultEventHandler at HTMLInputElement.cpp:1315
#4    0x10226284b in WebCore::TextControlInnerTextElement::defaultEventHandler at TextControlInnerElements.cpp:90
#5    0x101786e00 in WebCore::EventDispatcher::dispatchEvent at EventDispatcher.cpp:349
#6    0x1017855f7 in WebCore::EventDispatchMediator::dispatchEvent at EventDispatchMediator.cpp:51
#7    0x101785edf in WebCore::EventDispatcher::dispatchEvent at EventDispatcher.cpp:55
#8    0x101e458ca in WebCore::Node::dispatchEvent at Node.cpp:2702
#9    0x1017a18f3 in WebCore::EventTarget::dispatchEvent at EventTarget.cpp:326
#10    0x10176daf7 in WebCore::dispatchEditableContentChangedEvents at Editor.cpp:961
#11    0x10176dd78 in WebCore::Editor::appliedEditing at Editor.cpp:970
#12    0x102290241 in WebCore::TypingCommand::typingAddedToOpenCommand at TypingCommand.cpp:357
#13    0x102291853 in WebCore::TypingCommand::insertTextRunWithoutNewlines at TypingCommand.cpp:399
#14    0x102291af6 in WebCore::TypingCommand::insertText at TypingCommand.cpp:384
#15    0x1022929a8 in WebCore::TypingCommand::insertText at TypingCommand.cpp:199
#16    0x10176ca55 in WebCore::Editor::insertTextWithoutSendingTextEvent at Editor.cpp:1099
#17    0x10176cc28 in WebCore::Editor::handleTextEvent at Editor.cpp:176
#18    0x101789698 in WebCore::EventHandler::defaultTextInputEventHandler at EventHandler.cpp:2964
#19    0x101e4ba49 in WebCore::Node::defaultEventHandler at Node.cpp:2818
#20    0x10192d9cb in WebCore::HTMLTextFormControlElement::defaultEventHandler at HTMLTextFormControlElement.cpp:99
#21    0x1018f6c99 in WebCore::HTMLInputElement::defaultEventHandler at HTMLInputElement.cpp:1315
#22    0x101786e00 in WebCore::EventDispatcher::dispatchEvent at EventDispatcher.cpp:349
#23    0x1017855f7 in WebCore::EventDispatchMediator::dispatchEvent at EventDispatchMediator.cpp:51
#24    0x101785edf in WebCore::EventDispatcher::dispatchEvent at EventDispatcher.cpp:55
#25    0x101e458ca in WebCore::Node::dispatchEvent at Node.cpp:2702
#26    0x1017a18f3 in WebCore::EventTarget::dispatchEvent at EventTarget.cpp:326
#27    0x10178ec66 in WebCore::EventHandler::handleTextInputEvent at EventHandler.cpp:2929
#28    0x101768d3c in WebCore::Editor::insertTextForConfirmedComposition at Editor.cpp:1057
#29    0x10176d8c3 in WebCore::Editor::confirmComposition at Editor.cpp:1520

 < oops, we've somehow decided to confirm the composition >
#30    0x10176d9ed in WebCore::Editor::confirmCompositionWithoutDisturbingSelection at Editor.cpp:1479
#31    0x100bbdf81 in -[WebHTMLView(WebNSTextInputSupport) _updateSelectionForInputManager] at WebHTMLView.mm:5943
#32    0x100bb7975 in -[WebHTMLView(WebInternal) _selectionChanged] at WebHTMLView.mm:4949
#33    0x100c23a4c in -[WebView(WebViewInternal) _selectionChanged] at WebView.mm:6086
#34    0x100b7a81f in WebEditorClient::respondToChangedSelection at WebEditorClient.mm:295
#35    0x10176ad39 in WebCore::Editor::respondToChangedSelection at Editor.cpp:492
#36    0x10176b424 in WebCore::Editor::respondToChangedSelection at Editor.cpp:3160
#37    0x10181f398 in WebCore::FrameSelection::setSelection at FrameSelection.cpp:233
#38    0x101820a1c in WebCore::FrameSelection::textWillBeReplaced at FrameSelection.cpp:380

 < here, we're about to replace text >
#39    0x10148451a in WebCore::CharacterData::setDataAndUpdate at CharacterData.cpp:176
#40    0x1014849f4 in WebCore::CharacterData::setData at CharacterData.cpp:46
#41    0x1018cde86 in WebCore::replaceChildrenWithText at HTMLElement.cpp:343
#42    0x1018cebfd in WebCore::HTMLElement::setInnerText at HTMLElement.cpp:479
#43    0x10192ba59 in WebCore::HTMLTextFormControlElement::setInnerTextValue at HTMLTextFormControlElement.cpp:465
#44    0x1018f3962 in WebCore::HTMLInputElement::updateInnerTextValue at HTMLInputElement.cpp:639

 < this is where we start >
#45    0x1018f3b29 in WebCore::HTMLInputElement::setValue at HTMLInputElement.cpp:1109
#46    0x101b8e05f in WebCore::setJSHTMLInputElementValue at JSHTMLInputElement.cpp:1009

-- 
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