Boris Zbarsky
9bb77bdfc7
Bug 1450418. Get rid of nsIDOMScreen. r=qdot
...
MozReview-Commit-ID: A5Rq0BSQt4V
2018-04-03 00:42:41 -04:00
Narcis Beleuzu
981e7f5421
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-03-31 01:28:52 +03:00
Ben Kelly
48efa4db3f
Bug 1447871 P3 Make nsIGlobalObject::ForEachEventTargetObject() protect against side effects that might delete other DETH objects. r=asuth
2018-03-30 11:25:48 -07:00
Ben Kelly
5937e67051
Bug 1447871 P1 Call DisconnectFromOwner() on service worker binding objects in FreeInnerObjects(). r=asuth
2018-03-30 11:25:47 -07:00
Ciure Andrei
5d841a3421
Merge inbound to mozilla-central. a=merge
2018-03-30 01:06:18 +03: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
Neil Deakin
6a995d0462
Bug 1448018, remove ContainerBoxObject which is only used to access the docshell, but bug 1448018 made the docshell accessible from the frameloader instead so the container box object is no longer being used. Change some editor tests which just access the docShell directly rather than through the box object, r=bz
2018-03-29 10:44:52 -04:00
Emilio Cobos Álvarez
e81a508a48
Bug 1435632: Fix the logic to do layout stuff after reassigning a slot. r=smaug,xidorn
...
The dirty bit fiddling is nontrivial, but it's pretty much what we do for
invalidation and allows to keep this incrementally easily.
The only caller that we cared about for the GetFlattenedTreeParent check in
DestroyFramesForAndRestyle was the old ShadowRoot invalidation functions that
went away.
MozReview-Commit-ID: GmgPPJ6d2qX
2018-03-29 12:34:38 +02:00
Christoph Kerschbaumer
4197b7d96d
Bug 1439713 - Update tests relying on nsIContentPolicy. r=bz
2018-03-29 11:14:58 +02:00
Christoph Kerschbaumer
a929955d1f
Bug 1439713 - Change nsIContentPolicy shouldLoad to take an <uri, loadInfo> pair instead of the various args. r=bz
2018-03-29 12:16:23 +02:00
Boris Zbarsky
c43dfe1ad8
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
0aa422913e
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
4370006c40
Bug 1449404 part 3. Get rid of nsIContent::AppendTextTo. r=mccr8
2018-03-28 18:01:47 -04:00
Boris Zbarsky
cd4761ffdb
Bug 1449404 part 2. Get rid of nsIContent::AppendText. r=mccr8
2018-03-28 18:01:46 -04:00
Boris Zbarsky
693169e324
Bug 1449404 part 1. Get rid of nsIContent::SetText. r=mccr8
2018-03-28 18:01:46 -04:00
Boris Zbarsky
70b26cdb6c
Bug 1449393. Devirtualize some nsINode bits. r=mccr8
2018-03-28 18:01:46 -04:00
Boris Zbarsky
75860ea92d
Bug 1445005. Remove the eventMode bits from frameloader. r=qdot
2018-03-28 18:01:46 -04:00
Boris Zbarsky
9bdcd1eca8
Bug 1444872. Remove support for the 'type' parameter to document.open. r=qdot
2018-03-28 18:01:46 -04:00
Gurzau Raul
8d268c6ce7
Merge mozilla-central to inbound. a=merge CLOSED TREE
...
--HG--
rename : toolkit/components/extensions/ext-permissions.js => toolkit/components/extensions/parent/ext-permissions.js
2018-03-29 01:00:42 +03:00
Gurzau Raul
d117255a14
Merge inbound to mozilla-central. a=merge
2018-03-29 00:55:16 +03:00
Olli Pettay
be34eacad1
Bug 1441277 - nsINode needs better documentation on GetComposedDoc vs GetUncomposedDoc, r=annevk
2018-03-28 19:51:14 +03:00
Cosmin Sabou
619e0c5b90
Backed out 3 changesets (bug 1449321, bug 1449566, bug 1449565) as per developer request.
...
Backed out changeset c31de7e26809 (bug 1449565)
Backed out changeset 72f9188800af (bug 1449566)
Backed out changeset 763277b299e4 (bug 1449321)
--HG--
extra : rebase_source : 212b357a3079dff30845a5f82e47b94e2d7f93cd
2018-03-28 18:10:11 +03:00
Jonathan Watt
41622cb3a7
Bug 1449321 - Remove the IsServo and IsGecko methods from the style system code. r=emilio
2018-03-23 16:01:34 +00:00
Tom Ritter
449237fc51
Bug 1378552 - Reduce the liklihood of inadvertently misusing NullPrincipal::Create(). r=ckerschb
...
NullPrincipal::Create() (will null OA) may cause an OriginAttributes bypass.
We change Create() so OriginAttributes is no longer optional, and rename
Create() with no arguments to make it more explicit about what the caller is doing.
MozReview-Commit-ID: 7DQGlgh1tgJ
2018-03-22 13:36:20 -05: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
5c55e4b983
Bug 1447828 part 7 - Remove StyleBackendType uses from PreloadedStyleSheet. r=emilio
...
MozReview-Commit-ID: L37tnRAAJbQ
--HG--
extra : rebase_source : 1d073c4fadcc8372b5afe55f648bcb1c276f4de2
extra : source : 09e1b57c52fbfe3145b47d80ac098c487970d8b4
2018-03-29 02:34:34 +11:00
Xidorn Quan
d3b8ac27c8
Bug 1447828 part 5 - Remove StyleBackendType uses from nsStyleSheetService. r=emilio
...
MozReview-Commit-ID: 2yQqwVPnvdE
--HG--
extra : rebase_source : 90f58d5726cb85e9bbcf56bc2eaf29c85940ddbe
extra : source : 8ffba0152d4bd16f87d2ddefefacb7081a46443b
2018-03-29 02:34:34 +11:00
Xidorn Quan
3b8cc6c6ef
Bug 1447828 part 4 - Remove StyleBackendType uses from Loader. r=emilio
...
MozReview-Commit-ID: 8DbjibZE3Dw
--HG--
extra : rebase_source : aa664ee40199b5358e304e076c8d6853e496d7a8
extra : source : 06be08613cf88b6963033929ff5ac0d82a6327b1
2018-03-29 02:33:01 +11:00
Xidorn Quan
1cf8082e67
Bug 1447828 part 3 - Remove StyleBackendType uses from MediaList. r=emilio
...
MozReview-Commit-ID: 9sG73iLeBw4
--HG--
extra : rebase_source : a2626f6d1f8af02caeb7f3d37b7d258b4544b62d
extra : source : 2f443463446897080b85ac0da5b7a9ea6ccc9de2
2018-03-29 02:31:46 +11:00
Jonathan Watt
68e78b291f
Bug 1449321 - Remove the IsServo and IsGecko methods from the style system code. r=emilio
...
--HG--
extra : source : 763277b299e42d8ee7eafede027ee690b66a7a2a
2018-03-23 16:01:34 +00:00
Narcis Beleuzu
00fbf95c3b
Backed out changeset baf5f1356969 (bug 1446522) for clipboard failures on /test_bug1012662_noeditor.html. CLOSED TREE
2018-03-28 14:25:57 +03:00
Gijs Kruitbosch
a140dc6382
Bug 1446522 - don't return NS_ERROR_FAILURE for cut/copy/paste even when there's no selection, r=enndeakin+6102
...
MozReview-Commit-ID: AhToM4sAjJn
--HG--
extra : rebase_source : 83b5b97fc8ca0aa264c313953d3cd82014675f7b
2018-03-26 20:18:05 +01:00
Cosmin Sabou
6e054fe297
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2018-03-28 12:52:57 +03:00
Cosmin Sabou
b25da47eb2
Merge inbound to mozilla-central. a=merge
2018-03-28 12:49:56 +03:00
Xidorn Quan
e1ecaae43e
Bug 1449390 - Remove Rule::GetType() and its corresponding constants. r=emilio
...
MozReview-Commit-ID: 5r64ATHUAux
--HG--
extra : rebase_source : 9a593b6ed1a1006bfac031c3b47b06a7e28605b4
2018-03-28 14:22:01 +11:00
Emilio Cobos Álvarez
32f0cfbe75
No bug - remove duplicated condition likely due to merge mess. r=me
...
MozReview-Commit-ID: AO7nmkUIs82
2018-03-28 03:17:59 +02:00
Masayuki Nakano
ec04470e25
Bug 1448876 - Get rid of nsIClipboardDragDropHooks and nsIClipboardDragDropHookList interfaces r=bz
...
nsIClipboardDragDropHooks and nsIClipboardDragDropHookList allow XUL apps
to customize drag and drop operation and paste operation. However, this
feature was used only by ChatZilla and it doesn't work on Gecko anymore.
So, we can get rid of them from our tree.
MozReview-Commit-ID: Ibs3V1gI8Ry
--HG--
extra : rebase_source : 83428293d59aaca432d76c71b214aa7799f7f9de
2018-03-26 23:56:53 +09:00
Xidorn Quan
2d757b0424
Bug 1449089 part 3 - Remove pref layout.css.scope-pseudo.enabled. r=emilio
...
It was never effective in Stylo anyway.
MozReview-Commit-ID: EF7NnS6uxOO
--HG--
extra : rebase_source : 8d924fad9958cf12c746156241c51c3a6488020f
2018-03-28 09:41:04 +11:00
Xidorn Quan
5e4279ed26
Bug 1449089 part 1 - Make :-moz-native-anonymous and :-moz-use-shadow-tree-root matches in Rust code. r=emilio
...
:-moz-native-anonymous can just use is_in_native_anonymous_subtree()
which is an existing function duplicating IsInNativeAnonymousSubtree().
IsRootOfUseElementShadowTree() in C++ code only has a single reference
from nsCSSPseudoClasses::MatchesElement() so we can just move it to the
Rust side. And actually Rust code has existing duplicate logic for
blocks_ancestor_combinators().
MozReview-Commit-ID: 8M1hHrYJT6Y
--HG--
extra : rebase_source : bf53ac7d8b15b0d1f7447a6056986d89b1cb4e57
2018-03-28 09:41:04 +11:00
Margareta Eliza Balazs
adebb06ac1
Merge inbound to mozilla-central. a=merge
2018-03-28 00:48:11 +03:00
Xidorn Quan
afea770358
Bug 1448728 part 3 - Remove mention of servo in memory report as it's the only style system now. r=njn
...
MozReview-Commit-ID: CJl0LboV1Gj
--HG--
extra : source : e468e93bc9cf4171197f79fa7db6b5ac6bfc07ea
2018-03-28 10:44:49 +11:00
Xidorn Quan
160053e9ab
Bug 1448728 part 2 - Remove style sizes for the old style system from nsWindowSizes.h. r=njn
...
MozReview-Commit-ID: 5FqJWoCjlto
--HG--
extra : source : 261d5942b8ee9fb178726bef0691d6ec70e72b6c
2018-03-28 10:44:49 +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
Margareta Eliza Balazs
ecdbb83fa1
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-03-28 01:00:31 +03:00
Boris Zbarsky
4373a04574
Bug 1446246 part 2. Combine HTMLConstructor and CreateXULOrHTMLElement into a single function. r=peterv
...
This fixes an observable bug we had due to doing the steps in a different order
from the spec: the 'prototype' get can have side-effects so needs to happen
after some of the other sanity checks.
MozReview-Commit-ID: 83zNhqfqFRu
2018-03-27 15:49:02 -04:00
Olli Pettay
27dc0e2db0
Bug 1441404, return early when appending null string to a text fragment, r=baku
...
--HG--
extra : rebase_source : 597d6424e3cfc1abdc667aebb311fee4425c8fde
2018-03-27 19:24:53 +03:00
Andreea Pavel
cc6473cbb9
Merge mozilla-central to autoland. a=merge
2018-03-27 13:43:44 +03:00
Bogdan Tara
39d9b048b9
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-03-27 12:16:26 +03:00
Bogdan Tara
43ccd8d773
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-03-27 12:15:05 +03:00
Bogdan Tara
302a55b534
Merge inbound to mozilla-central. a=merge
2018-03-27 12:12:57 +03:00