gecko-dev/layout
Ting-Yu Lin 0beafc0ac8 Bug 591737 - Avoid dispatch mouse double click to content not in doc. r=smaug
When double-clicking on a default anonymous <summary> element, the first
eMouseClick will make the summary element being removed from the
document. This generates an assert in
PresShell::HandleEventWithTarget().

To prevent this assert, ensure the mouseContent is in document before
dispatching the eMouseDoubleClick event.

Since GetCrossShadowCurrentDoc() was deprecated, replace it with
GetComposedDoc().

--HG--
extra : commitid : K9pCdof8z3f
extra : rebase_source : 3adfdb9938de30fd0ca365168c33dcdcef8ca285
2016-01-20 23:20:42 +08:00
..
base Bug 591737 - Avoid dispatch mouse double click to content not in doc. r=smaug 2016-01-20 23:20:42 +08:00
build Back out out 3 changesets (bug 1239584) for B2G build failures on a CLOSED TREE. 2016-01-22 11:06:14 -08:00
doc Bug 1231550 - Use DrawTarget instead of gfxContext and/or nsRenderingContext in many places in font/text code. r=jfkthame. 2015-12-15 13:56:41 -08:00
forms Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
generic Bug 591737 - Add crashtest for details and summary. r=bz 2016-01-20 23:20:42 +08:00
inspector Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
ipc Bug 1231517 - part 3, Add ZoomToRect function to nsIWidget classes r=kats 2016-01-20 16:24:59 -08:00
mathml Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
media Bug 1216444 - Remove GKMEDIAS_SHARED_LIBRARY. r=mshal 2015-10-21 14:47:22 +09:00
printing Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
reftests Bug 591737 - Add reftests for details and summary. r=bz 2016-01-20 23:20:41 +08:00
style Bug 591737 - Construct details and summary in nsCSSFrameConstructor. r=bz 2016-02-02 17:39:49 +08:00
svg Bug 1235261 - Part 2: Switch some uses of AutoFallibleTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
tables Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
tools Add software mix-blend mode support to the D3D9 compositor. (bug 1243071 part 3, r=bas,mattwoodrow) 2016-02-01 16:28:00 -08:00
xul Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
moz.build