Граф коммитов

486157 Коммитов

Автор SHA1 Сообщение Дата
Iris Hsiao 36c9d770e1 Backed out changeset 41138b630cdc (bug 1293145) for nsCOMPtr crash \
CLOSED TREE
2016-08-09 14:21:22 +08:00
Phil Ringnalda 640043d1a4 Back out 368638f47657 (bug 1293128) for failures in browser_967000_button_sync.js
CLOSED TREE
2016-08-08 21:30:28 -07:00
Ting-Yu Lin 3e0b364f59 Bug 1288626 Part 8 - Add shape-outside support to style system. r=heycam
I have to move the definition of StyleBasicShape and StyleShapeSource prior to
where nsStyleDisplay::mShapeOutside is defined since the template struct need to
be fully defined before using as a member variable.

Use SetIdent() in CreatePrimitiveValueForBasicShapeOrURL() in
nsComputedDOMStyle.cpp per bug 1288626 comment 6.

MozReview-Commit-ID: 1KZS299CFul

--HG--
extra : rebase_source : d96276a1d514e1e42e1daf6f23e6bbfcb92d3bec
2016-07-22 15:40:01 +08:00
Ting-Yu Lin 213646c667 Bug 1288626 Part 7 - Rename StyleClipShapeSizing to StyleClipPathGeometryBox. r=heycam
Change to geometry box to match the name in the spec.
https://drafts.fxtf.org/css-masking-1/#the-clip-path

MozReview-Commit-ID: 8jDTynCkJ4A

--HG--
extra : rebase_source : c2e165e320c1341012b32b48bfb03b3c9b4f56c5
2016-07-28 13:45:43 +08:00
Ting-Yu Lin 9ccd71a0c4 Bug 1288626 Part 6 - Generalize StyleClipPath to be template struct StyleShapeSource. r=heycam
The only difference between clip-path and shape-outside is the reference box
enum, so I generalize StyleClipPath to be a template struct StyleShapeSource to
accommodate both. I'll have to move all the method definition to the header to
make the linker happy.

The only logic change is calling operator==() instead of EqualURIs to compare
urls in StyleShapeSource::operator==().

MozReview-Commit-ID: LOBGVVpnnB

--HG--
extra : rebase_source : eca561500f8f8529cf6e7b5c04372a51c1b62862
2016-08-04 13:43:08 +08:00
Ting-Yu Lin 4ad0c1bbe3 Bug 1288626 Part 5 - Rename StyleClipPathType to StyleShapeSourceType. r=heycam
StyleClipPathType will be generalized to StyleShapeSourceType to match this
change.

MozReview-Commit-ID: Igaad2EoSSt

--HG--
extra : rebase_source : 517d7b968e90f8f83e1223d33bd9d59000e034fd
2016-08-04 11:51:20 +08:00
Ting-Yu Lin e8946e534d Bug 1288626 Part 4 - Rename nsStyleClipPath to StyleClipPath. r=heycam
MozReview-Commit-ID: 2iT4elvtTGd

--HG--
extra : rebase_source : 7a7cb977e288c7fab33e7bb83ad97e30e53844d9
2016-07-28 10:29:33 +08:00
Ting-Yu Lin 74392a7dec Bug 1288626 Part 3 - Rename nsStyleBasicShape to StyleBasicShape. r=heycam
MozReview-Commit-ID: 9NUKpZ4s4kG

--HG--
extra : rebase_source : 52f688a06e9af2733f128a874147276c735db2f1
2016-07-27 18:14:36 +08:00
Ting-Yu Lin d5b06eeac7 Bug 1288626 Part 2 - Use basic shape enum class defined in nsStyleConsts.h. r=heycam
Rename StyleBasicShape to StyleBasicShapeType in nsStyleConsts.h, and
replace the old enum nsStyleBasicShape::Type by the enum class
StyleBasicShapeType.

Also, replace NS_ASSERTION() by MOZ_ASSERT().

MozReview-Commit-ID: EuS4ZtYKsk6

--HG--
extra : rebase_source : b6cb68f91c545cef283c97de222111d3acb64b02
2016-07-27 17:59:33 +08:00
Ting-Yu Lin 30bb6dcff2 Bug 1288626 Part 1 - Move nsBasicShape and nsStyleClipPath into mozilla namespace. r=heycam
MozReview-Commit-ID: D9wwa1rLUNa

