Commit Graph

61935 Commits

Author SHA1 Message Date
Bogdan Tara
cd1c3cc5dd Merge mozilla-central to autoland, r=merge a=merge on a CLOSED TREE 2018-01-09 00:16:46 +02:00
Bogdan Tara
73b4d6b26a Merge inbound to mozilla-central r=merge a=merge 2018-01-09 00:05:31 +02:00
Andrea Marchesini
e10464a465 Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 22 - DOMPrefs initialized at startup, r=asuth 2018-01-08 14:05:07 +01:00
Andrea Marchesini
1b4b3007e5 Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 16 - Webkit/Blink directory picker enabled, r=asuth 2018-01-08 14:05:05 +01:00
Dorel Luca
04e91897cf Backed out 11 changesets (bug 1252998) for faling browser-chrome on browser/base/content/test/sanitize/browser_sanitize-offlineData.js
Backed out changeset a9ec63c01c50 (bug 1252998)
Backed out changeset a3e5299b882a (bug 1252998)
Backed out changeset aa511b206e21 (bug 1252998)
Backed out changeset 5875848a48ab (bug 1252998)
Backed out changeset 7fd2523680d1 (bug 1252998)
Backed out changeset a45e28e573a4 (bug 1252998)
Backed out changeset 92e8cc81b417 (bug 1252998)
Backed out changeset da38d133549e (bug 1252998)
Backed out changeset 5be23a98b47c (bug 1252998)
Backed out changeset 609093736110 (bug 1252998)
Backed out changeset f4955cf6447f (bug 1252998)

--HG--
rename : browser/base/content/test/sanitize/browser_purgehistory_clears_sh.js => browser/base/content/test/general/browser_purgehistory_clears_sh.js
rename : browser/base/content/test/sanitize/browser_sanitize-passwordDisabledHosts.js => browser/base/content/test/general/browser_sanitize-passwordDisabledHosts.js
rename : browser/base/content/test/sanitize/browser_sanitize-sitepermissions.js => browser/base/content/test/general/browser_sanitize-sitepermissions.js
rename : browser/base/content/test/sanitize/browser_sanitize-timespans.js => browser/base/content/test/general/browser_sanitize-timespans.js
rename : browser/base/content/test/sanitize/browser_sanitizeDialog.js => browser/base/content/test/general/browser_sanitizeDialog.js
2018-01-08 11:00:39 +02:00
Andrea Marchesini
1ac04372e5 Bug 1252998 - StorageActivityService - part 1 - Introduce StorageActivityService to monitor origin activities, r=asuth 2018-01-08 08:31:34 +01:00
Geoffrey Sneddon
8483ba3dd6 Bug 1427114 - Add missing ">" to unclosed meta element so WPT finds the test r=emilio
MozReview-Commit-ID: GOmRqqvgKsc

--HG--
extra : rebase_source : 6f147d518fcd103596a66e9e020c9f08d1c953d8
2018-01-06 22:30:42 +00:00
shindli
efed7156cc Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-06 23:58:33 +02:00
shindli
ee57c0cd8a Merge inbound to mozilla-central r=merge a=merge 2018-01-06 23:46:15 +02:00
Emilio Cobos Álvarez
a68efc4059 Backout two changesets (Bug 1427677) until I prove they have no negative performance implication. r=backout
MozReview-Commit-ID: 3xuUAXVfEHd
2018-01-06 19:01:48 +01:00
Kartikaya Gupta
5a377242ca Bug 1422057 - Remove now-unnecessary ::Equals checks. r=mstange
Part of this is a backout of bug 1421054 which is no longer needed now
that we can assume equivalent clip items have identical pointer values.

MozReview-Commit-ID: BhnLVmVr4TX

--HG--
extra : rebase_source : b9bbb733fc69a0f15cd35d0265589aea257a5285
2018-01-06 09:52:59 -05:00
Kartikaya Gupta
bf9bed72dc Bug 1422057 - Deduplicate DisplayItemClipChain instances on creation. r=mstange
MozReview-Commit-ID: Fdr0m0uKxKR

--HG--
extra : rebase_source : 2c38e851ed261d67abffb8f1864fc9acd116da3e
2018-01-06 09:52:58 -05:00
Kartikaya Gupta
12596acf72 Bug 1422057 - Add hash function and boilerplate for deduplicating DisplayItemClipChain via std::set. r=mstange
MozReview-Commit-ID: I2eos3vwFF0

