Emilio Cobos Álvarez
bd61812571
Bug 1473637: Unbind ShadowRoot during unlinking. r=smaug
...
MozReview-Commit-ID: 7cWtZ5epRqK
2018-07-11 15:42:52 +02:00
Olli Pettay
a294d5e07b
Bug 1466581, handle sequential focus also in nested shadow DOM, r=mrbkap
2018-07-10 01:56:42 +03:00
Neil Deakin
0156d01446
Bug 1437638, move frame loader property from XULElement to XULFrameElement, removing many checks that only apply to child frames instead of every XUL element. Since it is assumed that most frames/browsers will have frame loaders created for them, and that there aren't many of them, we can use a member field instead of slots, so remove the slot property, r=bz
2018-07-05 20:14:29 -04:00
Henri Sivonen
edffadcd1b
Bug 218415 - Add window.event. r=smaug.
...
window.event is set on the wrong window when the target and the
callback are from different realms and the callback is an XPCOM
callback.
MozReview-Commit-ID: HXeUIicdMuT
2018-04-04 15:57:17 +03:00
Bogdan Tara
b3a055c4f8
Backed out changeset 306ec43e7ab9 (bug 218415) for failures on track-remove-track-inband.html CLOSED TREE
2018-07-04 19:56:18 +03:00
Henri Sivonen
0720d6417c
Bug 218415 - Add window.event. r=smaug.
...
window.event is set on the wrong window when the target and the
callback are from different realms and the callback is an XPCOM
callback.
MozReview-Commit-ID: HXeUIicdMuT
2018-04-04 15:57:17 +03:00
Margareta Eliza Balazs
06011ec139
Backed out changeset 27257fdd6c67 (bug 218415) for xpcshell failures in js/xpconnect/tests/unit/test_nuke_sandbox_event_listeners.js on a CLOSED TREE
2018-07-04 16:46:52 +03:00
Henri Sivonen
155557a2e7
Bug 218415 - Add window.event. r=smaug.
...
window.event is set on the wrong window when the target and the
callback are from different realms and the callback is an XPCOM
callback.
MozReview-Commit-ID: HXeUIicdMuT
2018-04-04 15:57:17 +03:00
Olli Pettay
3b6605eede
Bug 1419661, if ExtendedDOMSlots are used before slots, use FatSlots to have fewer allocations, r=mrbkap
2018-06-30 01:30:37 +03:00
Jeff Gilbert
70a22b2878
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
...
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Chris Peterson
f7ceeaf5cf
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
2018-06-17 22:43:11 -07:00
8b5d84e341
Bug 1469385 - Remove InsertChildAt_Deprecated and RemoveChildAt_Deprecated, r=bz,smaug
2018-06-19 12:21:18 +03:00
Emilio Cobos Álvarez
8fe74d7d03
Bug 1469276: Remove some unnecessary nsAttrAndChildArray usage. r=smaug
...
We relied already in DestroyContent not fiddling with child lists, so added
assertions to that effect.
The GetChildCount comment in UnbindSubtree looks outdated (there's no
GetChildCount impl which does anything like creating children).
MozReview-Commit-ID: 6UXVbT6Urgt
2018-06-18 16:07:07 +02:00
Nazım Can Altınova
4e99e486f8
Bug 1464496 - Part 1: Merge ServoDeclarationBlock and DeclarationBlock r=emilio
...
MozReview-Commit-ID: By9fV70Oq0K
2018-05-30 18:15:25 +02:00
Johann Hofmann
637ff0f72b
Bug 1444394 - Remove Element::UnsafeSetInnerHTML. r=bz,kmag
...
The last remaining user is already turned off and being removed
in bug 1444395 so that we can finally remove this unsafe code and
sleep a little better knowing that XSS through markup injections
will be impossible in chrome contexts.
MozReview-Commit-ID: KcZq8fRPiD4
2018-05-28 22:55:52 +02:00
Boris Zbarsky
86d99155db
Bug 1455676 part 14. Remove most use of nsIDOMNode in dom/. r=qdot
2018-05-29 22:58:49 -04:00
Boris Zbarsky
4955875545
Bug 1455676 part 10. Remove use of nsIDOMNode from remaining xpidl. r=qdot
2018-05-29 22:58:49 -04:00
Olli Pettay
a2b7e1c9d9
bug 1429572, touch.target retargeting in shadow DOM, r=masayuki
2018-05-25 18:02:59 +03:00
Olli Pettay
d75012d143
Bug 1463116 - Make mBindingParent strong, r=bz
2018-05-22 00:11:11 +03:00
shindli
0211354ff3
Backed out changeset 603804d62ce8 (bug 1463116) for force-cargo-library-build bustage on a CLOSED TREE
2018-05-21 23:55:58 +03:00
Olli Pettay
3d076252d6
Bug 1463116 - Make mBindingParent strong, r=bz
2018-05-21 23:02:07 +03:00
Emilio Cobos Álvarez
967e0989f6
Bug 1461701: Remove nsUpdateType and UPDATE_CONTENT_MODEL. r=smaug
...
MozReview-Commit-ID: 33iBMZqnkAc
2018-05-15 18:47:16 +02:00
Olli Pettay
ad5c986983
bug 1460794, ensure the right document is used for DOMSubtreeModified event, r=hsivonen
2018-05-13 00:46:45 +03:00
Olli Pettay
004d980dae
Bug 1001469 - Re-enable cycle collector optimization for nodes in the shadow tree, r=mccr8
2018-05-12 00:28:39 +03:00
Chris Peterson
5d6b16ea3b
Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
...
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent
MozReview-Commit-ID: KuUsnVe2h8L
2018-04-28 12:50:58 -07:00
Olli Pettay
677eea9f17
Bug 1449560 - clear event.target and .relatedTarget in case they would otherwise reveal targets in shadow DOM, r=bz
2018-05-05 02:21:15 +03:00
Boris Zbarsky
599ef690cf
Bug 1455674 part 16. Remove most use of nsIDOMElement in dom. r=qdot
2018-04-26 23:37:34 -04:00
Adrian Wielgosik
38f9a663ce
Bug 1447389 - Remove nsIDOMNodeList. r=bz
...
MozReview-Commit-ID: 11szZP6dS6V
2018-04-25 23:01:30 +02:00
Boris Zbarsky
57e4b18aed
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
Boris Zbarsky
5f0f9d3fb4
Bug 1429903 part 4. Remove nsIDOMEventTarget. r=mccr8
...
MozReview-Commit-ID: 9XuenUHxfPx
2018-04-20 00:49:30 -04:00
Ciure Andrei
ea89df62df
Backed out 8 changesets (bug 1451169) on request from njn a=backout
...
Backed out changeset b92f856e15a8 (bug 1451169)
Backed out changeset 348e825756fa (bug 1451169)
Backed out changeset 624d82428726 (bug 1451169)
Backed out changeset 4d51610ca08e (bug 1451169)
Backed out changeset bb76a9589717 (bug 1451169)
Backed out changeset c145fbd03947 (bug 1451169)
Backed out changeset 6d36289e0f54 (bug 1451169)
Backed out changeset 914fb7cd9fc3 (bug 1451169)
2018-04-11 11:22:05 +03:00
Gurzau Raul
eeb58c6fc7
Merge inbound to mozilla-central. a=merge
2018-04-08 00:50:24 +03:00
Olli Pettay
3fbc9661a9
Bug 1452386 - Add a helper to get the existing nsIWeakReference from nsINode, r=emilio
2018-04-07 20:41:03 +03:00
Emilio Cobos Álvarez
3284a9dda8
Bug 1447827: Remove ServoRestyleManager. r=xidorn
...
MozReview-Commit-ID: CFafQsb4rQn
2018-04-07 15:50:06 +02:00
Boris Zbarsky
5b75c1416d
Bug 1449631 part 8. Remove nsIDOMEventTarget::GetEventTargetParent. r=smaug
...
MozReview-Commit-ID: 5wQ2LYrjUxf
2018-04-05 13:42:41 -04:00
Nicholas Nethercote
7ccd4b9401
Bug 1451169 - Use nsStaticAtom* instead of nsStaticAtom** in Element.h. r=baku
...
And then fix up everything else that needs to change as well.
MozReview-Commit-ID: GDMfERqdQAc
2018-04-03 13:21:06 +10:00
Boris Zbarsky
c196fa9745
Bug 1449404 part 5. Move the cycle collected refcount on content nodes up to nsIContent. r=smaug
2018-03-28 18:07:40 -04:00
Boris Zbarsky
cfeb9c06b9
Bug 1449404 part 4. Get rid of a few virtual nsIContent methods. r=mccr8
...
The HasTextForTranslation implementation was just moved, with the nodetype
check up front dropped because that's enforced statically now.
2018-03-28 18:01:47 -04:00
Boris Zbarsky
ed060c025a
Bug 1449404 part 3. Get rid of nsIContent::AppendTextTo. r=mccr8
2018-03-28 18:01:47 -04:00
Boris Zbarsky
92273616c3
Bug 1449404 part 2. Get rid of nsIContent::AppendText. r=mccr8
2018-03-28 18:01:46 -04:00
Boris Zbarsky
da3d4d37a5
Bug 1449404 part 1. Get rid of nsIContent::SetText. r=mccr8
2018-03-28 18:01:46 -04:00
Boris Zbarsky
625601ee0f
Bug 1449393. Devirtualize some nsINode bits. r=mccr8
2018-03-28 18:01:46 -04:00
Xidorn Quan
99b3d4120a
Bug 1448728 part 1 - Make popular headers not include nsWindowSizes.h. r=njn
...
MozReview-Commit-ID: EC5J9Im3gfu
2018-03-28 10:44:49 +11:00
Emilio Cobos Álvarez
c48b1f646b
Bug 1448690: Remove IsStyledByServo. r=xidorn
...
MozReview-Commit-ID: I3MDbo2Yu7d
2018-03-26 09:39:26 +02:00
Boris Zbarsky
f7a1e9ed98
Bug 1444143 part 7. Remove nsIFrameLoader::Destroy. r=mystor
...
MozReview-Commit-ID: GObbSTCrjad
2018-03-21 22:43:16 -04:00
arthur.iakab
6e006c34b4
Merge inbound to mozilla-central. a=merge
2018-03-21 21:13:11 +02:00
Adrian Wielgosik
d8fb7c72ec
Bug 1447392 - Remove all members from nsIDOMNodeList. r=bz
...
MozReview-Commit-ID: 68xF7CTMpKB
2018-03-20 19:02:08 +01:00
Emilio Cobos Álvarez
b1a35fbef7
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
ae7d2b4204
Bug 1446668: Remove more dead code after bug 749981. r=smaug
...
Reviewers: smaug
Bug #: 1446668
Differential Revision: https://phabricator.services.mozilla.com/D757
MozReview-Commit-ID: CWv0odRUxgK
2018-03-18 01:53:13 +01:00
Emilio Cobos Álvarez
3a349583ff
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