--HG--
extra : rebase_source : 763c529a933e1a13a6a16a2d6a6d0439646bf012
2016-07-27 17:38:26 +08:00
Gerald Squelart 5ab439ad36 Bug 1293145 - Simulate video-decode-suspend for telemetry purposes - r=kamidphish
After a video has been playing while hidden for a certain time, count the time
until it is not hidden anymore (or it has finished playing), to test-drive how
much decoding time would have been saved by the video-decode-suspend feature.

Note that this is done inside HTMLMediaElement by simulating what should happen
in the MDSM, because instrumenting the MDSM itself and friends would have been
harder and more intrusive.

MozReview-Commit-ID: LdxhPtmoXeA

--HG--
extra : rebase_source : c4063d7c39b56e62e4f397bc21ef889ed14307c8
2016-08-08 10:14:39 +08:00
Gerald Squelart 9db7ca9050 Bug 1293145 - Histogram for VIDEO_INFERRED_DECODE_SUSPEND_PERCENTAGE - r=francois,kamidphish
Telemetry probe, for feedback (using r? in mozreview) by telemetry peer.

This probe records a what-if scenario where video decoding would be suspended,
so we can guage the actual benefits we would gain.

MozReview-Commit-ID: 5caNjEVl1ti

--HG--
extra : rebase_source : 274b11f935ec53ce31d8b6cf9b256f11cb9ba702
2016-08-08 11:07:39 +08:00
Gregory Szorc a1cbf6ab70 Backed out changeset 7545a33148f1 (bug 1287397) for Valgrind failures 2016-08-08 19:34:41 -07:00
Anthony Jones 4e052f4a73 Bug 1287397 - Fix wave chunk size overflow; r=cpearce
MozReview-Commit-ID: Dg1OT13urxe

--HG--
extra : rebase_source : 60f57edf43f7fb7c83b6db25dffb240993ec5523
2016-08-09 13:34:58 +12:00
Gregory Szorc 13a147d87a Bug 1290282 - Add build type to cache name; r=jonasfj
Without this, "debug" and "opt" builds share the same cache. This
causes builds to randomly fail in automation.

MozReview-Commit-ID: Fend6GGmhFk

--HG--
extra : rebase_source : c3370938364b1e2cc94081d58ba9f35ce1060e5d
2016-08-08 16:27:50 -07:00
Mike Conley 8b8d7d6178 Bug 1290186 - Workaround content process shutdown kills in Firefox UI tests by disabling timeout for some tests. r=whimboo
MozReview-Commit-ID: KiE9xbEWzIo

--HG--
extra : rebase_source : 49bfce3adc4e6462bebbd6c90bf3e68d1d9174cc
2016-08-08 10:47:36 -04:00
Mark Hammond f886853e85 Bug 1293128 - use an appropriate entry-point when opening about:accounts via the SyncedTabs menu. r=eoger
MozReview-Commit-ID: Da9JH92Ny0F

--HG--
extra : rebase_source : 712d0a4eb04e617c73dd75faf54ad6338663a2be
2016-08-08 15:58:30 +10:00
Nils Ohlmeier [:drno] f8f35e1df4 Bug 1293172: improve DTLS handshake error message. r=mt
MozReview-Commit-ID: GM28RvCQ3O4

--HG--
extra : rebase_source : 690ec762844950c7aff2f7382d48de67a7f5e786
2016-08-07 22:34:41 -07:00
Eitan Isaacson 4ab986dd19 Bug 1291837 - Wind all the way back when pressing previous in Narrate. r=jaws
MozReview-Commit-ID: 7dbbPPXHPuX

--HG--
extra : rebase_source : 7a3ad1eaa8e1c3d37d7db85a979546cf2aef2499
2016-08-03 10:40:58 -07:00
Gregory Szorc 7043587cd4 Bug 1293395 - Declare Docker volumes for cache paths; r=dustin
As bug 1291940 shows, aufs can be a real performance drag.

Most performance critical paths in containers are caches. This allows
the use of the host filesystem (instead of aufs), which is much faster
under load.

