Commit Graph

506007 Commits

Author SHA1 Message Date
Mark Hammond
5f7905c8f3 Bug 1289536 (part 2) - Add a unique flowID GUID to each command sent via the clients collection. r=rnewman
MozReview-Commit-ID: 4eTFDq4Yr7S

--HG--
extra : rebase_source : faa5cb3ddd41e107b898412b0c9c5899df91c335
2016-11-04 12:46:57 +11:00
Mark Hammond
85c80336b8 Bug 1289536 (part 1) - Add events to Sync ping. r=gfritzsche
MozReview-Commit-ID: 184fIhelOa6

--HG--
extra : rebase_source : bf7c96a473b92a42411fe5c94ac6802d42ff57d5
2016-11-04 17:57:09 +11:00
Jan Beich
f77c4a415c Bug 1329466 - Unbreak build on non-SPS platforms after bug 1323100. r=mstange
MozReview-Commit-ID: Af1CuVYSNCj

--HG--
extra : rebase_source : ac6c76674785912a24081e7140df33ec0c2789e1
2017-01-08 03:04:48 +00:00
Jarda Snajdr
4d20e08a8c Bug 1329147 - Optimize rendering of RequestListItem r=Honza
MozReview-Commit-ID: 8SZbK3yCOBR

--HG--
extra : rebase_source : 4b2b2ecfe10d25f8c982b7781793a421dafb6275
2017-01-05 11:25:41 +01:00
Ting-Yu Lin
54c22b733c Bug 1311244 Part 7 - Implement shape-outside: circle(). r=dbaron
circle() allows the user to define an empty flow area, so IsEmpty() needs to
be overridden.

The flow area defined by a shape needs to be clipped to the margin-box per
https://drafts.csswg.org/css-shapes/#relation-to-box-model-and-float-behavior

In the reftests, both clip-path and shape-outside uses the same value so
that it's easier to debug visually.

Add LogicalPoint::LineRelative() because we need to convert a point's I() to
the line-axis in nsFloatManager. LineRelative() differs from I() in all
'rtl' direction per
https://drafts.csswg.org/css-writing-modes-3/#logical-to-physical

MozReview-Commit-ID: FxQaFPrEQ73

--HG--
extra : rebase_source : 02b4eafdff42477ef2c69d604a1650db01f954e4
2017-01-06 16:36:43 +08:00
Ting-Yu Lin
af28dce861 Bug 1311244 Part 6 - Add ShapeInfo and move <shape-box> impl to BoxShapeInfo. r=dbaron
Create ShapeInfo as a base class for implementing all the shapes. In this
design, we only need to create the correct subclass in FloatInfo's
constructor whenever shape-outside is used rather than manually branching on
StyleShapeSourceType and StyleBasicShape in all the methods like
LineRight(), LineLeft(), etc.

The concrete subclass of ShapeInfo could focus on implementing how its shape
influence the flow area by overriding the needed methods in ShapeInfo.

Move ComputeEllipseLineInterceptDiff() and XInterceptAtY() under the scope
nsFloatManager so that they could be used by BoxShapeInfo and all the other
ShpapeInfo subclasses yet to come.

MozReview-Commit-ID: ETVc5FdGNha

--HG--
extra : rebase_source : c73b0d0be2350db3eedb61b565de194842352ba1
2017-01-06 16:36:30 +08:00
Ting-Yu Lin
6dbe03d519 Bug 1311244 Part 5 - Convert FloatInfo's copy constructor into a move constructor. r=dbaron
Use move constructor for two reasons. 1) The copy constructor is needed only
when appending FloatInfo to mFloats, so using move constructor will likely
be more efficient if some of the member variables support move constructor.
2) Part 6 will added a UniquePtr member to FloatInfo, so using move
constructor becomes necessary.

Also change the return value of AddFloat() to void to simplify the code,
since all the other callers do not check the return value, and
BlockReflowInput::FloatAndPlaceFloat() only asserts in debug mode. I assume
it's safe to omit the OOM check.

MozReview-Commit-ID: GVbbsdBjr7b

