gecko/content
Robert O'Callahan 192b5d6603 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
..
base Bug 999742, Split Blob<> into BlobParent/BlobChild. rs=sicking. 2014-04-23 21:43:57 -07:00
canvas Bug 990851 - Fix TexSubImage with cubemap face failure. r=jgilbert 2014-04-22 14:09:33 +10:00
html 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
mathml/content Backed out changeset 6a0290190c1b (bug 946065) 2014-04-14 08:50:29 +02:00
media Bug 999902 - Enable WebRTC OMX codec only when Android version >= 18. r=jesup 2014-04-23 02:59:00 +02:00
svg Bug 991545 - Update SVGTransformableElement::GetAttributeChangeHint to use nsChangeHint_UpdatePostTransformOverflow. r=longsonr 2014-04-07 12:52:12 -07:00
test Bug 966609 - nsWrapperCache for SandboxPrivate. r=bholley 2014-03-24 16:00:52 +01:00
xml Backed out changeset 8b8fa0cf1e2f (Bug 994740 ) for causing crashtest failures on a CLOSED TREE 2014-04-14 12:57:43 +02:00
xul Bug 990353 - Make the decision to discard source entirely per-global, rather than per-script. r=luke 2014-04-22 14:08:27 -07:00
moz.build Backed out changeset c2350812b7f1 (bug 946065) hoping this fix the B2G mochitest-7 perma-fail on a CLOSED TREE 2014-04-14 08:51:51 +02:00