Unfortunately, most caches are stripped on Try. This means paths that
would be served from the fast host filesystem are now being handled
by aufs. This can make Try jobs slower than non-Try jobs.

This commit declares Docker volumes for popular cache paths. If the
cache is present, the cache takes precedence over the declared volume.
If the cache isn't present, Docker falls back to an empty volume that's
used for the task and only the task.

It's worth noting that desktop-build is updated redundantly with
centos6-build. We currently can't rebuild centos6-build because of
a determinism issue (bug 1272629) breaking valgrind. So, I work around
this by declaring the volume in the top-most "desktop-build" layer.
This hack can be removed once we merge the images.

MozReview-Commit-ID: 7JtxAfI7ED5

--HG--
extra : rebase_source : aec1675c3393d767f5d10130553148155190f19d
2016-08-08 13:38:06 -07:00
Botond Ballo 77a19465e3 Bug 1290823 - Send Gesture:SingleTap even if we're in a chrome document. r=rbarker
MozReview-Commit-ID: 8fRAVdUpM9j

--HG--
extra : rebase_source : 1e29b96467390b2d11b4b1f8976eda1e4fe9aca0
2016-08-08 15:24:11 -04:00
Botond Ballo ddff23b206 Bug 1290823 - Introduce a helper APZCCallbackHelper::GetPresContextForContent(). r=rbarker
And use it in APZCCallbackHelper::GetRootContentDocumentPresShellForContent().

MozReview-Commit-ID: 9Gm8kgbqlHm

--HG--
extra : rebase_source : 5390ee705f4bee567bfc72578c551ccf898ebfef
2016-08-08 15:19:24 -04:00
Botond Ballo 7230352e0f Bug 1290823 - Factor out the code for dispatching a single tap event to observers into its own function. r=rbarker
This is not just a refactoring. It ensures that the early return in the
factored-out code only skips the dispatch to observers, *not* the
additional processing by ChromeProcessController.

MozReview-Commit-ID: F7xCoORKRlG

--HG--
extra : rebase_source : f9ef57d25a54442dd083560029437fcad885149c
2016-08-08 16:12:40 -04:00
Mike Hommey afa6c4d5f3 Bug 1292046 - Add a check that the compiler works with -c out of the box. r=chmanchester
The base compiler check in python configure does some preprocessing,
which ensures the compiler works to some extent. Autoconf used to have
a more complete test, doing a compile/link. We do have plenty of tests
afterwards that do that anyways, but it's better if we fail early if
the toolchain fails somehow.

This refactors try_compile such that the *_compiler variable themselves
can be used to trigger compiler tests. Eventually, we'll want something
similar for preprocessing and possibly other invocations.

This also removes similar tests from build/autoconf/toolchain.m4.

--HG--
extra : rebase_source : c60d1d6e39b6bd2a377516687affd9b8932ebc12
2016-08-04 15:51:47 +09:00
Mike Hommey 6bdf5756ec Bug 1292046 - Add language to the compiler namespace. r=chmanchester
--HG--
extra : rebase_source : c258416a1cec59627e27d4f59e40f1425464f9c5
2016-08-04 16:24:29 +09:00
Mike Hommey 69e768cba4 Bug 1292439 - Use a fake _winreg module during tests. r=chmanchester
While on automation, there is no MSVC to find through the registry, the
story is different on local builds, and that can interfere with tests.

Specifically, it breaks test_toolchain_configure.py because it's not
expecting the registry to provide a valid path to an almost valid
compiler, and then fails because that compiler doesn't match the
expected target CPU.

And because build/moz.configure/toolchain.configure also affects the PATH
environment variable, subsequent tests end up failing even earlier
because executing the empty mozconfig with the modified environment then
fails because of the unicode value of PATH.

This change implements enough of _winreg to make the get_registry_values
function return nothing.

--HG--
extra : rebase_source : f70e40ddabaed1197f6cddce67832bb112f1969d
2016-08-05 14:16:35 +09:00
Mike Shal 035d0ca1a0 Bug 1293385 - Remove idls attribute from BackendMakeFile; r=gps
MozReview-Commit-ID: 4X9iIJArkYg