--HG--
extra : rebase_source : 4765bbcf5c2533845bd8f7fb00117983429a622e
2017-01-06 16:36:19 +08:00
Ting-Yu Lin
b78b4d97c4 Bug 1311244 Part 4 - Extract the computation of circle radius as ComputeCircleRadius(). r=dbaron
MozReview-Commit-ID: LJNvNOoc7FI

--HG--
extra : rebase_source : 1dd13c1727c2c31aad80995dcd4edaecf77819da
2017-01-06 16:36:05 +08:00
Ting-Yu Lin
93b5370abd Bug 1311244 Part 3 - Extract the computation of center as ComputeCircleOrEllipseCenter(). r=dbaron
MozReview-Commit-ID: A6OTJ9PD43c

--HG--
extra : rebase_source : c8b16ffaaf00c4ed3ec722d7502262005e9e21ec
2017-01-06 16:35:53 +08:00
Ting-Yu Lin
e42b15fcf6 Bug 1311244 Part 2 - Create ShapeUtils, and move EnumerationToLength into it. r=dbaron
More functions in nsCSSClipPathInstance will be refactored and moved into
ShapeUtils in subsequent patches.

MozReview-Commit-ID: LmJUevY8YGr

--HG--
extra : rebase_source : 7cbfe60fec65833db3c7b7d7e9f3157b49b777eb
2017-01-06 16:35:29 +08:00
Ting-Yu Lin
8cddb87ec2 Bug 1311244 Part 1 - Use nsPoint type for center in nsCSSClipPathInstance. r=dbaron
|center| should be of nsPoint type since all the arguments of
ComputeObjectAnchorPoint() uses nsPoint and nsSize. We should only convert
center to Point (which is an an UnknownUnits type) for APIs requiring Point
type.

MozReview-Commit-ID: EDrQGPUZp6m

--HG--
extra : rebase_source : 813b8cb203752e6c63b0a405473f7d0cd9dbc3e6
2017-01-06 16:35:00 +08:00
Ting-Yu Lin
a564d3c513 Bug 1311244 Part 0 - Preemptively fix unified build bustage in nsLayoutUtils. r=dbaron
The is a preemptively fix for unified bustage after Part 2 adds a new file
under layout/base/.

The error was:
In static member function 'static bool nsLayoutUtils::SupportsServoStyleBackend(nsIDocument*)':
invalid static_cast from type 'nsIDocument*' to type 'nsDocument*'

MozReview-Commit-ID: A8xTSPgh8Ls

--HG--
extra : rebase_source : 35935c10e6fee97702ae2cdcd5651ef5096ed195
2017-01-06 16:34:33 +08:00
Ricky Chien
49b18815e5 Bug 1328828 - Implement Properties View r=Honza,jsnajdr
MozReview-Commit-ID: EuFGC12V6BU
2017-01-08 12:55:13 +08:00
Ryan VanderMeulen
1a1fd2a00e Merge inbound to m-c. a=merge 2017-01-07 22:14:35 -05:00
Nathan Froyd
d489d17c87 Bug 1322553 - part 3 - add profiler start/end markers for sync IPC; r=mstange
This is gnarly IPDL code, but the generated code is probably easier to
review.  Before when sending a sync message, we had:

    bool sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    if ((!(sendok__))) {
        return false;
    }

Now, we have:

    bool sendok__;
    {
        GeckoProfilerTracingRAII syncIPCTracer(
                "IPC",
                "PJavaScript::Msg_PreventExtensions");
        sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    }
    if ((!(sendok__))) {
        return false;
    }
