Bug 368760, r=mats, sr=roc, a=blocking1.9+
This commit is contained in:
@@ -2716,9 +2716,10 @@ nsTextControlFrame::SetValue(const nsAString& aValue)
|
||||
selPriv->StartBatchChanges();
|
||||
}
|
||||
|
||||
nsCOMPtr<nsISelectionController> kungFuDeathGrip = mSelCon;
|
||||
mSelCon->SelectAll();
|
||||
nsCOMPtr<nsIPlaintextEditor> plaintextEditor = do_QueryInterface(editor);
|
||||
if (!plaintextEditor) {
|
||||
if (!plaintextEditor || !weakFrame.IsAlive()) {
|
||||
NS_WARNING("Somehow not a plaintext editor?");
|
||||
if (pushed) {
|
||||
JSContext* cx;
|
||||
|
||||
Reference in New Issue
Block a user