Commit Graph

506291 Commits

Author SHA1 Message Date
Ting-Yu Lin
2dada2d6e0 Bug 1320014 Part 6 - Remove #define NS_CORNER_[TOP_LEFT/TOP_RIGHT/BOTTOM_RIGHT/BOTTOM_LEFT] r=mats
MozReview-Commit-ID: ERAwdxKZPf7

--HG--
extra : rebase_source : 53eb8d15ecd0d9d8fd0c7b88872b210b54104725
2017-01-04 18:15:30 +08:00
Ting-Yu Lin
5c9728b639 Bug 1320014 Part 5 - Remove NS_FOR_CSS_CORNERS. r=mats
Remove NS_FOR_CSS_FULL_CORNERS implementation, and rename NS_FOR_CSS_CORNERS
to NS_FOR_CSS_FULL_CORNERS.

MozReview-Commit-ID: 2kmPUZDz3bj

--HG--
extra : rebase_source : a8374d10c9f398b0593d7338be210a1fde25bdc4
2017-01-04 17:52:43 +08:00
Ting-Yu Lin
f3987ac8db Bug 1320014 Part 4 - Remove eNumCorners and rewrite NS_FOR_CSS_CORNERS. r=mats
Also, change Corner's operator++ from postfix to prefix version.

MozReview-Commit-ID: CpBXOZmQtJ9

--HG--
extra : rebase_source : c8bacec1de52109a17a9cb18687094cef56387c0
2017-01-04 17:41:49 +08:00
Ting-Yu Lin
7577c40539 Bug 1320014 Part 3 - Move Corner from namespace mozilla::css into mozilla. r=mats
For those cpp files, it's sufficient to use Corner to refer to
mozilla::Corner.

MozReview-Commit-ID: JmDEJ3gGm8K

--HG--
extra : rebase_source : 79d7fc74fdb827894dd9ea17d6bb382eb75e81e8
2017-01-04 17:18:49 +08:00
Ting-Yu Lin
d4db857fcf Bug 1320014 Part 2 - Rename Corner to LogicalCorner, and move it to nsStyleCoord.h. r=mats
To avoid confusion with the mozilla::css::corner, rename ::Corner to
mozilla::LogicalCorner, and move it to nsStyleCoord.h. Also, append
LogicalCorner prefix to all the enum values to match the coding style.

It also fixed the build error preemptively in a later patch that removing
::css namespace from mozilla::css::corner.

MozReview-Commit-ID: BbRYFuT3v4W

--HG--
extra : rebase_source : b8891eaa475c803de9a2137cb5e9a5a4bde37b9f
2017-01-04 16:52:12 +08:00
Ting-Yu Lin
8871f2bf54 Bug 1320014 Part 1 - Move Corner's definition and NS_FOR_CSS_CORNERS to gfx/2d/Types.h. r=mats
The only change is that NS_PRECONDITION is replaced by MOZ_ASSERT to prevent
Types.h depends on nsDebug.h.

MozReview-Commit-ID: FI6LGOedKQ9

--HG--
extra : rebase_source : c31bdd527635e2abc306ddd5bd249e9ca2e81c0b
2017-01-04 16:19:20 +08:00
Sebastian Hengst
d0e4cec2ba Backed out changeset cce21c0cb2dd (bug 1324530) for failing passwd-1.xul on Android 4.3 debug and number-2.xul on Android 4.3 opt. r=backout 2017-01-06 09:50:28 +01:00
Sebastian Hengst
31bfe3ddf1 Backed out changeset 3e71466a060d (bug 1324530) 2017-01-06 09:49:22 +01:00
Sebastian Hengst
9f9a0ec996 Backed out changeset bedf2a853f91 (bug 1324530) 2017-01-06 09:49:18 +01:00
Sebastian Hengst
d2f92b241d Backed out changeset c520d79f9611 (bug 1324530) 2017-01-06 09:49:13 +01:00
Sebastian Hengst
5581aa23b1 Backed out changeset 1c2a7e11fe97 (bug 1328255) for failing test_session_scroll_position.html on Android. r=backout 2017-01-06 09:47:52 +01:00
Xidorn Quan
cd5b8893bf Bug 1326167 - Hook ServoStyleSheet and ServoCSSRuleList into cycle collection. r=bz
MozReview-Commit-ID: 6n1rjB8aMqp

