Timothy Guan-tin Chien
dab48182aa
Bug 1431255 - Part V, Set the reflectors of the UA Widget DOM to UA Widget Scope r=bholley
...
The DOM elements within the UA Widget Shadow DOM should have its reflectors in
the UA Widget Scope. This is done by calling nsINode::IsInUAWidget() which
would check its containing shadow and its UA Widget bit.
To prevent JS access of the DOM element before it is in the
UA Widget Shadom DOM tree, various DOM methods are set to inaccessible to
UA Widget script. It would need to use the two special methods in ShadowRoot
instead to insert the DOM directly into the shadow tree.
MozReview-Commit-ID: Jz9iCaVIoij
--HG--
extra : rebase_source : b7b17be68dcde00cfeb207cb39cf16b486f2ab02
2018-06-29 13:39:46 -07:00
Olli Pettay
5a669d2747
Bug 1469521 - Change storage of previous and next children in nsINode, r=bz
...
--HG--
extra : rebase_source : 4cb50889c2cfc788cab7037d26d114e35205e998
2018-08-06 22:29:27 +03:00
Olli Pettay
b9479cb08b
Bug 1480147 - Add [ChromeOnly] Node.flattenedTreeParentNode, r=mrbkap
2018-08-02 14:54:15 +03:00
Jan de Mooij
3bbc9aa20d
Bug 1479363 part 1 - Use JSAutoRealm instead of JSAutoRealmAllowCCW in dom/base. r=bz
2018-08-02 08:48:40 +02:00
Emilio Cobos Álvarez
8f34c12e14
Bug 1479860: Remove unused aCompileEventHandlers argument from BindToTree. r=bz
...
Mostly automatic via sed. Only parts which I touched manually (apart from a
couple ones where I fixed indentation or which had mispelled arguments) are the
callers. I may have removed a couple redundant `virtual` keywords as well when
I started to do it manually, I can revert those if wanted.
Most of them are just removing the argument, but in Element.cpp I also added an
assertion for GetBindingParent when binding the ShadowRoot's kids (the binding
parent is set from the ShadowRoot constructor, and I don't think we bind a
shadow tree during unlink or what not which could cause a behavior difference).
Differential Revision: https://phabricator.services.mozilla.com/D2574
MozReview-Commit-ID: 2oIgatty2HU
2018-08-01 10:42:54 +02:00
Jan de Mooij
80adc67aba
Bug 1478955 part 1 - Rename JSAutoRealm to JSAutoRealmAllowCCW. r=luke
2018-07-28 12:12:26 +02:00
Zibi Braniecki
befb9a51e6
Bug 1475704 - Check for OOM in nsINode::Localize. r=smaug
...
Check for OOM in nsINode::Localize.
Differential Revision: https://phabricator.services.mozilla.com/D2483
--HG--
extra : moz-landing-system : lando
2018-07-27 22:36:14 +00:00
Brian Grinstead
6a6ca1a08c
Bug 1475342 - Move document.getElementsByAttribute[NS] to ParentNode so it'll work for HTML document and elements;r=bz
...
It's currently only accessible on XULDocument and XULElement, but that makes porting existing
JS to run in an HTML document inconvenient. We could alternatively change calling JS, but
this can be easily moved and exposed in chrome contexts.
MozReview-Commit-ID: JitYET20NSE
--HG--
extra : rebase_source : 75d823c688cba8d84dc19705e83284be383962f2
2018-07-26 13:40:13 -07:00
Boris Zbarsky
1914ffc8ec
Bug 1450167. Stop using atom-or-string for event names in the listener manager. r=smaug
...
Now that we support atoms off the the main thread, we can just use atoms.
2018-07-24 18:15:19 -04:00
Emilio Cobos Álvarez
7bb54a7629
Bug 1477544: Add a null-check to handle unlinking properly. r=me
...
MozReview-Commit-ID: 8K9h6IJpF1K
2018-07-22 15:36:13 +02:00
Emilio Cobos Álvarez
68f214df2a
Bug 1450250: Make svg:use use an actual shadow tree. r=heycam
...
Summary:
This fixes a couple fuzz bugs and prevents special-casing <svg:use> even more in
bug 1431255.
Unfortunately not as many hacks went away as I'd have hoped, since we still need
to match document rules, see the linked SVGWG issues.
But blocks_ancestor_combinators goes away, which is nice since it's on a very
hot path.
Test Plan: WPT for style invalidation, covered by existing tests otherwise.
Reviewers: heycam
Tags: #secure-revision
Bug #: 1450250
Differential Revision: https://phabricator.services.mozilla.com/D2154
MozReview-Commit-ID: C4mthjoSNFh
2018-07-20 14:44:51 +02:00
Boris Zbarsky
baa09fe66a
Bug 1465907 part 2. Remove nsIAttribute. r=mccr8
2018-07-12 15:51:52 -07:00
Jan de Mooij
7f77477338
Bug 1472973 part 12 - Use JS::GetNonCCWObjectGlobal in CheckForOutdatedParent. r=bz
2018-07-12 12:14:37 +02:00
Boris Zbarsky
fcb00cb36f
Bug 1471095. Don't do extra work we don't need to in ReparentWrappersInSubtree. r=smaug
2018-06-28 23:36:46 -04:00
Doug Thayer
488eb2eb9c
Bug 1340498 - Fix unified sources build errors r=mrbkap
...
Adding the Places* files into unified sources pushed the
unified sources into a situation that exposed a strangely
large number of errors. This seems to be the minimum set of
changes I could make to resolve all of the issues.
MozReview-Commit-ID: C2H9ce8FmE4
--HG--
extra : rebase_source : 61afc5481dc8ec34caba1886bd74200cf3659fb4
2018-04-13 11:04:47 -07:00
Dorel Luca
d296624690
Backed out 5 changesets (bug 1340498) for build bustage due to conflicts with bug 1470325. a=backout
...
Backed out changeset 28bedb658af4 (bug 1340498)
Backed out changeset f950a2310e26 (bug 1340498)
Backed out changeset 5fcd31c65fe0 (bug 1340498)
Backed out changeset 515bb5e24dd7 (bug 1340498)
Backed out changeset 79a8619bd3e2 (bug 1340498)
2018-06-27 14:05:20 +03:00
Dorel Luca
f51c4fa5d9
Merge mozilla-inbound to mozilla-central. a=merge
2018-06-27 13:26:49 +03:00
Jeff Gilbert
5b753da289
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
...
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Doug Thayer
864c89631c
Bug 1340498 - Fix unified sources build errors r=mrbkap
...
Adding the Places* files into unified sources pushed the
unified sources into a situation that exposed a strangely
large number of errors. This seems to be the minimum set of
changes I could make to resolve all of the issues.
MozReview-Commit-ID: C2H9ce8FmE4
--HG--
extra : rebase_source : 4f8dd2996d820fdb5a07afe544be5e2d6ca6a5c7
2018-04-13 11:04:47 -07:00
Chris Peterson
2afd829d0f
Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.
MozReview-Commit-ID: 5UQVHElSpCr
--HG--
extra : rebase_source : 4c1b2fc32b269342f07639266b64941e2270e9c4
extra : source : 907543f6eae716f23a6de52b1ffb1c82908d158a
2018-06-17 22:43:11 -07:00
Bogdan Tara
d2fb3a8812
Backed out 5 changesets (bug 1340498) for build bustages on nsDOMCSSAttrDeclaration.h CLOSED TREE
...
Backed out changeset 9ebcdb66ceff (bug 1340498)
Backed out changeset 63321093bb70 (bug 1340498)
Backed out changeset f8c799971f81 (bug 1340498)
Backed out changeset 21d8c1fbbbd1 (bug 1340498)
Backed out changeset fa40c179eb0d (bug 1340498)
2018-06-26 21:31:09 +03:00
Doug Thayer
5685ea3b89
Bug 1340498 - Fix unified sources build errors r=mrbkap
...
Adding the Places* files into unified sources pushed the
unified sources into a situation that exposed a strangely
large number of errors. This seems to be the minimum set of
changes I could make to resolve all of the issues.
MozReview-Commit-ID: C2H9ce8FmE4
--HG--
extra : rebase_source : b01f47e439a61492ad999ae30677c48535e8cd4c
2018-04-13 11:04:47 -07:00
catalin.badea392@gmail.com
9c36800bd7
Bug 1469385 - Remove InsertChildAt_Deprecated and RemoveChildAt_Deprecated, r=bz,smaug
2018-06-19 12:21:18 +03:00
Ciure Andrei
6eea08365e
Merge inbound to mozilla-central. a=merge
2018-06-15 12:49:01 +03:00
Boris Zbarsky
dfb24605c3
Bug 1466991 part 2. Reparent nodes when they start being in the XBL scope. r=smaug
2018-06-14 19:17:42 -04:00
Olli Pettay
5dad9cd69b
Bug 1467790 - Inline nsINode::IsEditable, r=masayuki
2018-06-08 15:57:13 -04:00
Mats Palmgren
633c43f009
Bug 1467503 - Make it compile with --disable-accessibility again. r=surkov
2018-06-07 18:43:06 +02:00
Tokio Kajitsuka
e1e329ad54
Bug 1462465 - Cache AccessibleNode in Node. r=surkov,smaug
...
Cache AccessibleNode and make it able to operate the same instance by nsINode::GetAccessibleNode
--HG--
extra : rebase_source : 063eec8658af020f5408260d7d581ee76a04bd37
2018-05-26 22:47:48 +09:00
Boris Zbarsky
97193c4178
Bug 1464784. Hold a strong ref to the document in callers of ConvertNodesOrStringsIntoNode. r=smaug
2018-06-02 01:26:00 -04:00
Emilio Cobos Álvarez
fffb25b74f
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Olli Pettay
a6044a582c
Bug 1462746, ensure SubtreeRoot always returns non-null value, r=mrbkap
...
--HG--
extra : rebase_source : 969acaa902db68eff48f6849da849522f2043b4a
2018-06-01 00:11:45 +03:00
Boris Zbarsky
bea3100e53
Bug 1455676 part 14. Remove most use of nsIDOMNode in dom/. r=qdot
2018-05-29 22:58:49 -04:00
rahul0379
a90bc4ed77
Bug 1464433 - Cleaning up nsINode::GetElementById. r=emilio
2018-05-27 10:03:48 +02:00
Olli Pettay
ae1ffbdef7
Bug 1461321 - input.list should work in shadow DOM, r=peterv
...
--HG--
extra : rebase_source : 17a438c4fa687d2890be70867b136b635493c00d
2018-05-24 22:46:11 +03:00
Olli Pettay
ae41728c3d
Bug 1404864 - ensure HTMLInputElement.form works per spec in Shadow DOM, r=peterv
...
--HG--
extra : rebase_source : a9a597728ec3e5f2949de6769ce4ee490993a797
2018-05-18 20:02:14 +03:00
Jan de Mooij
80e44e8003
Bug 1461292 part 1 - Rename JSAutoCompartment to JSAutoRealm. r=bz,luke
2018-05-16 10:53:16 +02:00
Emilio Cobos Álvarez
594f30e54c
Bug 1468780: Add labels to QuerySelector / QuerySelectorAll. r=mstange
...
It's very useful to see what the selector is in the profile.
MozReview-Commit-ID: KRp6A91jzP
--HG--
extra : rebase_source : 7cd1addc39d5d31a06c349fdb8ce5ed0f6955d6b
2018-06-14 10:16:49 -07:00
Emilio Cobos Álvarez
11794a944d
Bug 1461701: Remove nsUpdateType and UPDATE_CONTENT_MODEL. r=smaug
...
MozReview-Commit-ID: 33iBMZqnkAc
2018-05-15 18:47:16 +02:00
Adrian Wielgosik
c501e3beb0
Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz
...
MozReview-Commit-ID: LKRnyDPNlle
--HG--
extra : rebase_source : a48b7c72a0f7ede38c91149a04d5de53987736f1
2018-05-11 19:46:15 +02:00
Olli Pettay
41366ba801
bug 1460794, ensure the right document is used for DOMSubtreeModified event, r=hsivonen
...
--HG--
extra : rebase_source : 1363016f0a6da8ca2f5be4d0a21e1ee0a6376c1c
2018-05-13 00:46:45 +03:00
Olli Pettay
573e74f1f7
Bug 1001469 - Re-enable cycle collector optimization for nodes in the shadow tree, r=mccr8
2018-05-12 00:28:39 +03:00
Olli Pettay
1c1ff6583d
Bug 1428393 - Crash near null [@ IsComposedDocParticipant], r=mccr8
2018-04-30 22:21:05 +03:00
Adrian Wielgosik
b3c501adc4
Bug 1447389 - Remove nsIDOMNodeList. r=bz
...
MozReview-Commit-ID: 11szZP6dS6V
--HG--
extra : rebase_source : 9acfb352750e53d3b36684fa945a18e817c9b82e
2018-04-25 23:01:30 +02:00
Emilio Cobos Álvarez
f8233b4454
Bug 1456471: Remove nsCSSParser.h. r=xidorn
...
MozReview-Commit-ID: 4qa7llzCXeR
2018-04-25 10:38:37 +02:00
Boris Zbarsky
0ba35d199f
Bug 1455052 part 8. Stop using nsIDOMEvent in docshell and dom. r=masayuki
...
MozReview-Commit-ID: ASkuyN3xSwB
2018-04-20 12:55:30 -04:00
Emilio Cobos Álvarez
1f9cbf532c
Bug 1454251: Remove nsINode::eATTRIBUTE. r=bz
...
MozReview-Commit-ID: 7HeUbcG6szy
2018-04-20 09:52:26 +02:00
Emilio Cobos Álvarez
45787fc53f
Bug 1454241: Remove nsINode::eDATA_NODE. r=bz
...
MozReview-Commit-ID: 6HQDAwiGgIo
2018-04-20 03:58:00 +02:00
Emilio Cobos Álvarez
d8e55e4596
Bug 1454236: Remove nsINode::eDOCUMENT_FRAGMENT. r=bz
...
MozReview-Commit-ID: D2F3LbQ1pvw
2018-04-20 01:30:12 +02:00
Emilio Cobos Álvarez
83fd987aec
Bug 1454233: Remove nsINode::eDOCUMENT. r=bz
...
MozReview-Commit-ID: ItjdI79zme7
2018-04-20 01:30:11 +02:00
Zibi Braniecki
416257ec6b
Bug 1453480 - Update Node.localize API to renamed attrs->attributes in fluent-dom 0.2.0. r=smaug on a CLOSED TREE
...
MozReview-Commit-ID: H47PYERTGxr
--HG--
extra : source : 623b37fe0fe82d6eff6634cda655252f95b4f8b1
extra : amend_source : 94e620deedc1459f0d4ce9e083ece78c478c6f5b
2018-04-12 22:58:09 -07:00
Coroiu Cristina
7e1be34a07
Backed out 4 changesets (bug 1453480) for failing browser-chrome at browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_site_data.js on a CLOSED TREE
...
Backed out changeset 623b37fe0fe8 (bug 1453480)
Backed out changeset a3c36fa7ac0c (bug 1453480)
Backed out changeset 46a634d6853c (bug 1453480)
Backed out changeset 658fedb903d0 (bug 1453480)
2018-04-13 19:49:14 +03:00
Zibi Braniecki
4ab107723d
Bug 1453480 - Update Node.localize API to renamed attrs->attributes in fluent-dom 0.2.0. r=smaug
...
MozReview-Commit-ID: H47PYERTGxr
--HG--
extra : rebase_source : 2ad4db6dbd46305da755044fb2bd739d7f53c3e2
2018-04-12 22:58:09 -07:00
Olli Pettay
f2340aa57f
Bug 1452386 - Add a helper to get the existing nsIWeakReference from nsINode, r=emilio
2018-04-07 20:41:03 +03:00
Boris Zbarsky
0b77426fa7
Bug 1449631 part 11. Remove nsIDOMEventTarget::AddSystemEventListener. r=smaug
...
The security checks outer window did here don't seem right, because the whole
point is that this method is only called by C++ code for its own purposes.
We're not adding random untrusted listeners via addSystemEventListener!
MozReview-Commit-ID: JdS5gTESclu
2018-04-05 13:42:42 -04:00
Boris Zbarsky
2cdc7450c3
Bug 1449631 part 10. Devirtualize AddEventListener. r=smaug
...
The CanCallerAccess check in the "webidl" version of
nsGlobalWindowOuter::AddEventListener was pointless, because bindings never
call things on outer windows.
MozReview-Commit-ID: 1CGMJ277bPu
2018-04-05 13:42:42 -04:00
Boris Zbarsky
88937275cc
Bug 1449631 part 9. Remove nsIDOMEventTarget::AddEventListener. r=smaug
...
Also switch the XPCOM-y version of EventTarget::AddEventListner to a
Nullable<bool> for aWantsUntrusted.
The three-arg overload of AddEventListener in ContentFrameMessageManager was
never called, so all the AddEventListener overloads there are not needed.
MozReview-Commit-ID: 4IhqHmPVWzE
2018-04-05 13:42:42 -04:00
Boris Zbarsky
14f26fccf6
Bug 1449631 part 8. Remove nsIDOMEventTarget::GetEventTargetParent. r=smaug
...
MozReview-Commit-ID: 5wQ2LYrjUxf
2018-04-05 13:42:41 -04:00
Boris Zbarsky
adbcff27c1
Bug 1449631 part 7. Remove nsIDOMEventTarget::GetTargetFor* methods. r=smaug
...
MozReview-Commit-ID: AIzDo67mTDf
2018-04-05 13:42:41 -04:00
Boris Zbarsky
4292bca4ee
Bug 1449631 part 6. Remove nsIDOMEventTarget::DispatchEvent. r=smaug
...
MozReview-Commit-ID: 8YMgmMwZkAL
2018-04-05 13:42:41 -04:00
Boris Zbarsky
053e2c9b36
Bug 1449631 part 4. Remove nsIDOMEventTarget::GetContextForEventHandlers. r=smaug
...
MozReview-Commit-ID: ID0FDvp28HY
2018-04-05 13:42:40 -04:00
Boris Zbarsky
7c94e8697f
Bug 1449631 part 3. Remove nsIDOMEventTarget::RemoveSystemEventListener. r=smaug
...
MozReview-Commit-ID: F67Od8surQ8
2018-04-05 13:42:40 -04:00
Boris Zbarsky
1dce94cf16
Bug 1449631 part 2. Remove nsIDOMEventTarget::RemoveEventListener. r=smaug
...
We can't have a null content in
ScrollbarActivity::StopListeningForScrollAreaEvents, because only viewport
frames have a null GetContent().
MozReview-Commit-ID: 9iAg0ivVqqG
2018-04-05 13:42:40 -04:00
Emilio Cobos Álvarez
55b77aee5c
Bug 1449502: Cleanup a bit more the selector cache and CSSOM methods. r=xidorn
...
MozReview-Commit-ID: 32FgbGFUdCM
2018-03-29 17:12:55 +02:00
Boris Zbarsky
4370006c40
Bug 1449404 part 3. Get rid of nsIContent::AppendTextTo. r=mccr8
2018-03-28 18:01:47 -04:00
Boris Zbarsky
70b26cdb6c
Bug 1449393. Devirtualize some nsINode bits. r=mccr8
2018-03-28 18:01:46 -04:00
Xidorn Quan
efc0cdde02
Bug 1447828 part 8 - Remove remaining uses of StyleBackendType as well as the type itself. r=emilio
...
MozReview-Commit-ID: 6sh4eKvDpRF
--HG--
extra : rebase_source : 7d83f2b2d4e2739333016ed82754bf3a4a700de4
extra : source : 147ca562a24652c3f30add793213db70aff65e9e
2018-03-29 02:34:34 +11:00
Xidorn Quan
1962625a79
Bug 1448728 part 1 - Make popular headers not include nsWindowSizes.h. r=njn
...
MozReview-Commit-ID: EC5J9Im3gfu
--HG--
extra : source : 9fa9209aeeb00009143c5c21f21210c93184e61f
2018-03-28 10:44:49 +11:00
Emilio Cobos Álvarez
8fcda0e92d
Bug 1448690: Remove IsStyledByServo. r=xidorn
...
MozReview-Commit-ID: I3MDbo2Yu7d
2018-03-26 09:39:26 +02:00
Emilio Cobos Álvarez
f7522ae728
Bug 1447358: Unifdef the old style system code. r=jwatt
...
Summary:
This has been automatically generated using:
http://dotat.at/prog/unifdef/
And:
find $OBJDIR -type f -name '*.h' |
while read FILE; do
echo "$FILE"
unifdef -m -DMOZ_STYLO -UMOZ_OLD_STYLE "$FILE";
done
find $OBJDIR -type f -name '*.cpp' |
while read FILE; do
echo "$FILE"
unifdef -m -DMOZ_STYLO -UMOZ_OLD_STYLE "$FILE";
done
MozReview-Commit-ID: I4NdKqbMXzJ
Reviewers: jwatt
Bug #: 1447358
Differential Revision: https://phabricator.services.mozilla.com/D779
2018-03-21 10:20:34 +01:00
Emilio Cobos Álvarez
6c449a5e5c
Bug 1446597: Remove unused Node.getMutationObservers. r=smaug
...
Summary:
I'm happy to keep it around if you think having the test_mutationobservers check
is useful.
MozReview-Commit-ID: LbWvJiO9LRZ
Reviewers: smaug
Bug #: 1446597
Differential Revision: https://phabricator.services.mozilla.com/D750
2018-03-19 11:11:48 +01:00
Emilio Cobos Álvarez
68cc4d2846
Bug 749981: Remove Node.getUserData / setUserData. r=smaug
...
Summary: MozReview-Commit-ID: JkUCvVZ4V2Y
Reviewers: smaug
Bug #: 749981
Differential Revision: https://phabricator.services.mozilla.com/D749
MozReview-Commit-ID: KadWzpMjdW
2018-03-17 19:33:07 +01:00
Boris Zbarsky
9fc39d5647
Bug 1445140 part 4. Remove nsIDOMDocumentType members. r=mystor
...
MozReview-Commit-ID: D9Xwt3qJQDI
2018-03-13 16:24:01 -04:00
Dorel Luca
f3a72771ea
Merge autoland to mozilla-central. a=merge
2018-03-06 20:33:50 +02:00
Olli Pettay
51b6aa1b21
Bug 1066965, make contentEditable and spellchecking to work in ShadowDOM, r=mrbkap
2018-03-06 09:34:40 +09:00
Zibi Braniecki
8313ce3a74
Bug 1363862 - Add Node.localize API as a fast-path for Fluent DOM localization. r=baku
...
MozReview-Commit-ID: 6mj0q21Nbey
--HG--
extra : rebase_source : 3da2ba3b712f4708f57cc859c28e3dd996208ca5
2018-02-21 14:07:53 -08:00
Hiroyuki Ikezoe
1b0cba9367
Bug 1417354 - Introduce nsIDocument::GetPresContext(). r=smaug
...
It would be convenient to get nsPresContext from nsIDocument.
MozReview-Commit-ID: Ei6V3UE8XGr
--HG--
extra : rebase_source : 8d2a917eb62cf341e4e1810451fd01c01dbc3bad
2018-02-21 07:00:10 +09:00
Boris Zbarsky
c61fc860fe
Bug 1436508 part 14. Remove nsIDOMMutationEvent. r=masayuki
...
MozReview-Commit-ID: Gf59kFSIuaK
2018-02-09 11:17:10 -05:00
Boris Zbarsky
478687c2e8
Bug 1434686 part 4. Use IgnoreErrors() in dom/. r=mystor
...
MozReview-Commit-ID: GwVDrTLPTOb
2018-02-01 14:21:14 -05:00
Cameron McCormack
d02e54b79b
Bug 1430014 - Part 5: Stop building old style system classes when MOZ_OLD_STYLE is not defined. r=xidorn
...
MozReview-Commit-ID: CIHyPdF7Exl
--HG--
extra : source : 78a2fc781eead47af3923efcde58569c5d882ab1
2018-02-01 15:04:04 +11:00
Cameron McCormack
cc7db5c40c
Bug 1430014 - Part 4: #ifdef out unnecessary code when the old style system is not built. r=xidorn
...
MozReview-Commit-ID: 1FZ9VzjcPzN
--HG--
extra : source : de22d220635f8c059834b76f769d5215ab1a8b5b
2018-02-01 15:04:04 +11:00
Boris Zbarsky
f60fd673d6
Bug 1432186 part 19. Remove the nsIDOMNode::*_NODE constants. r=mccr8
...
MozReview-Commit-ID: KvKjeKIOB9K
2018-01-29 23:10:53 -05:00
Boris Zbarsky
4d88c28e4d
Bug 1432186 part 17. Remove nsIDOMNode's parentNode attribute. r=mccr8
...
MozReview-Commit-ID: 4xzDwwEqnvE
2018-01-29 23:10:52 -05:00
Boris Zbarsky
37aaea3c1f
Bug 1432186 part 16. Remove nsIDOMNode's ownerDocument attribute. r=mccr8
...
MozReview-Commit-ID: JqfAFxPBz41
2018-01-29 23:10:52 -05:00
Boris Zbarsky
87cd3b385a
Bug 1432186 part 14. Remove nsIDOMNode's childNodes attribute. r=mccr8
...
MozReview-Commit-ID: JyQjEYngKAT
2018-01-29 23:10:51 -05:00
Boris Zbarsky
323cec654b
Bug 1432186 part 13. Remove nsIDOMNode's nextSibling attribute. r=mccr8
...
MozReview-Commit-ID: DTaivhMORXr
2018-01-29 23:10:51 -05:00
Boris Zbarsky
97302665b4
Bug 1432186 part 12. Remove nsIDOMNode's previousSibling attribute. r=mccr8
...
MozReview-Commit-ID: 7UJFaxEnT9Q
2018-01-29 23:10:51 -05:00
Boris Zbarsky
e2ce75877d
Bug 1432186 part 11. Remove nsIDOMNode's firstChild attribute. r=mccr8
...
MozReview-Commit-ID: 5jCdAmSuPx8
2018-01-29 23:10:51 -05:00
Boris Zbarsky
96697d35fe
Bug 1432186 part 10. Remove nsIDOMNode's lastChild attribute. r=mccr8
...
MozReview-Commit-ID: FhJs1MXAyeO
2018-01-29 23:10:51 -05:00
Boris Zbarsky
df23390565
Bug 1432186 part 8. Remove nsIDOMNode::DOCUMENT_POSITION_* constants. r=mccr8
...
MozReview-Commit-ID: DXhiXZ3qQHg
2018-01-29 23:10:50 -05:00
Boris Zbarsky
eb9faa9b79
Bug 1432186 part 6. Remove nsIDOMNode::RemoveChild. r=mccr8
...
MozReview-Commit-ID: 9ZbIEIRtYPL
2018-01-29 23:10:50 -05:00
Andrea Marchesini
85b163bc38
Bug 1430998 - Rename nsINode::InsertChildAt to InsertChildAt_Deprecated, r=catalinb
2018-01-23 14:30:18 +01:00
Andrea Marchesini
b8bb98af8c
Bug 1430997 - Rename nsINode::IndexOf to nsINode::ComputeIndexOf, r=catalinb
2018-01-23 14:30:18 +01:00
Andrea Marchesini
41d4da5cef
Bug 1425440 - Introduce nsINode::RemoveChildNode, r=catalinb
2018-01-15 17:18:38 +01:00
Andrea Marchesini
6ee7f4e6f3
Bug 1425321 - Renaming nsINode::RemoveChildAt to RemoveChildAt_Deprecated, r=catalinb
2018-01-03 14:01:03 +01:00
Andrea Marchesini
00e79ef07b
Bug 1425321 - Renaming nsINode::GetChildAt to GetChildAt_Deprecated, r=catalinb
...
We want to deprecate nsINode::GetChildAt as the first step of removing DOM node
child array storage. See bug 651120.
2018-01-03 13:59:54 +01:00
Emilio Cobos Álvarez
1cda1ad876
Bug 1427511: Make GetFlattenedTreeParent more straight-forward. r=smaug
...
Now that accessing nsIContent slots is not a blob of virtual function calls, we
should be able to unify logic here, and speed up the not-so-rare case for
chrome, while keeping the usual case fast.
MozReview-Commit-ID: 87iY5Cbhx4T
2018-01-02 18:00:25 +01:00
Edgar Chen
5fedbb92b8
Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions]; r=smaug
...
MozReview-Commit-ID: HgbFo9ddr0o
--HG--
extra : rebase_source : 04989782fc7c7ce79e0e65b3dc907c9e174a0809
2017-11-27 16:10:27 +08:00
Emilio Cobos Álvarez
74b31155f7
Bug 1423167: Move most attribute-related methods from nsIContent to Element. r=bz
...
MozReview-Commit-ID: 6WXqNiODttD
2017-12-06 16:05:59 +01:00
Jonathan Watt
62787012f8
Bug 1417365 - Unified build issues in dom/base. r=baku
2017-10-26 10:40:12 +01:00
Chris Peterson
0e8425b401
Bug 1416164 - Replace NS_ABORT with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
MozReview-Commit-ID: DRdYlOYqZpN
--HG--
extra : rebase_source : b20fb24abf0f2ce648c12a827532c0dbeefb6c63
2017-10-24 23:52:56 -07:00