--HG--
extra : rebase_source : 79f99ef1d7fdc9a8f65703e880c66beea9b81de0
2018-01-06 09:52:58 -05:00
Kartikaya Gupta
25d94ecc40 Bug 1422057 - Adjust some logging-related things to be more useful. r=mstange
MozReview-Commit-ID: Idheevum5Fd

--HG--
extra : rebase_source : a441cc0b65c763763a4a417cc1d713cd771e467d
2018-01-06 09:52:57 -05:00
Emilio Cobos Álvarez
91be560d9c Bug 1427292: [css-display] Update display: contents on Unusual Elements to the spec. r=mats
This will pass[1] whenever the next WPT sync happens.

See: https://drafts.csswg.org/css-display/#unbox-html

[1]: https://github.com/w3c/web-platform-tests/blob/master/css/css-display/display-contents-unusual-html-elements-none.html

MozReview-Commit-ID: 19dqDSxVm7A
2018-01-06 21:52:51 +01:00
Emilio Cobos Álvarez
872ec24ce1 Bug 1428353: Allow undisplayed maps to be queried for elements out of the document. r=mats
MozReview-Commit-ID: 69lQNFk5vhG

--HG--
extra : rebase_source : 693f2537039045f765f8a40da84792bc1b60327f
2018-01-06 00:50:58 +01:00
Emilio Cobos Álvarez
7f7f3991e3 Bug 1427677: Get rid of nsContentUtils::HasDistributedChildren. r=bz
The whole function doesn't have much sense.

I killed its only DOM use in bug 1427511.

Now it only has two callers in nsCSSFrameConstructor, which basically only want
to know whether the children of the same node can have different flattened tree
parents.

So let's check that directly instead (checking whether the element has a binding
or a shadow root), and simplify a bit other surrounding code while at it.

Leave the XUL popup / menubar code doing the broken thing they were doing
beforehand, because it doesn't look to me like it's trivial to fix... They're
effectively assuming that the children of the menupopup end up in a single
insertion point, which is true, but doesn't need to be.

Maybe they should walk the DOM tree? Don't want to dig into that right now,
since XUL insertion points can be reordered and all that... Not fun.

MozReview-Commit-ID: L4lspkxKENr
2018-01-06 11:39:16 +01:00
Andreea Pavel
51d4c2d9ce Merge inbound to mozilla-central r=merge a=merge 2018-01-06 11:50:13 +02:00
Sebastian Hengst
6c6df154cd merge mozilla-central to mozilla-inbound. r=merge a=merge 2018-01-06 01:56:19 +02:00
Sebastian Hengst
d52c7b3231 merge inbound to central. r=merge a=merge 2018-01-06 00:27:10 +02:00
Emilio Cobos Álvarez
bab6ad290a Bug 1427824: Remove invalid assertion in presence of display: contents. r=bz
MozReview-Commit-ID: 4jFGHcD5wds

--HG--
extra : rebase_source : 23afb26dd3a93d4693def423a7ee3f3f95ed91a7
2018-01-05 19:12:42 +01:00
Emilio Cobos Álvarez
6b2dceda02 Bug 1427908: Never reenter synchronously into frame construction. r=bz
We remove async from the DOM all the time now since bug 1389743.

We could, before this patch, recurse into frame construction in a sync way, due
to the way we handle the weird insertion cases for <fieldset>, <details>, and
<mathml>.

This patch makes those also async, making the IssueSingleInsertNotifications
condition unnecessary.

MozReview-Commit-ID: LujPaYPwA4G

--HG--
extra : rebase_source : 3fc9dc9589a0c43f9f211e22873bf6b960d416f7
2018-01-03 05:51:12 +01:00
Kartikaya Gupta
c6e614c39a Bug 1413618 - Avoid possible division by zero. r=xidorn
MozReview-Commit-ID: JSTvMb3mM4P