--HG--
extra : rebase_source : 8bab3247e2ef101c190881ec4d19a8bb543587e0
extra : source : 3e774461c2cf59f3835806c1e6441c0ef263aec4
2017-01-06 15:14:28 +11:00
Daniel Holbert
62fdac80b2 Bug 1320484 part 3: Add reftest for simple positioning of abspos child inside of a -webkit-box container. r=mats
MozReview-Commit-ID: 4SIys1zdkvy

--HG--
extra : rebase_source : 376a8110fbc9ac5475e2231c74ba58195b2ed6ee
2017-01-04 20:43:04 -08:00
Daniel Holbert
2bdeb3ab01 Bug 1320484 part 2: Wrap abspos placeholders in anonymous flex items, in flex containers that are really emulating legacy -webkit-box containers. r=mats
This changeset is intended to revert the logic from "Bug 1269045 part 3" [1],
*specifically* for legacy "-webkit-box"/"-webkit-inline-box" flex containers.

[1]  https://hg.mozilla.org/mozilla-central/rev/707b2ab5879d

MozReview-Commit-ID: vc4TuAoLai

--HG--
extra : rebase_source : 3cc143055fc46851e882d48df2bd913ca1487793
2017-01-04 20:31:17 -08:00
Daniel Holbert
3ee9d5690d Bug 1320484 part 1: Improve documentation for debug-only function FrameWantsToBeInAnonymousItem(), & change its arg from nsIAtom* to nsIFrame*. r=mats
This patch doesn't affect behavior at all -- it just refactors the
sanity-checking function "FrameWantsToBeInAnonymousItem()", so that the next
patch in this series can give it a new special case that checks a state bit on
the container frame.

This patch renames "parent" to "container" in this function's variable-names,
for clarity, because when this function returns true, the flex/grid container
is actually NOT expected to be the parent of aFrame.  Rather, it's expected to
be the grandparent, and the anonymous flex/grid item would be the parent.  So,
"aContainerFrame"/"containerType" is a bit more accurate (representing the
flex/grid container for aFrame).

Also worth mentioning: this patch makes FrameWantsToBeInAnonymousItem() perform
its own local GetType() call, instead of accepting an already-queried GetType()
result from the caller (as it previously did).  Technically this could cause a
slight perf hit, but it doesn't really matter since this is in "#ifdef DEBUG"
sanity-checking code anyway.  We could keep the nsIAtom* as an additional arg
to avoid this new call, but it seems better to fall on the side of simplicity &
just look up GetType() independently, rather than complicating the function
signature with an extra arg.

MozReview-Commit-ID: 4oJFkQMuH9c

--HG--
extra : rebase_source : 3b5d60d8c15e69470f450168698b855e353486d3
2017-01-04 20:29:19 -08:00
Hiroyuki Ikezoe
67f3a5ff19 Bug 1328255 - Run test_animation_performance_warning.html in a new window with enabling requestIdleCallaback pref. r=birtles
window.requestIdleCallback can not be used right after enabling its pref in the
same window object. We need to open a new window after enabling the pref.

This patch moves waitForIdleCallback from testcommon.js for preventing from
being used in other tests unintentionally.

MozReview-Commit-ID: Erm2BPnikvB

--HG--
rename : dom/animation/test/chrome/test_animation_performance_warning.html => dom/animation/test/chrome/file_animation_performance_warning.html
extra : rebase_source : 19160631c3cd7a067ac47e02bc69c7b08f0169f2
2017-01-06 07:42:58 +09:00
Dustin J. Mitchell
47dccff324 Bug 1326547: require that regexps in by-* match entire string; r=Callek
MozReview-Commit-ID: GxVAGHtCrzf

--HG--
extra : rebase_source : 8f3e573be44478011931d2579a3df09a11eb6e97
2017-01-03 18:43:48 -05:00
Dustin J. Mitchell
bfbc5f350d Bug 1326547: replace get_keyed_by with resolve_keyed_by; r=Callek
MozReview-Commit-ID: FS1nbVyykXV