2017-01-07 15:56:49 -05:00
Nathan Froyd
a747eb3f2c Bug 1322553 - part 2 - use the new constructor of GeckoProfilerTracingRAII; r=mstange
This patch is not strictly relevant to the current bug, but doing the
work here nicely illustrates how the constructor we added in part 1 can
be used in existing parts of the codebase.
2017-01-07 15:56:49 -05:00
Nathan Froyd
9f924cc32c Bug 1322553 - part 1 - add a non-backtrace-taking constructor for GeckoProfilerTracingRAII; r=mstange
Sometimes there's no backtrace available, but you still want to denote
an interesting event.
2017-01-07 15:56:49 -05:00
Ryan VanderMeulen
da6a7dfab8 Merge inbound to m-c. a=merge 2017-01-07 15:32:04 -05:00
Sebastian Hengst
00f044376d Backed out changeset a3c50d608b69 (bug 1308271) for various test failures. r=backout on a CLOSED TREE
--HG--
rename : browser/extensions/webcompat/test/browser.ini => browser/extensions/webcompat/test/browser/browser.ini
rename : browser/extensions/webcompat/test/browser_check_installed.js => browser/extensions/webcompat/test/browser/browser_check_installed.js
2017-01-07 18:51:24 +01:00
Andrew McCreight
542343e117 Bug 1325438 - Remove leak checking whitelist for tests/dom/xhr/tests. r=jmaher
MozReview-Commit-ID: 48elhM564zJ

--HG--
extra : rebase_source : b1f665ab81afa26ed4ec06aa021251636bb462a1
2017-01-06 13:15:53 -08:00
Randell Jesup
2663bd16e0 Bug 1326463 - Fix OpenBSD build broken by webrtc.org 49 update. r=gaston, r=jesup
--HG--
extra : histedit_source : e18f813ace63db9f9ea6b35437e9b87bb84f4e26%2C9da31e71e8591e1ba49000c0261b55404802b32d
2017-01-06 11:36:00 -05:00
Thomas Wisniewski
c6aea6cc68 Bug 1329365 - Follow-up adding 201, 202, and 205 to the list of response codes which suppress XML parsing errors. r=bz 2017-01-06 23:23:56 -05:00
Thomas Nguyen
40bcddbe8a Bug 1329065 - Check the correct policy when setting referrer header. r=mcmanus
MozReview-Commit-ID: JG5DVBqGczS
2017-01-06 11:26:24 +08:00
André Bargull
f1745c546c Bug 843758 - Generate currency information for Intl with make_intl_data.py. r=Waldo
--HG--
extra : rebase_source : b7e4007e48a1aea21ef52f28a15e1b1358e239d7
2017-01-06 14:09:58 -08:00
Dragana Damjanovic
1b10767070 Bug 1320252 - Send early-data even without alpn. r=keeler
--HG--
extra : rebase_source : b1d45d7014ed58cb8531d09374f1a5c27668e6ac
2017-01-06 11:51:00 -05:00
Jalen Adams
5f953f5097 Bug 1326581 - Rewrite PointerlockFsWarning.Timeout to use ES6-class. r=jaws
MozReview-Commit-ID: ISK3gO2vo1r

--HG--
extra : rebase_source : 8d14f337816a9ab084a85e4a07ba34395398246e
2017-01-05 19:30:54 -05:00
Edouard Oger
cc7fbb3df8 Bug 1201335 - Display notification when a new device is added to Sync account. r=markh
MozReview-Commit-ID: D03prgIdL1M

--HG--
extra : rebase_source : 424372a3499e121cb76553f55d94057b017f2482
2017-01-04 19:21:36 -05:00
Jared Wein
b33bfba51a Bug 1329017 - Enable the no-useless-return rule for eslint and use eslint --fix to autofix the errors. r=standard8
MozReview-Commit-ID: 2MhpvzUDgtK

--HG--
extra : rebase_source : 1df2b81badfe556928f6424c8990e4b3fde7056f
2017-01-06 12:09:28 -05:00
Jared Wein
43cacee3a5 Bug 1328995 - Remove unnecessary Promise.resolve() wrapper on return from async function. r=kmag
MozReview-Commit-ID: Jp40DyphLDj

