Xidorn Quan
c1cd490029
Bug 1340061 part 2 - Remove explicit base URI facility. r=bz
...
MozReview-Commit-ID: JaUzecbdT2F
2017-02-16 18:35:52 +11:00
Tom Tromey
48da5b7de4
Bug 1060419 - remove unneeded includes of prprf.h, r=froydnj
...
MozReview-Commit-ID: JifhpA3oOeH
2016-12-09 10:00:01 -10:00
Bobby Holley
a3a4332575
Bug 1331322 - Stop using a node bit for HasExplicitBaseURI. r=bholley
...
This is only called during URI resolution, and the proptable bit should make
this relatively fast.
2017-01-20 18:17:13 -08:00
Phil Ringnalda
a6b8226a11
Backed out 4 changesets (bug 1331322) for Android reftest failures in 1169331-1.html and forced-bg-color-outside-visible-region.html
...
Backed out changeset 96c6b5a11284 (bug 1331322)
Backed out changeset 15877d32de7d (bug 1331322)
Backed out changeset 841d608704d7 (bug 1331322)
Backed out changeset 02096c5eb029 (bug 1331322)
2017-02-15 21:24:00 -08:00
Bobby Holley
82d82ab9fb
Bug 1331322 - Stop using a node bit for HasExplicitBaseURI. r=bholley
...
This is only called during URI resolution, and the proptable bit should make
this relatively fast.
2017-01-20 18:17:13 -08:00
Boris Zbarsky
ddd36677e5
Bug 1335368 part 22. Get rid of IsCallerChrome in geometry utils. r=dholbert
2017-02-01 15:43:59 -05:00
Boris Zbarsky
d066dd2644
Bug 1335368 part 5. Stop using IsCallerChrome in nsINode. r=bholley
2017-02-01 15:43:36 -05:00
Boris Zbarsky
33b60b6ff4
Bug 1332322 part 2. Rename nsWrapperCache::IsBlack to nsWrapperCache::HasKnownLiveWrapper. r=mccr8
2017-01-24 20:38:58 -05:00
Boris Zbarsky
24f13892a5
Bug 1330536 part 7. Change nsINode::GetTextContent to take an OOMReporter, not an ErrorResult. r=smaug
2017-01-17 23:52:29 -05:00
John Dai
fd22813d0d
Bug 1269155 - Revise Node.rootNode to Node.getRootNode. r=smaug
2017-01-16 01:46:00 +08:00
Masayuki Nakano
e8e68353a3
Bug 564411 Move all methods/attributes of nsIEditorIMESupport to nsIEditor r=smaug
...
Doing QI from nsIEditor to nsIEditorIMESupport doesn't make sense because editor should always support all methods and attributes of nsIEditorIMESupport (it does NOT mean that all nsIEditor implementation need to support IME).
This patch moves all of them to nsIEditor for avoiding redundant QIs.
MozReview-Commit-ID: DzIKuGHG4iy
2016-12-20 21:47:31 +09:00
Bobby Holley
3775205e64
Bug 1317016 - Basic infrastructure for RestyleHint-driven traversal. r=emilio
...
MozReview-Commit-ID: 7wH5XcILVmX
2016-11-25 10:06:39 -08:00
Boris Zbarsky
3ffbb28d02
Bug 1318476. Remove various unused nsIDOMNode stuff. r=froydnj
2016-11-18 16:38:29 -05:00
Cameron McCormack
15e6c53c13
Bug 1318238 - Clear all ServoNodeData during style set shutdown. r=bholley
...
MozReview-Commit-ID: 9MvBTAWeawC
2016-11-18 16:54:10 +08:00
Boris Zbarsky
dd01d89c2f
Bug 1318096 part 1. Remove unused XPCOM querySelector(All) bits. r=froydnj
2016-11-17 13:49:26 -05:00
Stone Shih
b921261b1b
Bug 1305458 Part1: Rename nsIDOMEventTarget::PreHandleEvent to nsIDOMEventTarget::GetEventTargetParent. r=smaug
...
MozReview-Commit-ID: FM3vDUyLOCb
2016-10-21 10:11:07 +08:00
Olli Pettay
c6f390d8b0
Bug 1308922, ensure expected DOM tree operations when calling prepend, r=ehsan
2016-10-13 00:34:25 +03:00
Manish Goregaokar
3c4e94b990
Bug 1308234 - Fix signatures of Servo_ functions to match servo glue; r=emilio
...
MozReview-Commit-ID: K0k93JoFVKb
2016-10-06 20:58:01 +05:30
Olli Pettay
f5c39ca02f
Bug 1301777 - Use nsCOMPtr for stack variables. r=mccr8
2016-09-27 15:36:41 -04:00
Bobby Holley
ace7380088
Bug 1304913 - Have Servo manage node data directly without FFI calls. r=Manishearth
...
MozReview-Commit-ID: H8f8VP18TbM
2016-09-23 15:58:48 -07:00
Andrea Marchesini
644851fc2b
Bug 1301254 - nsINode::GetBaseURI() should be fallible, r=smaug
2016-09-20 14:02:33 +02:00
Nicholas Nethercote
8eaacb0d8b
Bug 1297300 - Add missing checks to GetSpec() calls in dom/base/. r=bz.
2016-09-08 14:17:58 +10:00
Brian Grinstead
41cc5b3ef3
Bug 1298230 - Use a more descriptive Syntax Error when querySelector / querySelectorAll fails;r=bz
...
MozReview-Commit-ID: DtIlA8ocMh0
2016-08-31 15:31:59 -07:00
Aryeh Gregor
e4e3663bd7
Bug 984778 - Make hasFeature() and SVG requiredFeatures always return true; r=bz,longsonr
...
hasFeature() always returning true matches the current DOM spec. SVG 2
has removed requiredFeatures. Chrome has had both of these always
return true since 2014, and they seem to have had no problems.
Even requiredFeatures="" (empty string) now returns true, matching
Chrome.
MozReview-Commit-ID: 1LEu3iK4R94
2016-09-01 14:35:11 +03:00
Alexander Surkov
599cc64318
Bug 1296769 - introduce a11y API, r=smaug, yzen
2016-08-23 14:15:15 -04:00
Jan de Mooij
bd0f1c9018
Bug 1292892 part 1 - Stop using JSRuntime outside SpiderMonkey. r=bz,terrence,fitzgen,kanru
2016-08-11 14:39:22 +02:00
Bobby Holley
b360d83801
Bug 1289624 - Switch to UniquePtr for managing ServoNodeData. r=heycam
2016-07-27 13:34:55 -07:00
Emilio Cobos Álvarez
6fdfeb30ce
Bug 1285474: stylo: Add nsINode method for knowing if the current document is using Servo's style back-end. r=bholley
...
MozReview-Commit-ID: 3sRE7BZj1tu
2016-07-12 00:33:57 -07:00
Stone Shih
8300bd626d
Bug 1261673: Handle wheel event when mouse cursor is hovered on a focused number input as increasing/decreasing it's value. r=smaug
2016-05-06 18:39:10 +08:00
Jocelyn Liu
9ea64b5760
Bug 911477 - Implement DOM4 methods: prepend(), append(), before(), after() and replaceWith(). r=bz
...
MozReview-Commit-ID: A6SklLqXZtv
2016-04-12 10:48:14 +08:00
Andrea Marchesini
3dbd611f48
Bug 1266194 - Implement boolean or EventListenerOptions as 3rd param to addEventListener, r=smaug
2016-04-26 16:23:17 +08:00
Jonathan Watt
570328a826
Bug 1263787 - Kill off the deprecated nsINode::GetCrossShadowCurrentDoc. r=baku
2016-03-31 13:20:14 +01:00
Jonathan Watt
d714197cfc
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01:00
Olli Pettay
47764f1595
Bug 684208 - make dispatchEvent()'s return value to follow the spec, r=masayuki
2016-04-07 15:49:12 +03: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
John Dai
0791be58f8
Bug 1256299 - Remove redundent trailing spaces. r=bz
2016-03-25 18:23:53 +08:00
John Dai
a54ef80c27
Bug 1256299 - Implement Node.isSameNode. r=bz
2016-03-25 18:23:50 +08:00
Bobby Holley
d3e2403dcb
Bug 1250767 - Add support for hanging servo node data off Gecko nodes. r=heycam,r=bz
2016-02-23 17:28:50 -08:00
Sebastian Hengst
014e456d7b
Backed out changeset 59ee7ae2519d (bug 1250767)
2016-02-24 22:50:51 +01:00
Bobby Holley
3dff50cefe
Bug 1250767 - Add support for hanging servo node data off Gecko nodes. r=heycam,r=bz
2016-02-24 13:01:15 -08:00
Birunthan Mohanathas
bfee0fb40c
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d871b9515f
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
245cd6a02f
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Kyle Huey
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Olli Pettay
716fc733d2
Bug 1157469 - null check wrapper in case WrapNode fails, r=bholley
2016-01-11 20:32:12 +02:00
L. David Baron
30317871e3
Bug 978833 patch 11 - Add missing #includes in preparation for nsRuleWalker.h #include change in following patch. r=heycam
...
Patch 12 changes nsRuleWalker.h from including StyleRule.h to including
Declaration.h; this fixes other headers to deal with that change based
on the include-what-you-use principle.
2015-11-05 16:44:09 +08: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
Aryeh Gregor
c09acfe03e
Bug 1212867 - Node.isEqualNode() should ignore internal subsets; r=bz
2015-10-12 20:44:23 +03:00
Aryeh Gregor
a7d58f5a71
Bug 1192855 - Check validity in advance for nsRange::InsertNode; r=hsivonen
2015-10-07 16:07:39 +03:00
Olli Pettay
c52f81f93e
Bug 1205466, make HasApzAwareListeners check faster, r=masayuki
2015-09-17 13:16:20 +03:00