--HG--
extra : rebase_source : 646429f399c47efef56ee9ae4e3b3bed410a9864
2018-01-08 05:59:08 -05:00
Boris Zbarsky
8a91a899cc Bug 1426525 part 4. Remove uses of 'ref' in XUL trees. r=gijs
MozReview-Commit-ID: He9RTzZMmSr
2018-01-05 13:48:39 -05:00
Coroiu Cristina
cf8d0654b4 Backed out 5 changesets (bug 1426525) for bustage at build/src/layout/xul/tree/nsTreeContentView.cpp r=backout on a CLOSED TREE
Backed out changeset 96efa1b6f4d5 (bug 1426525)
Backed out changeset 37fdd4a04f4e (bug 1426525)
Backed out changeset cee585723368 (bug 1426525)
Backed out changeset 85e218bf000c (bug 1426525)
Backed out changeset 501c70abf837 (bug 1426525)
2018-01-05 21:40:44 +02:00
Boris Zbarsky
d8f202f957 Bug 1426525 part 4. Remove uses of 'ref' in XUL trees. r=gijs
MozReview-Commit-ID: He9RTzZMmSr
2018-01-05 13:48:39 -05:00
Brad Werth
b61d32f5ef Bug 1423378 Part 1: Specially treat the explicit line names following a repeat auto-fit or auto-fill declaration to ensure they are always applied to the following line. r=mats
MozReview-Commit-ID: iFM5J6wRL6
2017-12-05 14:51:06 -08:00
Emilio Cobos Álvarez
0541db0072 Bug 1428164: followup: Simplify reftest reference. r=me
MozReview-Commit-ID: 8rgh0waQdAl
2018-01-05 11:59:23 +01:00
Emilio Cobos Álvarez
3e9fdd7ae2 Bug 1428164: Reftest. r=me
MozReview-Commit-ID: 5hm56QmtlnV
2018-01-05 11:57:49 +01:00
Emilio Cobos Álvarez
9cd802936b Bug 1428164: Restyle owned anon boxes after processing children. r=bz
MozReview-Commit-ID: 4QcJPY9hkSm
2018-01-05 11:57:47 +01:00
Tiberius Oros
0a895028f7 Merge inbound to mozilla-central r=merge a=merge 2018-01-05 11:57:58 +02:00
Andreea Pavel
b88f05e893 Backed out changeset 3a55b10a6974 (bug 106327) for build bustage on
/builds/worker/workspace/build/src/layout/xul/nsMenuFrame.cpp r=backout a=backout on a CLOSED TREE

--HG--
extra : amend_source : e09bf154093728898ad2c27dd185108f9ff3b009
2018-01-05 04:46:46 +02:00
Hiroyuki Ikezoe
ff1b1ade87 Bug 1420928 - Templatize functions that ensures nsStyleAutoArray length. r=boris
MozReview-Commit-ID: 7MvW9OCBkCP

--HG--
extra : rebase_source : 723092199ce780058b0f87bfd0c208987c847e47
2018-01-05 06:24:10 +09:00
Hiroyuki Ikezoe
9070574de9 Bug 1420928 - Drop StyleTransition::GetCombinedDuration. r=boris
We no longer call the function directly.  It has been replaced by
nsStyleDisplay::GetTransitionCombinedDuraion(uint32_t).

MozReview-Commit-ID: 9wZExWPmnyG

--HG--
extra : rebase_source : dff6b4e686578e7c79e16148ab3ab63b40444be7
2018-01-05 06:24:09 +09:00
Hiroyuki Ikezoe
3fe9a1ba97 Bug 1420928 - Reuse computed values for transition properties repeatedly if the computed values' length is less than transition-property length. r=boris
MozReview-Commit-ID: BptxzspwoP9

--HG--
extra : rebase_source : a1335be7d9750aadf23e33a7b12114eef53f2e64
2018-01-05 06:24:09 +09:00
Hiroyuki Ikezoe
13133e575b Bug 1420928 - Reuse computed values for animation properties repeatedly if the computed values' length is less than animation-name length. r=boris
MozReview-Commit-ID: DSmUlE9m0UI

--HG--
extra : rebase_source : 7fe6f42edf6da3d3dbb988c7d569272fdd6d56af
2018-01-05 06:24:09 +09:00
Hiroyuki Ikezoe
9f18c8396b Bug 1420928 - Add a function that calculates combined duration with a given position in the transition-property list. r=boris
MozReview-Commit-ID: 9YOII9lqtRq

--HG--
extra : rebase_source : 6c06b3b4f5cdd09b35473c0a19211158252519e2
2018-01-05 06:24:08 +09:00
Hiroyuki Ikezoe
b6d9f2a64e Bug 1420928 - Add getters for each transition property in nsStyleDisplay. r=boris
MozReview-Commit-ID: KMUk5VFmKG7

--HG--
extra : rebase_source : ce4bbcd06f3076a5df582a38b2c762c67e4cb78a
2018-01-05 06:24:08 +09:00
Hiroyuki Ikezoe
146aae5f3b Bug 1420928 - Add getters for each animation property in nsStyleDisplay. r=boris
This is also a prerequisite to use repeated values for the used value.
Note that each count should never be zero since their initial value is 1 and
we never set zero length property value to the member.

MozReview-Commit-ID: 44ZMhopuK6o

