Manish Goregaokar
b937485251
Bug 1341086 - Part 3: stylo: Add thread-safe version of nsStyleUtil::IsSignificantChild(); r=emilio
...
MozReview-Commit-ID: 3l8cNwDHKFl
2017-03-16 14:10:22 -07:00
Edgar Chen
c0bad72da1
Bug 1347634 - GetCustomElementData and SetCustomElementData don't need to be virtual; r=smaug
2017-03-16 12:21:12 +08:00
Olli Pettay
3898f7d882
Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
2017-01-03 21:47:55 +02: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
093945ebcf
Bug 1318096 part 9. Remove XPCOM parentnode/childnode APIs. r=froydnj
2016-11-17 13:49:27 -05: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
Nicholas Nethercote
887efe04d5
Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
...
The new name makes the sense of the condition much clearer. E.g. compare:
NS_WARN_IF_FALSE(!rv.Failed());
with:
NS_WARNING_ASSERTION(!rv.Failed());
The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.
2016-09-01 15:01:16 +10:00
Bobby Holley
fbf5ab3289
Bug 1292279 - Explicitly handle dirtiness in BindToTree. r=heycam
...
Doing this in SetInDoc is kind of gross, and it leads to nice symmetry with
UnbindFromTree.
2016-08-25 21:34:27 -07:00
Bobby Holley
5e08b0a816
Bug 1296509 - Devirtualize and inline GetShadowRoot. r=smaug
2016-08-19 14:43:51 -07:00
Igor
9c81c3c1ee
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Igor
972b8460e2
Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj
2016-08-14 23:44:00 -07:00
Bobby Holley
0c6dea9298
Bug 1289624 - Clear servo data when nodes are removed from the tree. r=heycam
2016-07-27 13:34:57 -07:00
Emilio Cobos Álvarez
4370c8cc29
Bug 1288590: Rename nsAttrInfo to mozilla::dom::BorrowedAttrInfo. r=bholley
...
Unfortunately couldn't add all the debug checks that I'd want, since we can't
assert that is not safe to run script in quite a few places :(
MozReview-Commit-ID: 8m3Wm1WntZs
2016-07-27 11:18:33 -07:00
Emilio Cobos Álvarez
11887b0155
Bug 1288590: Add a function to get attribute info from an Element by index. r=bholley
...
MozReview-Commit-ID: AjgzhP3gwgV
2016-07-27 11:18:33 -07:00
Emilio Cobos Álvarez
948a479bad
Bug 1285474: stylo: Add dirtiness-tracking hooks for Servo and convenient methods. r=bholley
...
Also, guard with asserts the access to the new shared flags.
MozReview-Commit-ID: H9UFFHRPmiu
2016-07-12 00:33:57 -07:00
Andreas Farre
fe31d8411c
Bug 1267135 - Include nsTextNode.h in nsGenericDOMDataNode.cpp. r=ehsan
...
MozReview-Commit-ID: Hclg8MCEUhv
2016-04-25 09:15:55 +02:00
Jonathan Watt
d714197cfc
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01:00
Peter Van der Beken
52321d522c
Bug 1251361 - "Assertion failure: cache->PreservingWrapper()" with <marquee>, navigation, adoptNode. r=smaug.
...
Remove explicit calls to ReleaseWrapper and rely on cycle collection.
2016-03-04 17:54:10 +01:00
Wes Kocher
fbe760c236
Backed out changeset 54ee322b50cf (bug 1251361) for apparently causing a bunch of OSX m(bc) leaks
...
MozReview-Commit-ID: 8v0LiT3sA15
2016-04-04 12:32:42 -07:00
Peter Van der Beken
1972e35fe2
Bug 1251361 - "Assertion failure: cache->PreservingWrapper()" with <marquee>, navigation, adoptNode. r=smaug.
...
Remove explicit calls to ReleaseWrapper and rely on cycle collection.
2016-03-04 17:54:10 +01: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
Ehsan Akhgari
5c66492286
Bug 1257208 - Use the nsTextNode concrete type in several places in DirectionalityUtils.cpp instead of nsINode and nsIContent; r=peterv
2016-03-23 14:24:56 -04:00
Sebastian Hengst
24467d4d4c
Backed out changeset 01eff93538c8 (bug 1257208) for failing Reftest dir_auto-set-contained-dir-L.html and others. r=backout
2016-03-23 18:35:20 +01:00
Ehsan Akhgari
6b3fd8225c
Bug 1257208 - Use the nsTextNode concrete type in several places in DirectionalityUtils.cpp instead of nsINode and nsIContent; r=peterv
2016-03-23 11:48:23 -04:00
sakshi
3771c6cf7d
Bug 1197311 - Remove PR_snprintf calls in dom/ r=froydnj
2016-02-17 14:23:39 -05:00
Birunthan Mohanathas
6129a0880a
Bug 1217307 - Remove some unnecessary null checks in dom/base/. r=njn
2015-11-19 09:13:49 +02: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
Nicholas Nethercote
2087a666fc
Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8.
2015-09-15 20:49:53 -07:00
Masayuki Nakano
173848a4dd
Bug 895274 part.98 Rename NS_MUTATION_CHARACTERDATAMODIFIED to eLegacyCharacterDataModified r=smaug
2015-09-07 23:55:50 +09:00
Aryeh Gregor
c1bd5a2ced
Bug 1179451 - Part 1: Rewrite some ternary operators as if/else. r=froydnj
2015-08-13 15:22:48 +03:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Boris Zbarsky
789a3bf96e
Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
...
This patch was generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
William Chen
7a73140dbd
Bug 1087460 - Part 1: Make GetComposedDoc() work in UnbindFromTree. r=smaug
2015-02-09 10:01:23 -08:00
Nicholas Nethercote
0247de46d8
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Andrew McCreight
e048a7df33
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
40ab0270d5
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Mike Hommey
715db83e04
Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
2015-02-02 09:56:13 +09:00
Birunthan Mohanathas
e9068bbc4f
Bug 946065 - Part 12: Move content/base/ to dom/ and flatten subdirectories. r=peterv
2014-10-25 20:25:22 +03:00