--HG--
extra : rebase_source : 6cddb3ecb188f2c9c6dafee98c3b0ed5bfdf1955
2017-01-05 13:42:14 -05:00
Karl Tomlinson
9202053bc8 bug 1328352 set alpha component appropriately in operator over for -moz-field r=stransky+263117
MozReview-Commit-ID: AP9JfZTKDse

--HG--
extra : rebase_source : 1f92499b10d16670aa114a624c810846161ca386
2017-01-04 08:43:20 +13:00
Jean-Luc Bonnafoux
05deb31a6e Bug 752823 - Turn nsHTMLLiAccessible::mBullet into raw pointer. r=surkov 2017-01-02 20:41:50 +01:00
Geoff Brown
f1fac27354 Bug 1287099 - Update Ubuntu 12.04 docker image for linux32; r=jmaher 2017-01-09 09:17:49 -07:00
Neil Deakin
726da10015 Bug 1328043, scrolling into view on focus should happen even when event shouldn't fire, fixes tabbing into blank iframes, r=smaug 2017-01-09 11:03:52 -05:00
Hannes Verschore
a299e5e41c Bug 1328826 - IonMonkey: Speculate concatenation on baseline caches, r=jandem 2017-01-09 16:12:35 +01:00
Carsten "Tomcat" Book
64e8aaabee Backed out changeset e4e55af56102 (bug 1325991) on request from mjf
--HG--
extra : rebase_source : aa69eb8d8ca9348d00892e9e2841abc07b91273a
2017-01-09 16:09:44 +01:00
Valentin Gosu
f31077388e Bug 1320087 - Make the captive portal report UNKNOWN when the wifi is down r=bagder
* Start/Stop the captive portal service in nsIOService::SetConnectivityInternal
* Set the captive portal state to UNKNOWN when stopping it.

MozReview-Commit-ID: 5dude1F4lNb
2017-01-09 16:07:03 +01:00
Hannes Verschore
9c3613a9e5 Bug 1328228: Fix missing include, r=failures 2017-01-09 16:01:51 +01:00
Hannes Verschore
09f51a7a0d Bug 1328228: Fix unused variable, r=failures 2017-01-09 15:33:46 +01:00
Hannes Verschore
593cb74ae1 Bug 1328228: IonMonkey - Track optimizations for compares, r=shu 2017-01-09 15:05:39 +01:00
Hannes Verschore
cf910bd3b0 Bug 1328228: IonMonkey - Track optimizations for newarray and newobject, r=shu 2017-01-09 15:05:38 +01:00
Hannes Verschore
2963087fe4 Bug 1328228: IonMonkey - Split IONFLAGS=trackopts to IONFLAGS=trackopts-ext, r=shu 2017-01-09 15:05:37 +01:00
Sebastian Hengst
4516cf1f2d Bug 1326322 - underline new Sync accesskeys. r=jaws
MozReview-Commit-ID: AwqivuT877J

--HG--
extra : rebase_source : c6aa1097c4fa27e997884b438d75c7b75e99cfaa
2016-12-30 01:56:10 +01:00
Jared Wein
f0942cd4b3 Bug 1328798 - Enable the no-delete-var rule for eslint and fix the one error spotted by the rule. r=jkt
MozReview-Commit-ID: 5wKobd1ehAu

--HG--
extra : rebase_source : 0737687ad78e796b5d97be45a2b564db97c371b5
2017-01-05 12:59:50 -05:00
Iris Hsiao
03a9b9a558 Backed out changeset b33b0cfdf138 (bug 1328798) for functional test bustages
CLOSED TREE
2017-01-05 13:07:20 -05:00
Eitan Isaacson
22092a93bf Bug 1307002 - Transition width of narrate word highlight. r=Gijs
MozReview-Commit-ID: 8l2rGV4xQ7F

--HG--
extra : rebase_source : 7fede29677d332e34417fbe8474622fc3c24c0f7
2016-12-28 14:44:20 -08:00
Gijs Kruitbosch
66df3660b9 Bug 1322730 - display undo migration message on about:newtab, r=Dolske
MozReview-Commit-ID: 8nIGdD9XyFH

