diff --git a/dom/smil/SMILAnimationFunction.cpp b/dom/smil/SMILAnimationFunction.cpp index a2ee23adb15cf..bff4379d65051 100644 --- a/dom/smil/SMILAnimationFunction.cpp +++ b/dom/smil/SMILAnimationFunction.cpp @@ -7,12 +7,12 @@ #include "SMILAnimationFunction.h" #include "mozilla/dom/SVGAnimationElement.h" +#include "mozilla/Move.h" +#include "mozilla/SMILCSSValueType.h" +#include "mozilla/SMILNullType.h" #include "mozilla/SMILParserUtils.h" #include "mozilla/SMILTimedElement.h" -#include "mozilla/Move.h" #include "nsISMILAttr.h" -#include "SMILCSSValueType.h" -#include "SMILNullType.h" #include "nsAttrValueInlines.h" #include "nsGkAtoms.h" #include "nsCOMPtr.h" diff --git a/dom/smil/SMILBoolType.h b/dom/smil/SMILBoolType.h index ae6a76c07b0a7..388103a6da993 100644 --- a/dom/smil/SMILBoolType.h +++ b/dom/smil/SMILBoolType.h @@ -8,7 +8,7 @@ #define MOZILLA_SMILBOOLTYPE_H_ #include "mozilla/Attributes.h" -#include "SMILType.h" +#include "mozilla/SMILType.h" namespace mozilla { diff --git a/dom/smil/SMILCSSProperty.cpp b/dom/smil/SMILCSSProperty.cpp index 6b8f266bad477..971d82d3f4fda 100644 --- a/dom/smil/SMILCSSProperty.cpp +++ b/dom/smil/SMILCSSProperty.cpp @@ -11,9 +11,9 @@ #include "mozilla/dom/Element.h" #include "mozilla/Move.h" #include "mozilla/ServoBindings.h" +#include "mozilla/SMILCSSValueType.h" #include "mozilla/StyleAnimationValue.h" #include "nsDOMCSSAttrDeclaration.h" -#include "SMILCSSValueType.h" #include "nsSMILValue.h" #include "nsCSSProps.h" diff --git a/dom/smil/SMILCSSValueType.h b/dom/smil/SMILCSSValueType.h index c55c8631fa643..a1efe2aa65c74 100644 --- a/dom/smil/SMILCSSValueType.h +++ b/dom/smil/SMILCSSValueType.h @@ -9,10 +9,10 @@ #ifndef NS_SMILCSSVALUETYPE_H_ #define NS_SMILCSSVALUETYPE_H_ -#include "SMILType.h" +#include "mozilla/Attributes.h" +#include "mozilla/SMILType.h" #include "nsCSSPropertyID.h" #include "nsStringFwd.h" -#include "mozilla/Attributes.h" namespace mozilla { struct AnimationValue; diff --git a/dom/smil/SMILEnumType.h b/dom/smil/SMILEnumType.h index f053902dcbeb9..ce14b98cd8dc6 100644 --- a/dom/smil/SMILEnumType.h +++ b/dom/smil/SMILEnumType.h @@ -8,7 +8,7 @@ #define MOZILLA_SMILENUMTYPE_H_ #include "mozilla/Attributes.h" -#include "SMILType.h" +#include "mozilla/SMILType.h" namespace mozilla { diff --git a/dom/smil/SMILFloatType.h b/dom/smil/SMILFloatType.h index cc4ecb2202468..a6dc3ec90c998 100644 --- a/dom/smil/SMILFloatType.h +++ b/dom/smil/SMILFloatType.h @@ -8,7 +8,7 @@ #define NS_SMILFLOATTYPE_H_ #include "mozilla/Attributes.h" -#include "SMILType.h" +#include "mozilla/SMILType.h" namespace mozilla { diff --git a/dom/smil/SMILIntegerType.h b/dom/smil/SMILIntegerType.h index c249d171f56ec..79fe640928620 100644 --- a/dom/smil/SMILIntegerType.h +++ b/dom/smil/SMILIntegerType.h @@ -8,7 +8,7 @@ #define MOZILLA_SMILINTEGERTYPE_H_ #include "mozilla/Attributes.h" -#include "SMILType.h" +#include "mozilla/SMILType.h" namespace mozilla { diff --git a/dom/smil/SMILNullType.h b/dom/smil/SMILNullType.h index 6dbdb128ad5b8..61156dba4f90b 100644 --- a/dom/smil/SMILNullType.h +++ b/dom/smil/SMILNullType.h @@ -8,7 +8,7 @@ #define NS_SMILNULLTYPE_H_ #include "mozilla/Attributes.h" -#include "SMILType.h" +#include "mozilla/SMILType.h" namespace mozilla { diff --git a/dom/smil/SMILStringType.h b/dom/smil/SMILStringType.h index 951675d4c20e3..9e6b25415751b 100644 --- a/dom/smil/SMILStringType.h +++ b/dom/smil/SMILStringType.h @@ -8,7 +8,7 @@ #define MOZILLA_SMILSTRINGTYPE_H_ #include "mozilla/Attributes.h" -#include "SMILType.h" +#include "mozilla/SMILType.h" namespace mozilla { diff --git a/dom/smil/moz.build b/dom/smil/moz.build index 2b18b51f04b2c..d2ad95474b3ef 100644 --- a/dom/smil/moz.build +++ b/dom/smil/moz.build @@ -19,22 +19,22 @@ EXPORTS += [ 'nsSMILTimeValueSpecParams.h', 'nsSMILTypes.h', 'nsSMILValue.h', - 'SMILCSSValueType.h', - 'SMILNullType.h', - 'SMILType.h', ] EXPORTS.mozilla += [ 'SMILAnimationController.h', 'SMILAnimationFunction.h', 'SMILCompositorTable.h', + 'SMILCSSValueType.h', 'SMILKeySpline.h', 'SMILMilestone.h', + 'SMILNullType.h', 'SMILParserUtils.h', 'SMILSetAnimationFunction.h', 'SMILTargetIdentifier.h', 'SMILTimeContainer.h', 'SMILTimedElement.h', + 'SMILType.h', ] EXPORTS.mozilla.dom += [ diff --git a/dom/smil/nsSMILValue.h b/dom/smil/nsSMILValue.h index 098c1e9e0c2b8..a0405adef942c 100644 --- a/dom/smil/nsSMILValue.h +++ b/dom/smil/nsSMILValue.h @@ -7,8 +7,8 @@ #ifndef NS_SMILVALUE_H_ #define NS_SMILVALUE_H_ -#include "SMILType.h" -#include "SMILNullType.h" +#include "mozilla/SMILNullType.h" +#include "mozilla/SMILType.h" /** * Although objects of this type are generally only created on the stack and diff --git a/dom/svg/SVGIntegerPairSMILType.h b/dom/svg/SVGIntegerPairSMILType.h index c8757de660fd6..d540bd6064795 100644 --- a/dom/svg/SVGIntegerPairSMILType.h +++ b/dom/svg/SVGIntegerPairSMILType.h @@ -8,7 +8,7 @@ #define MOZILLA_SVGINTEGERPAIRSMILTYPE_H_ #include "mozilla/Attributes.h" -#include "SMILType.h" +#include "mozilla/SMILType.h" class nsSMILValue; diff --git a/dom/svg/SVGLengthListSMILType.h b/dom/svg/SVGLengthListSMILType.h index aca9c49d6c29b..e24d0a7184f99 100644 --- a/dom/svg/SVGLengthListSMILType.h +++ b/dom/svg/SVGLengthListSMILType.h @@ -8,7 +8,7 @@ #define MOZILLA_SVGLENGTHLISTSMILTYPE_H_ #include "mozilla/Attributes.h" -#include "SMILType.h" +#include "mozilla/SMILType.h" class nsSMILValue; diff --git a/dom/svg/SVGMotionSMILType.h b/dom/svg/SVGMotionSMILType.h index 7d21c971868b7..f16b228984a36 100644 --- a/dom/svg/SVGMotionSMILType.h +++ b/dom/svg/SVGMotionSMILType.h @@ -11,7 +11,7 @@ #include "mozilla/gfx/2D.h" #include "mozilla/Attributes.h" -#include "SMILType.h" +#include "mozilla/SMILType.h" class nsSMILValue; diff --git a/dom/svg/SVGNumberListSMILType.h b/dom/svg/SVGNumberListSMILType.h index 04857e6b3fc66..19346d72f5b36 100644 --- a/dom/svg/SVGNumberListSMILType.h +++ b/dom/svg/SVGNumberListSMILType.h @@ -8,7 +8,7 @@ #define MOZILLA_SVGNUMBERLISTSMILTYPE_H_ #include "mozilla/Attributes.h" -#include "SMILType.h" +#include "mozilla/SMILType.h" class nsSMILValue; diff --git a/dom/svg/SVGNumberPairSMILType.h b/dom/svg/SVGNumberPairSMILType.h index 3733c9b927e37..0cf93f2e3c689 100644 --- a/dom/svg/SVGNumberPairSMILType.h +++ b/dom/svg/SVGNumberPairSMILType.h @@ -8,7 +8,7 @@ #define MOZILLA_SVGNUMBERPAIRSMILTYPE_H_ #include "mozilla/Attributes.h" -#include "SMILType.h" +#include "mozilla/SMILType.h" class nsSMILValue; diff --git a/dom/svg/SVGOrientSMILType.h b/dom/svg/SVGOrientSMILType.h index 9e6b73cbb5cdc..a7c75f685601b 100644 --- a/dom/svg/SVGOrientSMILType.h +++ b/dom/svg/SVGOrientSMILType.h @@ -8,7 +8,7 @@ #define MOZILLA_SVGORIENTSMILTYPE_H_ #include "mozilla/Attributes.h" -#include "SMILType.h" +#include "mozilla/SMILType.h" class nsSMILValue; diff --git a/dom/svg/SVGPathSegListSMILType.h b/dom/svg/SVGPathSegListSMILType.h index 9458ded8554e9..816550250f652 100644 --- a/dom/svg/SVGPathSegListSMILType.h +++ b/dom/svg/SVGPathSegListSMILType.h @@ -8,7 +8,7 @@ #define MOZILLA_SVGPATHSEGLISTSMILTYPE_H_ #include "mozilla/Attributes.h" -#include "SMILType.h" +#include "mozilla/SMILType.h" class nsSMILValue; diff --git a/dom/svg/SVGPointListSMILType.h b/dom/svg/SVGPointListSMILType.h index 8a50912b2493d..42042f26178f1 100644 --- a/dom/svg/SVGPointListSMILType.h +++ b/dom/svg/SVGPointListSMILType.h @@ -8,7 +8,7 @@ #define MOZILLA_SVGPOINTLISTSMILTYPE_H_ #include "mozilla/Attributes.h" -#include "SMILType.h" +#include "mozilla/SMILType.h" class nsSMILValue; diff --git a/dom/svg/SVGTransformListSMILType.h b/dom/svg/SVGTransformListSMILType.h index 397ffb7a92c8b..1d989bbccb337 100644 --- a/dom/svg/SVGTransformListSMILType.h +++ b/dom/svg/SVGTransformListSMILType.h @@ -8,7 +8,7 @@ #define SVGTRANSFORMLISTSMILTYPE_H_ #include "mozilla/Attributes.h" -#include "SMILType.h" +#include "mozilla/SMILType.h" #include "nsTArray.h" class nsSMILValue; diff --git a/dom/svg/SVGViewBoxSMILType.h b/dom/svg/SVGViewBoxSMILType.h index ad651be339dee..de627f4504dea 100644 --- a/dom/svg/SVGViewBoxSMILType.h +++ b/dom/svg/SVGViewBoxSMILType.h @@ -8,7 +8,7 @@ #define MOZILLA_SVGVIEWBOXSMILTYPE_H_ #include "mozilla/Attributes.h" -#include "SMILType.h" +#include "mozilla/SMILType.h" class nsSMILValue; diff --git a/editor/libeditor/EditorEventListener.cpp b/editor/libeditor/EditorEventListener.cpp index 69dbfbf46334c..801c07cdc3772 100644 --- a/editor/libeditor/EditorEventListener.cpp +++ b/editor/libeditor/EditorEventListener.cpp @@ -169,15 +169,12 @@ nsresult EditorEventListener::InstallToEditor() { TrustedEventsAtCapture()); elmP->AddEventListenerByType(this, NS_LITERAL_STRING("click"), TrustedEventsAtCapture()); - // Focus event doesn't bubble so adding the listener to capturing phase. - // XXX Should we listen focus/blur events of system group too? Or should - // editor notified focus/blur of the element from nsFocusManager - // directly? Because if the event propagation is stopped by JS, - // editor cannot initialize selection as expected. + // Focus event doesn't bubble so adding the listener to capturing phase as + // system event group. elmP->AddEventListenerByType(this, NS_LITERAL_STRING("blur"), - TrustedEventsAtCapture()); + TrustedEventsAtSystemGroupCapture()); elmP->AddEventListenerByType(this, NS_LITERAL_STRING("focus"), - TrustedEventsAtCapture()); + TrustedEventsAtSystemGroupCapture()); elmP->AddEventListenerByType(this, NS_LITERAL_STRING("text"), TrustedEventsAtSystemGroupBubble()); elmP->AddEventListenerByType(this, NS_LITERAL_STRING("compositionstart"), @@ -243,9 +240,9 @@ void EditorEventListener::UninstallFromEditor() { elmP->RemoveEventListenerByType(this, NS_LITERAL_STRING("click"), TrustedEventsAtCapture()); elmP->RemoveEventListenerByType(this, NS_LITERAL_STRING("blur"), - TrustedEventsAtCapture()); + TrustedEventsAtSystemGroupCapture()); elmP->RemoveEventListenerByType(this, NS_LITERAL_STRING("focus"), - TrustedEventsAtCapture()); + TrustedEventsAtSystemGroupCapture()); elmP->RemoveEventListenerByType(this, NS_LITERAL_STRING("text"), TrustedEventsAtSystemGroupBubble()); elmP->RemoveEventListenerByType(this, NS_LITERAL_STRING("compositionstart"), diff --git a/js/src/gc/GC.cpp b/js/src/gc/GC.cpp index 439c52c3c6806..d39637d8a5ca0 100644 --- a/js/src/gc/GC.cpp +++ b/js/src/gc/GC.cpp @@ -670,8 +670,7 @@ static inline bool FinalizeTypedArenas(FreeOp* fop, Arena** src, } /* - * Finalize the list. On return, |al|'s cursor points to the first non-empty - * arena in the list (which may be null if all arenas are full). + * Finalize the list of areans. */ static bool FinalizeArenas(FreeOp* fop, Arena** src, SortedArenaList& dest, AllocKind thingKind, SliceBudget& budget, diff --git a/layout/base/tests/bug1097242-1.html b/layout/base/tests/bug1097242-1.html index dc5d55eb1bac8..e94a8c9917c61 100644 --- a/layout/base/tests/bug1097242-1.html +++ b/layout/base/tests/bug1097242-1.html @@ -1,18 +1,22 @@ + -
+