--HG--
extra : rebase_source : e31ff98109e0f25fadc6f17c685302a2252b214a
2016-08-05 13:23:44 -04:00
Dustin J. Mitchell 6d7445298d Bug 1293397: run taskgraph-tests when things change; r=gps
This fixes the use of the bogus pattern `taskcluster/**.py` which does not
actually match python files in subdirectories.

MozReview-Commit-ID: 3UqM5UQ0HOE

--HG--
extra : rebase_source : 73eec18034a11256273589b69b6d95aabceecd03
2016-08-08 21:25:23 +00:00
Bryce Van Dyk 77cdb2b31b Bug 1211959 - Tests check if video has started using played range. r=automatedtester
Previously the tests would check if playback had started by looking at the first
recorded time, and then looking at the current time. If there were a lag it was
possible for the first recorded time to be at the end of the video (i.e.
playback already finished), in which case the video playing would not register.
This patch instead uses the played ranges from the video element. Now so long as
there is a non-empty played range we trust playback started.

MozReview-Commit-ID: 5C39A42KRdj

--HG--
extra : rebase_source : e4e8a35df3bac4c9e7765272acb6300b44b45d4e
2016-08-05 12:38:54 +12:00
Henrik Skupin 394a12a733 Bug 1275674 - Mozharness script for firefox-ui tests should use 'abs_blob_upload_dir'. r=jlund
MozReview-Commit-ID: 3xKlKihoX2c

--HG--
extra : rebase_source : 283fc94eda0bc69b0fc12ffdeed27d75038f0888
2016-08-05 00:42:14 +02:00
Gregory Szorc a00feedd9f Backed out changeset fc1ed3fd8584 (bug 1291473) on suspicion of breaking decision tasks 2016-08-08 13:15:37 -07:00
Gregory Szorc 95caf4dde4 Bug 1290282 - Switch to 16 vCPU instances for build tasks; r=dustin
We've created a new worker type based on c4.4xlarge and m4.4xlarge
instances to replace the existing worker types based on c3.2xlarge,
m3.2xlarge, and r3.2xlarge. The new worker type has 16 vCPU instead
of 8, which makes build tasks complete ~10 minutes faster.

We've also consolidated down into a single pool for workers.

MozReview-Commit-ID: sOfKspFjCS

--HG--
extra : rebase_source : 8c7b030e0d9376dd9c07b71b8987be0c300fb691
2016-08-08 12:38:19 -07:00
Dustin J. Mitchell 0027ea52f4 Bug 1291473: put l10n artifacts in the same place as other builds; r=Callek
Also add jobKind: build

MozReview-Commit-ID: 1Z0L8twJJC5

--HG--
extra : rebase_source : 69636edaebff086aaca49b4843c3d73a4ca0bdcc
2016-08-02 22:10:42 +00:00
Dustin J. Mitchell 05e1597215 Bug 1291473: accept pushdate from command line; r=garndt
MozReview-Commit-ID: BrGiowlMVCa

--HG--
extra : rebase_source : cf257129fcb1f6214949407b6a3956fd9698aa5b
2016-07-13 18:50:50 +00:00
Dustin J. Mitchell 4d9c99009b Bug 1291473: set tier explicitly for SM and Hazard jobs; r=sfink
MozReview-Commit-ID: BKnbx0wsyue

--HG--
extra : rebase_source : 7052b3cd0fba3e28b8f332098969a011265605bf
2016-07-26 19:34:48 +00:00
Dustin J. Mitchell e5153458ba Bug 1291473: move hazard tooltool cache to the usual location; r=sfink
MozReview-Commit-ID: IMi2KNclKb9

--HG--
extra : rebase_source : 8e754faad40c79f141b9f06b4153b99006c0b911
2016-08-02 18:52:08 +00:00
Dustin J. Mitchell 6733881fbd Bug 1291473: set tier explicitly for SM jobs; r=sfink
MozReview-Commit-ID: JfQ53hy8aTs

--HG--
extra : rebase_source : 7588b343ef509c26c8b2880cda385a2019252df6
2016-08-02 18:51:25 +00:00
Dustin J. Mitchell 94b02140ae Bug 1291473: mark valgrind builds explicitly as tier-1; r=kmoir
MozReview-Commit-ID: 3brmQIyjXEj

