Kyle Huey
b972c94d0f
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Boris Zbarsky
025b67248c
Bug 1257849 part 2. Pass in the right set of supported tokens to the sandbox tokenlist implementation. r=bkelly
2016-05-04 23:41:24 -04:00
Carsten "Tomcat" Book
aadd508ffe
Backed out changeset 85ce8cb0639a (bug 1268313)
2016-04-29 14:21:16 +02:00
Kyle Huey
e62a0823c9
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Masayuki Nakano
252086d000
Bug 1259656 part.7 Rename WidgetEvent::originalTarget to WidgetEvent::mOriginalTarget r=smaug
...
MozReview-Commit-ID: G1WVCWkS0Lt
2016-04-19 01:33:23 +09:00
Masayuki Nakano
99eab530eb
Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
...
MozReview-Commit-ID: ESWM5ZyBpSR
2016-04-18 23:09:02 +09:00
Masayuki Nakano
35775b20e1
Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
...
MozReview-Commit-ID: 167PQWJDEHW
2016-04-14 17:03:14 +09:00
Oriol
8bf632c012
Bug 1258205 - Make setAttribute throw InvalidCharacterError if the attribute already exists. r=baku
2016-04-15 09:01:00 -04:00
Carsten "Tomcat" Book
2c243ddefc
Backed out changeset cd9ea65ce9b9 (bug 1258205) for issues in wpt-2 tests
2016-04-15 08:09:42 +02:00
Oriol
e9034ea551
Bug 1258205 - "setAttribute doesn't throw InvalidCharacterError if the attribute already exists". r=amarchesini
2016-04-13 09:10:00 +02:00
Jonathan Watt
570328a826
Bug 1263787 - Kill off the deprecated nsINode::GetCrossShadowCurrentDoc. r=baku
2016-03-31 13:20:14 +01:00
Jocelyn Liu
3ac1885ee7
Bug 811259 - Patch1: Implement Element.insertAdjacentText and Element.insertAdjacentElement. r=smaug
...
MozReview-Commit-ID: g54gUOBop7
2016-03-28 16:42:57 +08:00
Nicholas Nethercote
7f7c26ed62
Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
...
do_GetAtom() is currently just a synonym for NS_NewAtom().
2016-03-29 10:09:43 +11:00
Masayuki Nakano
4d73a7381d
Bug 1259658 Rename WidgetInputEvent::modifiers to WidgetInputEvent::mModifiers r=smaug
...
MozReview-Commit-ID: 7avEiqKfaHA
2016-03-31 17:03:00 +09:00
Takeshi Kurosawa
e83040a7c8
Bug 1259674 Part 2 rename InternalFocusEvent::isRefocus to InternalFocusEvent::mIsRefocus r=masayuki
...
MozReview-Commit-ID: 5SjH8PERQVW
2016-03-27 14:46:07 +09:00
Tetsuharu OHZEKI
2f2576b0a0
Bug 1259659 - rename from InternalUIEvent.detail to InternalUIEvent.mDetail. r=masayuki
...
MozReview-Commit-ID: FjqZ5D2NCFb
2016-03-26 16:22:27 +09:00
Masayuki Nakano
84e308d663
Bug 1256589 part.6 Move the implementation of IsTrusted() from dom::Event to WidgetEvent r=smaug
...
MozReview-Commit-ID: 1SgMbTL8csl
2016-03-17 16:01:30 +09:00
Daisuke Akatsuka
050b3a8d65
Bug 1254761 - Part 1: Implement getAnimations({ subtree: true }). r=smaug
2016-03-22 09:33:02 +09:00
Brian Birtles
3c5b50c3ee
Bug 1246320 part 5 - Simplify KeyframeEffect(ReadOnly) Constructor overloads further; r=hiro
...
As well as generally simplifying the different KeyframeEffect(ReadOnly)
constructor methods, this patch also means we will use the realm document for
parsing timing functions in all cases. Although this currently doesn't have
any impact (the current set of timing functions are expected to be parsed
identically regardless of the document used) it may become significant if, in
future, it becomes possible to register hooks with certain documents for
parsing CSS properties as part of the houdini efforts.
MozReview-Commit-ID: 4gAZi1G1uAD
2016-03-12 22:14:10 +09:00
Brian Birtles
7491aaadc9
Bug 1246320 part 4 - Pass a document to TimingParams; r=hiro
...
MozReview-Commit-ID: 9Sh8eWHdDD6
2016-03-11 17:27:34 +09:00
Boris Chiou
212524bc22
Bug 1254418 - Part 1: Support generated-content element for Element.getAnimations. r=birtles
2016-03-10 21:50:00 -05:00
Daisuke Akatsuka
38c252ffd1
Bug 1237173 - Part3: Throw TypeError if duration is NaN, negative value or not 'auto' string. r=birtles, r=smaug
2016-03-09 14:01:45 +09:00
Boris Chiou
18983f91ad
Bug 1241784 - Part 1: Add a helper function for Element.animate(). r=birtles
...
Therefore, CSSPseudoElement.animate() can also use it.
2016-03-04 00:54:00 +01:00
Boris Chiou
6d44338773
Bug 1234403 - Part 1: Implement CSSPseudoElement.getAnimations. r=birtles
2016-02-18 02:21:00 +01:00
Olli Pettay
67cd497853
Bug 1249428 - Unlink binding properly from element , r=mccr8
2016-02-19 21:13:42 +02:00
Boris Chiou
16edfa82cd
Bug 1244049 - Part 1: Define scoped enum for CSSPseudoElement type. r=dbaron
2016-02-16 23:07:00 +01:00
Xidorn Quan
e70941ea20
Bug 743198 part 11 - Update locales string to the new spelling as well as unprefixed API. r=smaug
...
The main motivation of this patch is to fix the prefixed function name
used in one string. But updated string should have different a different
identifier, otherwise it might be ignored. Since we should eventually
prefer using word "fullscreen" over "full-screen", it is easier to just
change all of them together.
2016-02-17 08:47:11 +08:00
Xidorn Quan
fb34a8467e
Bug 743198 part 4 - Rename LogFullScreenDenied to nsIDocument::DispatchFullscreenError, and reuse it in Element::RequestFullscreen. r=smaug
2016-02-17 08:47:11 +08:00
Xidorn Quan
8cad72a020
Bug 743198 part 2 - Add unprefixed Fullscreen API to Document and Element. r=smaug
2016-02-17 08:47:11 +08:00
Ryo Motozawa
1518a96de2
Bug 1244586 part 3 - Remove unnecessary spaces in dom/base/Element.cpp. r=smaug
2016-02-15 09:34:47 +09:00
Ryo Motozawa
c134e844d7
Bug 1244586 part 1 - Add KeyframeEffect constructor in dom/webidl/KeyframeEffect.webidl. r=smaug,birtles
2016-02-15 09:34:47 +09:00
Deepthi Venkitaramanan
b00793a3d8
Bug 1244328 - Merge the functionality of DOMSettableTokenList into DOMTokenList and make everything that used to refer to DOMSettableTokenList refer to DOMTokenList instead. r=bzbarsky
2016-02-11 17:50:42 -05:00
Boris Chiou
e65af0f582
Bug 1174575 - Part 2: Replace Element in KeyframeEffectReadOnly WebIDL. r=birtles, r=smaug
...
Use (Element or CSSPseudoElement)? as the first arguement of constructor and
the type of target.
2016-02-05 19:01:00 +01:00
Hiroyuki Ikezoe
74f6997c53
Bug 1216842 - Part 5: Store ComputedTimingFunction in TimingParams. r=cam
...
The reason why we use Maybe<> to store the function is that CSS
animations/transitions do not have the function property.
2016-01-29 14:45:00 +01:00
Kyle Huey
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Brian Birtles
5cf254b510
Bug 1096773 part 3 - Implement Animatable.animate(); r=bz
2016-01-29 12:37:52 +11:00
Chris Peterson
c74fd557c5
Bug 1240265 - Annotate intentional switch fallthroughs in dom/. r=mrbkap
...
dom/base/Element.cpp:2920:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/Element.cpp:2935:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsDocument.cpp:6595:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsDocument.cpp:7631:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsDocument.cpp:7922:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsGlobalWindow.cpp:7573:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsXMLContentSerializer.cpp:1393:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/cache/AutoUtils.cpp:487:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/html/HTMLInputElement.cpp:3808:15 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/html/HTMLInputElement.cpp:3836:15 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/storage/DOMStorageDBThread.cpp:224:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/workers/ScriptLoader.cpp:1994:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-11-25 23:26:32 -08:00
Brian Birtles
c4deb7435f
Bug 1226091 - Use MayHaveAnimations in Element::UnbindFromTree; r=smaug
2016-01-19 08:04:25 +09:00
Hiroyuki Ikezoe
190c095a55
Bug 1212720 - Part 1: Implement Document.getAnimations(). r=heycam, r=smaug
2016-01-06 14:21:00 -05:00
Boris Zbarsky
10f18c08cf
Bug 1227458. Make setAttributeNode be an alias for setAttributeNodeNS and setNamedItem on the attribute map be an alias for setNamedItemNS. r=smaug
2015-12-04 09:51:04 -05:00
Olli Pettay
8e0678884d
Bug 1228634 - Implement Element.getAttributeNames, r=peterv
2015-12-02 23:04:53 +02:00
Franziskus Kiefer
aacb932dec
Bug 1187357 - rename referrer attribute to referrerpolicy. r=hsivonen
2015-11-30 16:13:03 -08:00
Brian Birtles
e6153f3a39
Bug 1225699 part 5 - Use EffectSet in Element::GetAnimations; r=heycam
2015-11-26 16:53:53 +09:00
Olli Pettay
667a66a404
Bug 1223445 - KeyframeEffectReadOnly objects end up keeping lots of other objects alive too long, r=birtles
2015-11-16 19:44:55 +02:00
L. David Baron
e4cee74a1d
Bug 1221436 patch 2 - For style attributes, only store a css::Declaration instead of a css::StyleRule. r=heycam
...
Now that Declaration implements nsIStyleRule, we don't need the memory
overhead of storing a StyleRule object for style attributes.
We also need to change this prior to patch 5, because the changes in
patch 5 that will allow rules to change (but declarations not) would
otherwise break due to style attribute object merging done by
nsAttrValue::ParseStyleAttribute.
2015-11-09 15:57:16 +08:00
Xidorn Quan
20ccabe79c
Bug 1216087 - Unlock pointer whenever the element is unbound from the tree. r=smaug
2015-10-20 10:02:03 +11:00
Nathan Froyd
4e6d8f6705
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Brian Grinstead
7c5f758db3
Bug 1034110 - Provide a way to observe mutations for ::before/::after pseudo elements;r=smaug
...
Adds a new chrome-only MutationObserverInit option called nativeAnonymousChildList
that will cause a mutation to fire when a native anonymous root is bound or unbound
2015-09-24 08:23:32 -07:00
Jeff Walden
9399e8c7de
Bug 1179003 - Convert the infallible objectClassIs proxy hook into a fallible getBuiltinClass hook that indicates class type via outparam. r=efaust, r=bz on DOM bits, r=billm on IPC bits
2015-08-28 21:55:40 -07:00
Boris Zbarsky
424b9bde24
Bug 1176313. Reland the changes to make Attr handling follow the spec again. This is a relanding of bug 1075702, effectively. r=smaug
2015-09-22 13:13:26 -04:00