--HG--
extra : rebase_source : 072fe57dd78e2f227703ba194b11156fcfe070b4
2017-01-05 15:55:30 -05:00
djmdev
66788a726d Bug 1325567 - Added tooltip to rotate viewport button. r=jryans
--HG--
extra : rebase_source : bd7ef1797251da80290ed5ed5cf85b8aa82a95bb
2017-01-05 01:59:08 +05:30
Jason Laster
621c3be280 Bug 1328679 - Uplift a couple bugs. r=ttromey
--HG--
extra : rebase_source : 0c2c61dc0a67174dc6e0c2c5b04072c1539de799
2017-01-04 12:05:00 -05:00
Dennis Schubert
4869a6b0d9 Bug 1308271 - Import sources of the WebCompat Go Faster add-on V1. r=felipe
--HG--
rename : browser/extensions/webcompat/test/browser/browser.ini => browser/extensions/webcompat/test/browser.ini
rename : browser/extensions/webcompat/test/browser/browser_check_installed.js => browser/extensions/webcompat/test/browser_check_installed.js
extra : rebase_source : 8cee8e333864b29ab13b11c4bd68a00958b6490d
2017-01-06 17:46:57 +01:00
Nathan Froyd
4ccf79d833 Bug 1329185 - remove check for __attribute__((always_inline)); r=mshal
We never use the result of this check, and every place that would care
about this just does the check via compiler preprocessor checks.
2017-01-07 11:23:42 -05:00
Ryan VanderMeulen
1e6f972917 Merge inbound to m-c. a=merge 2017-01-07 11:22:47 -05:00
Ryan VanderMeulen
c68b271d72 Merge autoland to m-c. a=merge 2017-01-07 11:20:04 -05:00
Ryan VanderMeulen
f35d8f4f3b Backed out changeset 2a694bf4a9de (bug 1323241) for causing frequent GC crashes in CI. 2017-01-07 10:45:47 -05:00
Ryan VanderMeulen
e9ea578bba Backed out changesets 29bc945061a0 and 1c11ff13ba6c (bug 1324773) for causing frequent GC crashes in CI. 2017-01-07 10:45:39 -05:00
ffxbld
6827750e66 No bug, Automated HPKP preload list update from host bld-linux64-spot-546 - a=hpkp-update 2017-01-07 06:36:03 -08:00
ffxbld
92a362582c No bug, Automated HSTS preload list update from host bld-linux64-spot-546 - a=hsts-update 2017-01-07 06:36:00 -08:00
Iris Hsiao
7adb57a57f merge autoland to mozilla-central a=merge 2017-01-06 11:06:17 -05:00
Iris Hsiao
1e82e8d079 merge mozilla-inbound to mozilla-central a=merge 2017-01-06 10:59:19 -05:00
ffxbld
68a729dd6b No bug, Automated blocklist update from host bld-linux64-spot-039 - a=blocklist-update 2017-01-06 07:23:27 -08:00
ffxbld
04434ca4a5 No bug, Automated HPKP preload list update from host bld-linux64-spot-039 - a=hpkp-update 2017-01-06 07:23:25 -08:00
ffxbld
0278abfdb1 No bug, Automated HSTS preload list update from host bld-linux64-spot-039 - a=hsts-update 2017-01-06 07:23:22 -08:00
Masayuki Nakano
b2778c3a90 Bug 1272623 part.3 HTMLEditRules::ReapplyCachedStyles() shouldn't set style to TypeInState if it's currently applied r=smaug
The target node of HTMLEditRules::ReapplyCachedStyles() may be styled with its parent.  When HTMLEditRules::ReapplyCachedStyles() is called, it shouldn't restore another style cache if it's already specified in current DOM tree.

MozReview-Commit-ID: DKCpQ8YyW7

--HG--
extra : rebase_source : 854b4cc6382f5357919bce1e106e71fe66b15444
2017-01-06 22:35:48 +09:00
Xidorn Quan
cddd3c28b2 Bug 1329076 followup - Fix bustage.
MozReview-Commit-ID: ESupMqRP4ff
2017-01-06 22:10:08 +11:00
Wes Kocher
0f254a30d6 Merge inbound to central, a=merge
MozReview-Commit-ID: 1ij6nLf8f8s
2017-01-05 17:30:35 -08:00
Wes Kocher
33ad0c8ef8 Merge autoland to central, a=merge
MozReview-Commit-ID: FuAgy3YQ0De
2017-01-05 17:24:15 -08:00
Iris Hsiao
c3cda2a39a Backed out changeset 5ddb2e58bb74 (bug 1287099) 2017-01-05 12:21:35 -05:00
Iris Hsiao
8ca3b2dc24 Backed out changeset 724fdfe8f396 (bug 1324870) 2017-01-05 12:21:31 -05:00