--HG--
extra : rebase_source : 6284b2b5beb43bf78c16e0c39e95ec0e5118ed14
2018-01-05 06:24:08 +09:00
Hiroyuki Ikezoe
9fcd2613d3 Bug 1420928 - BuildKeyframes takes animation name and timing function instead of StyleAnimation. r=boris
This is a prerequisite to use repeated values for the used value of the each
animation property instead of the computed values.

In a subsequent patch in this patch series, the timing function will be replaced
with the one which may be a repeated value in computed animation timing function values list.

MozReview-Commit-ID: GOKHE3MH0Ue

--HG--
extra : rebase_source : ecc270eddb648d2915292ec3e219f4e349c6047c
2018-01-05 06:24:07 +09:00
Hiroyuki Ikezoe
e170a44222 Bug 1420928 - Pass a const reference of nsStyleDisplay instead of a raw pointer to DoUpdateTransitions. r=birtles,boris
MozReview-Commit-ID: 91QtuEqlRYv

--HG--
extra : rebase_source : f75813fb7b7d6119272d38fc1cc331084b3b6830
2018-01-05 06:24:07 +09:00
Thomas Duellmann
c27f04ab20 Bug 106327 - Change shortcut label of VK_RETURN to "Enter" on Win/Unix. r=enndeakin, r=Gijs 2018-01-04 13:50:30 +02:00
Hiroyuki Ikezoe
606a9e9a90 Bug 1421507 - Throttle animations in position:fixed element that the element is out of view. r=boris,tnikkel
MozReview-Commit-ID: jLvrcVhTKW

--HG--
extra : rebase_source : e2ff1e0158aa5207f86c47088283c22febe84197
2018-01-05 10:30:46 +09:00
Andreea Pavel
569609f11d Merge mozilla-central to mozilla-inbound r=merge a=merge on a CLOSED TREE
--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug_1050691_click_function_to_source.html => devtools/client/webconsole/new-console-output/test/mochitest/test-click-function-to-source.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug_1050691_click_function_to_source.js => devtools/client/webconsole/new-console-output/test/mochitest/test-click-function-to-source.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-603750-websocket.html => devtools/client/webconsole/new-console-output/test/mochitest/test-websocket.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-603750-websocket.js => devtools/client/webconsole/new-console-output/test/mochitest/test-websocket.js
rename : taskcluster/docker/android-build/dot-config/pip/pip.conf => taskcluster/docker/recipes/dot-config/pip/pip.conf
rename : toolkit/components/places/tests/bookmarks/test_protectRoots.js => toolkit/components/places/tests/legacy/test_protectRoots.js
extra : rebase_source : 52cfc27d3ad7f31d2cb758802a4e718c08e9ffe2
2018-01-04 23:33:08 +02:00
Mats Palmgren
4b4ce8d720 Bug 1423761 - Make CorrectStyleParentFrame / UpdateStyleOfChildAnonBox deal with abs.pos. anon boxes. r=dholbert
For an OOF frame, the parent frame that's associated with our parent style
context is the *placeholder's* parent -- not the OOF frame's parent.
2018-01-04 22:16:37 +01:00
Mats Palmgren
49526eeeb6 Bug 1403986 part 1 - [css-ui] Treat text frames with only trimmable space as empty for 'text-overflow' purposes. r=jfkthame 2018-01-04 20:43:55 +01:00
Mats Palmgren
bd8e3761b9 Bug 1343980 - [css-ui] Skip anonymous boxes (rather than all pseudos) when looking for the 'overflow' style frame. r=bz 2018-01-04 20:43:55 +01:00
J. Ryan Stinnett
4c9e80f00f Bug 1417978 - Stop packaging layout debugger on Android. r=nalexander
The layout debugger UI is only accessible on desktop platforms, so there's no
need to include it for Android builds.

MozReview-Commit-ID: 8PTDwExU5xz

--HG--
extra : rebase_source : 0cf22b85afd0b036a4899761eca3248ba3ffafbe
2018-01-04 15:22:35 -06:00
Emilio Cobos Álvarez
b8950ca8f0 Bug 1428144: Remove some dead nsIFrame code. r=mats
MozReview-Commit-ID: Aaj6XLp3LnA

--HG--
extra : rebase_source : 8c8555f539f29275d570931f0d6bce6817a7d3c3
2018-01-04 20:37:11 +01:00
Jonathan Watt
04cbca1e20 Bug 1425641, part 3 - Remove nsIWebBrowserPrint.GetCurrentChildDOMWindow. r=bobowen
MozReview-Commit-ID: EZHNKvyUT42
2017-12-06 16:02:34 +00:00