gecko-dev/editor/idl
Robert O'Callahan 38c751230b Bug 821307. Ensure nsTextEditorState::SetValue does nothing when the new value equals the old value, even for password inputs. r=ehsan
If nsTextEditorState::SetValue is allowed to rebuild the editor DOM even when
the new value is the same as the old value, then during PrepareEditor we can
remove the content that's the current target of the event triggering the
PrepareEditor, which prevents important code from running such as the code that
focuses the text input. Normally this isn't a problem but
nsTextEditorState::SetValue's code for getting the current value is broken
for password controls when !mEditorInitialized. So we remove that broken code
path.

We have to make sure that the password text, if any, is set on the edit-rules
during their initialization so the regular path for getting the current
value returns the right thing.

--HG--
extra : rebase_source : 81a01a957b4b1e0cf868505a1b23c9110a2f4b3a
2014-04-15 00:33:47 +12:00
..
moz.build Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
nsIContentFilter.idl Backed out 2 changesets (bug 579517) 2012-10-25 12:32:24 -04:00
nsIDocumentStateListener.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIEditActionListener.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIEditor.idl Bug 821307. Ensure nsTextEditorState::SetValue does nothing when the new value equals the old value, even for password inputs. r=ehsan 2014-04-15 00:33:47 +12:00
nsIEditorIMESupport.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIEditorMailSupport.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIEditorObserver.idl Bug 811679 - Add nsIEditorObserver back; r=ehsan 2012-11-14 11:23:35 -08:00
nsIEditorSpellCheck.idl Bug 856270 - Update spell checking to use nsIContentPrefService2 (part 1: core changes). r=ehsan, sr=gavin 2013-06-05 17:07:54 -07:00
nsIEditorStyleSheets.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIHTMLAbsPosEditor.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIHTMLEditor.idl Backed out 2 changesets (bug 579517) 2012-10-25 12:32:24 -04:00
nsIHTMLInlineTableEditor.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIHTMLObjectResizeListener.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIHTMLObjectResizer.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIPlaintextEditor.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsITableEditor.idl Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsIURIRefObject.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsPIEditorTransaction.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00