Commit Graph

505884 Commits

Author SHA1 Message Date
Iris Hsiao
e0c5cc1d8d Backed out changeset 38f4f50cd295 (bug 1324862) for linux web platform failures 2017-01-05 12:21:28 -05:00
Iris Hsiao
4615a8f12c Backed out changeset 5593f1b533da (bug 1328121) for bustage 2017-01-05 11:33:51 -05:00
Geoff Brown
d5bd5dcc64 Bug 1324862 - Set wpt expected status to NOTRUN for object-src-2_1 and object-src-2_2 on linux32 only, for tc migration; r=jgraham
--HG--
extra : rebase_source : 6f12ae4d9f6a7ee3807617bdc18709f89d75f30b
2017-01-05 09:15:12 -07:00
Geoff Brown
4fdfff0c12 Bug 1324870 - Skip test_bug803225.html and test_ext_downloads_misc.js on linux32 only, to enable taskcluster migration; r=jmaher
--HG--
extra : rebase_source : eb4c1e94381f46d54619f0a3ba65e3f5beed2221
2017-01-05 09:15:11 -07:00
ffxbld
568e68ade5 No bug, Automated HPKP preload list update from host bld-linux64-spot-531 - a=hpkp-update 2017-01-05 06:37:03 -08:00
ffxbld
44c438d66d No bug, Automated HSTS preload list update from host bld-linux64-spot-531 - a=hsts-update 2017-01-05 06:37:00 -08:00
Fred Lin
a2db25a007 Bug 1328822 - cache getSelectedRequest with reselect; r=jsnajdr
MozReview-Commit-ID: Eo6repa3Z8z

--HG--
extra : rebase_source : 68b55c7ae389599dd1777625668c910a7087425f
2017-01-05 17:10:25 +08:00
Ting-Yu Lin
e857e2115f Bug 1320014 Part 15 - Replace RectCorner with Corner. r=mats
Rewrite RectCornerRadii::operator==() and RectCornerRadii::AreRadiiSame() by
explicitly expand all the comparisons, and rewrite other explicit for-loops
with NS_FOR_CSS_FULL_CORNERS.

MozReview-Commit-ID: BLBJHla8kyk

--HG--
extra : rebase_source : 464d8973eae6fa58e6931cc65d61900605926b85
2017-01-05 17:07:07 +08:00
Ting-Yu Lin
53633b1c42 Bug 1320014 Part 14 - Convert NS_SIDE_TO_HALF_CORNER to a constexpr function. r=mats
MozReview-Commit-ID: 4MQu8omCdcg

--HG--
extra : rebase_source : 0bce3eb380c2bacd5a4576e1a57c96afb8b57160
2017-01-05 16:23:16 +08:00
Ting-Yu Lin
9a76c43bf0 Bug 1320014 Part 13 - Convert NS_SIDE_TO_FULL_CORNER to a constexpr function. r=mats
MozReview-Commit-ID: 4r4jEN2LklH

--HG--
extra : rebase_source : 8a60bbb322f586af1a859b9408b10685169913e7
2017-01-05 16:13:34 +08:00
Ting-Yu Lin
78cc3f541d Bug 1320014 Part 12 - Convert NS_SIDE_IS_VERTICAL to a constexpr function. r=mats
MozReview-Commit-ID: GFdigJKppuR

--HG--
extra : rebase_source : d3a66d22d99d2988d5c3c44bc1da51e30efa8d1a
2017-01-05 16:07:02 +08:00
Ting-Yu Lin
160ed71c4e Bug 1320014 Part 11 - Convert NS_FULL_TO_HALF_CORNER to a constexpr function. r=mats
Because the new function checks types, we need to change the fullCorner type
in nsComputedDOMStyle::GetEllipseRadii() and
StyleAnimationValue::ExtractComputedValue() from uint8_t to |Corner| to fix
build error.

MozReview-Commit-ID: 5NuFE3yA2QD

--HG--
extra : rebase_source : 8f94209b24bd909839358cd502f462edb9ce3116
2017-01-05 14:59:17 +08:00
Ting-Yu Lin
cf828e1584 Bug 1320014 Part 10 - Convert NS_HALF_TO_FULL_CORNER to a constexpr function. r=mats
MozReview-Commit-ID: 1PECc7hm249

--HG--
extra : rebase_source : 7784720bb9ae061689cba0b30c0aebc779d818b1
2017-01-05 14:39:58 +08:00
Ting-Yu Lin
229d433359 Bug 1320014 Part 9 - Convert NS_HALF_CORNER_IS_X to a constexpr function. r=mats
MozReview-Commit-ID: 3d2opSIjAUc

--HG--
extra : rebase_source : 03e55f0458dd305fa782ca1e46c32069045e86e9
2017-01-05 14:30:14 +08:00
Ting-Yu Lin
df030594f6 Bug 1320014 Part 8 - Move NS_FOR_CSS_HALF_CORNERS to Types.h and rewrite it. r=mats
MozReview-Commit-ID: 5UkZUSe5stP