--HG--
extra : rebase_source : edb3034962fb0f29e7bd245974096b6609718313
2017-01-04 19:05:50 +00:00
Sebastian Hengst
e5329fbf68 Backed out changeset 9647d2c82af4 (bug 1322730) for eslint failures. r=backout 2017-01-04 20:05:06 +01:00
Mark Banner
39df62d9dc Bug 1328338 - Fix more no-undef eslint issues in toolkit/ and browser/. r=mossop
MozReview-Commit-ID: 78dXLYVW1gC

--HG--
extra : rebase_source : 4d2c50697307177c76a71ca7989863f01b05290b
2017-01-03 11:55:24 +00:00
Botond Ballo
e8cc185f9d Bug 1326290 - Correct sequencing of layer transaction and StartAsyncScrollbarDrag messages. r=kats
In cases where a mouse click that starts a scrollbar drag is also what
layerizes the scroll frame, the StartAsyncScrollbarDrag message needs to
arrive after the layer transaction. This patch ensures it does.

MozReview-Commit-ID: A02qRb6yWxg

--HG--
extra : rebase_source : 3517e8c8a578a0bd257a80bb8cb81303d171bb6c
2017-01-04 13:42:36 -05:00
Nicholas Hurley
70f69c9c9a Bug 1320140 - add reporting emails for some predictor telemetry. r=valentin
MozReview-Commit-ID: 3zhAzaYSILb

--HG--
extra : rebase_source : d6b83f93fb367b7abe488934f9b711384ab8676e
2017-01-03 09:22:50 -08:00
J. Ryan Stinnett
0119e527b3 Bug 1321831 - Delay loading RDM devices to allow faster open. r=ochameau
MozReview-Commit-ID: 4UkW0qjSAmr

--HG--
extra : rebase_source : 1d8bb05b41731b8bfe60cb6635bd7ddc3b2ae83f
2016-12-29 11:59:09 -06:00
Chris Manchester
0e8a0a1a8e Bug 1328472 - Collect build stats for Android Taskcluster builds. r=nalexander
MozReview-Commit-ID: J3ARJqSM7in

--HG--
extra : rebase_source : bd91a89da95ce17d55e20053e85a6ef5ab037494
2017-01-03 16:58:20 -08:00
Towkir Ahmed
5fb25d056e Bug 1325570 - The checkboxes from modal can now be checked/unchecked using the left click only; r=jryans
MozReview-Commit-ID: LPRzXjp7q6v

--HG--
extra : rebase_source : 198f3bec99e8a026cbef2f0103b40d1c1e2b53c2
2017-01-04 09:34:37 -06:00
Mike Taylor
a45c16df23 Bug 1328416. Add src param to track where compat reports are coming from. r=sebastian
MozReview-Commit-ID: GNLVJHVWEB4

--HG--
extra : rebase_source : 394c5cf6486271411fd4bff70dd7138f989a133f
2017-01-03 17:10:06 -06:00
Jonathan Watt
9bf8dd0b49 Bug 1328275 - Refactor and comment nsSimplePageSequenceFrame::PrintNextPage to make it easier to understand. r=bobowen 2016-12-28 11:26:31 +00:00
Jan de Mooij
620a16d8f8 Bug 965992 part 4 - Add tests. r=bz 2017-01-07 10:22:30 +01:00
Jan de Mooij
bd6dbbe6b3 Bug 965992 part 3 - Add an is-object debug assert to GuardDOMExpandoMissingOrGuardShape. r=bz 2017-01-07 10:22:12 +01:00
Jan de Mooij
e876c90931 Bug 965992 part 2 - Add inline caches for getting DOM expando properties. r=bz,evilpie 2017-01-07 10:21:43 +01:00
Jan de Mooij
2899972b1e Bug 965992 part 1 - Rename some CacheIR instructions related to DOM proxies. r=bz,evilpie 2017-01-07 10:20:42 +01:00
Cameron McCormack
d4de4e55a0 Bug 1324624 - stylo: More crashtest assertion adjustments.
MozReview-Commit-ID: DM8nLXSiSxr
2017-01-07 16:33:50 +08:00
Masayuki Nakano
b51e97e916 Bug 1272623 part.2 Add automated tests of testing cached inline style at editing r=smaug
MozReview-Commit-ID: 1kIfj3GgCcY

--HG--
extra : rebase_source : 4d808bbea9c5a23464e7e09baa1158ef0adf472c
2016-12-27 18:27:10 +09:00