--HG--
extra : rebase_source : 0bdfdb8f2212ec906bd96a70d817e5e9791f90c0
2016-07-26 18:25:49 +00:00
Dustin J. Mitchell c4a330e3fd Bug 1291473: set tier explicitly for android partner builds; r=Callek
MozReview-Commit-ID: traMeOsxxg

--HG--
extra : rebase_source : e30a4ebf050faec7fb390f2e819d31299ed3dc9a
2016-07-26 17:34:41 +00:00
Dustin J. Mitchell e4ed9f2279 Bug 1291473: set mulet tier explicitly r=gerard-majax
MozReview-Commit-ID: 8TA56XdGFU7

--HG--
extra : rebase_source : 56511fae4500f81216e03850cf912ed94394982d
2016-07-26 14:33:59 +00:00
Dustin J. Mitchell 0252ecf39d Bug 1291473: set TOOLTOOL_CACHE for android-api-15* builds; r=gbrown
MozReview-Commit-ID: 4tPKzZAeUW

--HG--
extra : rebase_source : 3c6f791b5fcbb43b9e83a44a3b7ed22ef6d2656c
2016-07-26 13:28:25 +00:00
Dustin J. Mitchell 24704cfe85 Bug 1291473: set tiers explicitly; r=mshal
MozReview-Commit-ID: IPmiAWw5QEF

--HG--
extra : rebase_source : 709b81479f2702663b8ed808640997290127850b
2016-07-25 21:02:12 +00:00
Dustin J. Mitchell dab2cd3e66 Bug 1291473: set tier for st-an builds; r=Callek
MozReview-Commit-ID: 5jYMWrnepkW

--HG--
extra : rebase_source : 33ac9cd78e5e4d03e863efe4787fd545790fd5d5
2016-07-26 18:04:43 +00:00
Dustin J. Mitchell 256d916b0e Bug 1288132: remove unused desktop-l10n image; r=Callek
MozReview-Commit-ID: 3onYNrrvuUZ

--HG--
extra : rebase_source : 002ec9c8de699272b5c6c69493b9981b1f8d91e3
2016-08-08 16:29:36 +00:00
Lin Clark 3b17894be0 Bug 1288756 - New console frontend: Use ConsoleMessage and not packet data for repeatId. r=bgrins
--HG--
extra : rebase_source : 27ee4becb125cdcd936c3ac7c8418ee7c432a24a
2016-07-22 11:16:50 -04:00
Gregory Szorc 09bbefe2f5 Bug 1291365 - Remove hgrc file from desktop1604-test image; r=dustin
This was likely a cargo cult. Mercurial's config is now managed by
install-mercurial.sh, which is called by the base image.

MozReview-Commit-ID: 3uNN880cm2f

--HG--
extra : rebase_source : c7555ca8ab41356ab10f4c02938a9c8add1acc61
2016-08-05 16:01:38 -07:00
Gregory Szorc 4c28696c13 Bug 1291365 - Add run-task to ubuntu1604-test image; r=dustin
MozReview-Commit-ID: 4GCJs6lQt3u

--HG--
extra : rebase_source : 229d5fc18864125a045f007f8dd345e9a99a74b4
2016-08-05 09:24:10 -07:00
Gregory Szorc 3fb22e4eb5 Bug 1291365 - Use install-mercurial.sh in ubuntu1604-test; r=dustin
MozReview-Commit-ID: EiNT8Lmr8O6

--HG--
extra : rebase_source : 3f45552b52609ba628a37ee9f94d5343fe2073e1
2016-08-05 09:23:31 -07:00
Gregory Szorc 05ce191b51 Bug 1291365 - Install tooltool securely in ubuntu1604-test image; r=dustin
And make it deterministic since we are using a vendored file.

MozReview-Commit-ID: 4ZvMRt9BSZi

--HG--
extra : rebase_source : e2dbdb2d83bc910592eddd598e7c51748e8be4e2
2016-08-05 09:21:57 -07:00
Gregory Szorc b6ec7c5d8f Bug 1291365 - Specify Ubuntu version in ubuntu1604-test image; r=dustin
Without this, we'll use the latest Ubuntu release at image build time!

MozReview-Commit-ID: DmUcwKPkL78

--HG--
extra : rebase_source : 45edb72205bba3667abdf5d9ac79f1f66811ddc5
2016-08-05 09:20:02 -07:00