--HG--
extra : rebase_source : e8c33473a39088d9bd807920630500b31ac6228f
2017-01-05 12:03:23 +08:00
Ting-Yu Lin
797609894a Bug 1320014 Part 7 - Convert half corner indices #define to an enum. r=mats
MozReview-Commit-ID: 8lNtjV14WTN

--HG--
extra : rebase_source : dbfa992a2ee3cab2f639fb5a68463a673410ade6
2017-01-05 11:31:38 +08:00
Phil Ringnalda
c83d1d7ce9 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 51FMtH1yTe6
2017-01-04 18:33:32 -08:00
Dão Gottwald
d6b3b14643 Bug 1322738 - Implement compact about:newtab tiles styling. r=gijs 2017-01-04 22:39:52 +01:00
Tom Schuster
d08f86527e Bug 1328077 - Attach dense element hole IC even with zero dense elements. r=jandem,bhackett 2017-01-04 22:12:05 +01:00
Christoph Kerschbaumer
99eda5a50b Bug 1272594 - Remove special cookie policy handling within InternalRequest (r=bkelly) 2017-01-04 21:43:39 +01:00
Mats Palmgren
23f36915e8 Bug 1328095 - Reftest (also covers bug 1232194). 2017-01-04 21:35:19 +01:00
Mats Palmgren
51a67d7f24 Bug 1328095 - [writing-mode] Make JoinBoxesForVerticalSlice use logical coordinates (and rename it JoinBoxesForBlockAxisSlice accordingly). r=jfkthame 2017-01-04 21:35:19 +01:00
Boris Zbarsky
e080ecc8e9 Bug 1298588 part 16. Remove StyleStructContext. r=bholley 2017-01-04 14:52:27 -05:00
Boris Zbarsky
e95482db38 Bug 1298588 part 15, gecko piece. Rip out the initial() methods on style structs in stylo. r=bholley 2017-01-04 14:52:27 -05:00
Boris Zbarsky
85a6ca2630 Bug 1298588 part 10, gecko piece. Pass through useful default styles to apply_declarations(). r=bholley 2017-01-04 14:52:27 -05:00
Boris Zbarsky
99d2e96def Bug 1298588 part 9, gecko piece. Pass through useful default styles to cascade(). r=bholley 2017-01-04 14:52:27 -05:00
Boris Zbarsky
eebd58fd31 Bug 1298588 part 7, gecko piece. Stop using initial_values in general in Gecko glue code. r=bholley 2017-01-04 14:52:27 -05:00
Boris Zbarsky
bd53996269 Bug 1298588 part 6, gecko piece. Stop using initial_values when doing inheritance in Gecko glue code. r=bholley 2017-01-04 14:52:27 -05:00
Boris Zbarsky
9f8934b143 Bug 1298588 part 4, gecko piece. Recreate the default computed values for a document as needed. r=bholley 2017-01-04 14:52:27 -05:00
Boris Zbarsky
6104ba14f9 Bug 1298588 part 3, gecko piece. Add a default ComputedValues member to PerDocumentStyleData. r=bholley 2017-01-04 14:52:26 -05:00
Boris Zbarsky
a3a6e58c68 Bug 1298588 part 2, gecko piece. Pass through an nsPresContext to the PerDocumentStyleData constructor. r=bholley 2017-01-04 14:52:26 -05:00
Boris Zbarsky
d6ee8eb8a9 Bug 1298588 part 1. Make StyleStructContext work with a const nsPresContext. r=bholley 2017-01-04 14:52:26 -05:00
Boris Zbarsky
6d6f2704fc Bug 1326301. Put the global allocated by SimpleGlobalObject in the system zone, so we don't create tons of zones when we're converting JSON to dictionaries many times over. r=mccr8 2017-01-04 14:52:26 -05:00
Jim Chen
a0b925e4e6 Bug 1319660 - 3. Add test for correctly adjusting last node in content iterator; r=masayuki
Add a test for the previous patch that makes sure querying selected text
in an edge case works correctly.
2017-01-04 14:46:10 -05:00
Jim Chen
7d16ef42f3 Bug 1319660 - 2. Use previous node instead of sibling when adjusting last node; r=masayuki r=smaug
nsContentIterator in pre mode adjusts its last node if the node is a
childless node like <br>. However, right now it's using GetPrevSibling,
which can lead to error in some edge cases such as:

<p></p><div><br></div>

In this case, if the last node is <br> with offset 0, GetPrevSibling
will return <p> because <p> is <br>'s parent's previous sibling, and the
last node will be set to <p>. However, the correct last node in this
case is <div>, because <br> with offset 0 refers to the position to the
left of <br>, which is <div> with offset 0. In this case, PrevNode
returns the correct <div> value, so we should set the last node to the
result of PrevNode.

For the first node, for a childless node in pre mode, GetNextSibling and
NextNode are the same, so there is no bug in this case. Nevertheless,
this patch changes the call to NextNode to be consistent with calling
PrevNode for the last node.
2017-01-04 14:46:10 -05:00
Jim Chen
cdb5767ec4 Bug 1319660 - 1. Don't take shortcut if old replacement ranges don't match; r=esawin
The block at [1] is a shortcut we take when we reconcile Java text
changes with Gecko text changes. However, we only checked that the new
ranges are the same, i.e. that the new Gecko text is the same as the new
Java text. We should also be checking that the old ranges are the same,
i.e. that the replaced Gecko text is the same as the replaced Java text.

[1] https://dxr.mozilla.org/mozilla-central/rev/bbbd2f7539f224a482cc6d2dd10e6a5f31c8baf3/mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoEditable.java#1233
2017-01-04 14:46:10 -05:00
Lee Salzman
7267008bbf Bug 1309205 - part 3 - enable print_via_parent on Linux. r=bobowen
MozReview-Commit-ID: 7CX8ACMeNPa
2017-01-04 14:01:56 -05:00
Lee Salzman
3cff1c818b Bug 1309205 - part 2 - provide NativeFontResourceFontconfig so that print_via_parent works on Linux. r=jfkthame
MozReview-Commit-ID: 94XcLKgwTPq
2017-01-04 14:01:12 -05:00
Lee Salzman
d5f91aa244 Bug 1309205 - part 1 - allow querying FT_Library from gfxPlatform so that Moz2d Factory can use it. r=jfkthame
MozReview-Commit-ID: 7kxseOOVvWi
2017-01-04 14:00:17 -05:00
Ehsan Akhgari
2877f826cb Bug 1328502 follow-up: Move the worker section out of job-defaults to make sure it doesn't apply to the Windows jobs
Landed on a CLOSED TREE
2017-01-04 13:22:07 -05:00
David Anderson
9560f318d9 Simplify calling SendUpdate/SendUpdateNoSwap. (bug 1325993, r=nical) 2017-01-04 12:58:58 -05:00
Ehsan Akhgari
7da8d19514 Bug 1328172 - Support downloading internal resources from tooltool in toolchain-script; r=dustin 2017-01-04 12:25:58 -05:00
Ehsan Akhgari
41aeee7a17 Bug 1328502 - Move the Windows static analysis builds to the static-analysis kind; r=dustin 2017-01-04 12:25:58 -05:00
Ehsan Akhgari
2ffc60ec46 Bug 1328457 - Link clang statically against the MSVCRT on Windows; r=mystor 2017-01-04 12:25:57 -05:00
Henrik Skupin
3f2001d14f Bug 1326047 - Skip unit tests which rely on an instance but Marionette doesn't manage the process. r=ato,maja_zf
Unit tests which do a restart/quit of the application should not be run if Marionette
doesn't handle the instance. Otherwise Marionette is not able to launch the application
again for further tests.

MozReview-Commit-ID: 8mKylM0r4dM

--HG--
extra : rebase_source : 8d1853c376fe36c4f779b3d417edb2dbb829a1a3
2017-01-04 13:04:55 +01:00
Henrik Skupin
3aa44ab017 Bug 1326047 - Remove usage of enforce_gecko_prefs() from test_shadow_dom.py. r=ato
Flipping the preference "dom.webcomponents.enabled" doesn't require a restart.
As such there is no need to use enforce_gecko_prefs().

MozReview-Commit-ID: 6sl1xycwWII

--HG--
extra : rebase_source : 6444825d3addf6a71f1cb495c1dfb79b0fa7c1d4
2017-01-06 09:43:43 +01:00
Gijs Kruitbosch
9d9e6863e5 Bug 1324525 - increment (and unify) telemetry max version for migration-related telemetry probes, r=bsmedberg
We're continuing to iterate and investigate automigration and current user patterns with manual migration.
To facilitate this, we should extend the lifetime of these probes a bit more.

MozReview-Commit-ID: 3PHA09viLF4

--HG--
extra : rebase_source : b84832e610f77c6f867b8d79eeaaadecc34e1fbf
2017-01-05 16:51:23 +00:00
Iris Hsiao
b7eb17e284 Backed out changeset 2a4988f51726 (bug 1323391) for eslint failure 2017-01-06 10:07:52 -05:00
Mike de Boer
f4e5c815e1 Bug 1324143 - part 3 - disable CPU intensive tasks when the page is too big to bother. r=jaws
MozReview-Commit-ID: CIEc2bYnxOq

--HG--
extra : rebase_source : f23d768de4ac35a4c61e44b9bb3b2f44669f5e74
2017-01-06 13:13:28 +01:00
Mike de Boer
15f7ccaaf7 Bug 1324143 - part 2 - stop doing expensive operations when we don't have to. r=jaws
MozReview-Commit-ID: 8v602Hiam4w

--HG--
extra : rebase_source : 38b29cec7dde482a1277b252ef369368a0e548d6
2017-01-06 13:11:31 +01:00