Commit Graph

637554 Commits

Author SHA1 Message Date
Makoto Kato
376eb1a4da Bug 1528665 - Remove GetAndroidSystemInfo sync IPC. r=geckoview-reviewers,mccr8,snorp
nsSystemInfo is initialzied at first page load. Actually, content process uses
sync IPC to get Android OS information. But now, we can use Java code even if
on content process, so we should use JNI directly instead of sync IPC.

Also, nsSystemInfo still has unused extern android_sdk_version that is for
HoneyComp's DNS hack.  So let's remote it.

Differential Revision: https://phabricator.services.mozilla.com/D20129

--HG--
extra : moz-landing-system : lando
2019-02-19 21:19:14 +00:00
Csoregi Natalia
8cbfee3cf7 Backed out changeset db927eedd355 (bug 1504766) for multiple failures e.g browser_ext_management_themes.js. CLOSED TREE 2019-02-20 08:55:36 +02:00
Boris Chiou
9c1af40b1a Bug 1505225 - Part 2: Add a reftest. r=hiro
Depends on D20412

Differential Revision: https://phabricator.services.mozilla.com/D20413

--HG--
extra : moz-landing-system : lando
2019-02-20 02:00:59 +00:00
Boris Chiou
b332718138 Bug 1505225 - Part 1: Make sure we also check the existence of individual transform animations. r=hiro
nsIFrame::BuildDisplayListForStackingContext() will check the existence
of transform animations, so we need to update
nsLayoutUtils::HasAnimationsOfPoperty(). However, checking only
eCSSProperty_transform is not enough. We have to check all the transform-like
properties. Therefore, we update these functions to accept a property
set as the argument, and pass a collection of transform-like properties
into them.

Differential Revision: https://phabricator.services.mozilla.com/D20412

--HG--
extra : moz-landing-system : lando
2019-02-20 02:14:39 +00:00
Dão Gottwald
626799efc8 Bug 1504766 - Let explicit Dark and Light themes ignore the Windows 10 setting for accent color in title bars. r=ntim,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D19764

--HG--
extra : moz-landing-system : lando
2019-02-20 05:36:40 +00:00
Karl Tomlinson
a5ba519324 Bug 1528876 enable AudioWorklet in Nightly Web Audio wpt r=padenot
With https://bugzilla.mozilla.org/show_bug.cgi?id=1474463, "release_or_beta"
annotations are not required on the subtest expected results that exist on
some branches but not others due to test timeouts, errors, etc.

Differential Revision: https://phabricator.services.mozilla.com/D20271

--HG--
extra : moz-landing-system : lando
2019-02-19 13:03:57 +00:00
Henrik Skupin
3f4cbeebe6 Bug 1528836 - [marionette] Allow check_for_port to raise exceptions. r=automatedtester
Differential Revision: https://phabricator.services.mozilla.com/D20311

--HG--
extra : moz-landing-system : lando
2019-02-20 05:29:36 +00:00
Jeff Gilbert
6fc6d8596f Bug 1290770 - Log bad tex upload calls and errors. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D20429

--HG--
extra : moz-landing-system : lando
2019-02-20 04:43:32 +00:00
Daniel Varga
f4811b8539 Merge mozilla-central to autoland. a=merge 2019-02-20 06:04:25 +02:00
Daniel Varga
4587d14668 Merge mozilla-inbound to mozilla-central. a=merge 2019-02-20 06:01:45 +02:00
Brian Birtles
c877e10230 Bug 1525809 - Add web-platform-tests for style flushing behavior from Web Animations API; r=hiro
Issue: https://github.com/w3c/csswg-drafts/issues/3613
Corresponding spec change: 78dc281b2c

Differential Revision: https://phabricator.services.mozilla.com/D20241

--HG--
extra : moz-landing-system : lando
2019-02-20 01:56:34 +00:00
Brian Birtles
ea39f908c4 Bug 1525809 - Convert async_test in Document/getAnimations.html to a promise_test; r=hiro
In the next patch in this series, we will add another test to
web-animations/interfaces/Document/getAnimations.html. Doing so would cause an
existing async_test to fail since it will affect the result of
Document.getAnimations() because async_tests run in parallel. To avoid that,
this patch converts the async_test to a promise_test since promise_tests, unlike
async_tests, wait for the previous promise_tests to finish before running.

Differential Revision: https://phabricator.services.mozilla.com/D20240

--HG--
extra : moz-landing-system : lando
2019-02-20 01:56:14 +00:00
Dorel Luca
0c4863aaf0 Backed out changeset ac4f1b5527fd (bug 1525470) for failures in geckoview in org.mozilla.geckoview.test.AccessibilityTest.testCheckbox. CLOSED TREE 2019-02-20 02:53:14 +02:00
Dorel Luca
6e4967f76e Backed out changeset 74922ea29d44 (bug 1490671) for browser-chrome failures in browser/components/preferences/in-content/tests/browser_sync_pairing.js 2019-02-20 02:43:16 +02:00
Mike Hommey
53509aba7d Bug 1528900 - Actively prevent nightly tasks from depending on sccache. r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D20300
2019-02-20 07:52:43 +09:00
Mike Hommey
3a860e2e63 Bug 1528900 - Remove sccache dependencies from nightly builds. r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D20299
2019-02-20 07:52:38 +09:00
Mike Hommey
d57b04ae8b Bug 1528886 - Remove --enable-jemalloc from mozconfigs. r=dmajor
Builds that should have jemalloc enabled already have it enabled by
default. An explicit --enable-jemalloc is not necessary.

Differential Revision: https://phabricator.services.mozilla.com/D20273
2019-02-20 07:52:20 +09:00
Mike Hommey
b228df0c91 Bug 1528884 - Change how --enable-eme is handled. r=ted
It used to be that --enable-eme on its own had some effect, but that's
not the case anymore. The only thing it does as of bug 1300654 is to
switch the defaults in the Firefox configuration.

Reflect that in how we handle --enable-eme.

Differential Revision: https://phabricator.services.mozilla.com/D20270
2019-02-20 07:51:48 +09:00
Mike Hommey
41d0022e0c Bug 1528860 - Synchronize artifact command --job options with artifacts.JOB_DETAILS. r=ted
Differential Revision: https://phabricator.services.mozilla.com/D20227
2019-02-20 07:46:41 +09:00
Mike Hommey
079a4d2441 Bug 1528499 - Don't PGO the base-toolchain tasks on release branches. r=ted
Differential Revision: https://phabricator.services.mozilla.com/D20080
2019-02-20 07:46:31 +09:00
Mike Hommey
2ead86b7c1 Bug 1528241 - Add a trace mode to python configure that logs internal values. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D19940
2019-02-20 07:46:22 +09:00
Mike Hommey
b2f1a3fc7f Bug 1528194 - Run config.sub when split_target fails when not running it. r=mshal
In bug 1522354, we changed host and target detection to not invoke
config.sub, assuming the output from config.guess would satisfy our
needs in split_target.

It turns out that on some plaforms, that doesn't work out, so, while we
still skip config.sub, we now catch errors from split_target when doing
so, and try again after running config.sub when split_target fails.

Differential Revision: https://phabricator.services.mozilla.com/D19937
2019-02-20 07:46:17 +09:00
Mike Hommey
8a74f32d09 Bug 1528194 - Print mach-invoked pseudo-configure output when it fails. r=mshal
Since bug 1522788, mach invokes a part of configure as part of getting
mozconfig and target information for its own purpose. The problem is
that the sandboxed code may sys.exit(), which then makes mach silently
exit.

So when the sandboxed configure code does sys.exit(), instead of
silently failing, we catch the exit call, and print out what we
captured.

Differential Revision: https://phabricator.services.mozilla.com/D19936
2019-02-20 07:46:09 +09:00
Mike Hommey
4b2309140a Bug 1528123 - Allow artifact builds to pull from a specific taskid. r=chmanchester
Currently, artifact builds pull from some task they determine from the
job type, and finding a pushhead.

Sometimes that latter fails, most notably on automation. But automation
can already know the right task to use without guesswork.

This change allows artifact builds to pull from a specific taskid given
through an environment variable, and make tasks from the artifact-build
kind (not the --artifact builds from try) use that.

Remove the workaround from bug 1382982 because it's now dead code.

Differential Revision: https://phabricator.services.mozilla.com/D19881
2019-02-20 07:45:55 +09:00
Mike Hommey
901d68ed91 Bug 1519816 - Simplify build-custom-v8 script and avoid installing packages during build. r=sparky
The build script currently is doing some unnecessary steps:
- Running `gclient` only prints out an help message. It is a step
indicated in various documentations, but is only necessary to keep
depot-tools up-to-date, which they are, since we just cloned it.
- The `fetch v8` command creates a v8 directory, no need to create
another layer.
- `gclient sync` is run as part of `fetch`. Same as `gclient`, this step
is only given in documentations to keep things up-to-date on an existing
clone, but we just freshly got one.
- Same goes for `git pull && gclient sync`
- `git checkout master` is not necessary, as `fetch` gets us there
already (albeit, in a detached head state)
- install-build-deps.sh installs build dependencies for chrome or
whatever. That's way too much for v8, that barely needs pkg-config and
glib, which we now install in the docker image.

Differential Revision: https://phabricator.services.mozilla.com/D20082
2019-02-20 07:45:47 +09:00
Dana Keeler
4b76f8a9eb bug 1513458 - update diagnostic assertions to only assert in content processes r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20411

--HG--
extra : moz-landing-system : lando
2019-02-19 22:22:35 +00:00
Brian Grinstead
672f93b031 Bug 1528969 - Only remove whitespace-only text nodes in parseXULToFragment r=MattN
It was supposed to be doing this already, but we were instead removing _all_ text
nodes, which led the the "Learn More" link not showing up in popupnotifications

Differential Revision: https://phabricator.services.mozilla.com/D20379

--HG--
extra : moz-landing-system : lando
2019-02-19 23:28:30 +00:00
Dorel Luca
b2ea74ab66 Backed out changeset 046ef8ec79cb (bug 1528582) for mochitest failures in js/xpconnect/tests/chrome/test_xrayToJS.xul 2019-02-20 01:40:39 +02:00
Michael Cooper
72c2ff437c Bug 1519276 - Use Feature Gates for Remote Settings integration r=leplatrem,mossop
Differential Revision: https://phabricator.services.mozilla.com/D19723

--HG--
extra : moz-landing-system : lando
2019-02-19 22:41:23 +00:00
Jeff Gilbert
d6410e953a Bug 1528394 - Reduce includes of GLContext.h. r=lsalzman
Splitting part of OGLShaderProgram.h out into OGLShaderConfig.h makes it
easier to keep GLContext.h included in OGLShaderProgram.h for inlining
purposes.

Differential Revision: https://phabricator.services.mozilla.com/D20017

--HG--
extra : moz-landing-system : lando
2019-02-19 23:25:42 +00:00
Ryan VanderMeulen
b394fbb5a9 Bug 1529112 - Update pdf.js to version 2.2.15. r=bdahl 2019-02-19 17:14:35 -05:00
Alexander Surkov
e83ec79232 Bug 1527562 - autocomplete-richlistitem CE is reused for autocomplete-richlistitem-insecure-field and vice-versa, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D20344

--HG--
extra : moz-landing-system : lando
2019-02-19 20:32:18 +00:00
Emilio Cobos Álvarez
16aa4f8561 Bug 1529058 - followup: Green up rusttests. r=me
Work around https://github.com/rust-lang/rust-bindgen/issues/1503 by re-using
the generic Rust type too.
2019-02-20 00:22:05 +01:00
Gerald Squelart
6d2814f092 Bug 1509533 - Include child process profiles in shutdown profiles - r=mstange
Received exit profiles are now stored in the main process' ActivePS and managed
there, including discarding expired profiles (when they don't intersect with the
parent's profile anymore).

nsProfiler may grab exit profiles from the profiler when the add-on needs them.

On shutdown, the profiler now includes non-expired exit profiles.

Differential Revision: https://phabricator.services.mozilla.com/D20277

--HG--
extra : moz-landing-system : lando
2019-02-19 23:14:12 +00:00
Emilio Cobos Álvarez
99549860f7 Bug 1529058 - Use Rust types from transform-origin / perspective-origin. r=mattwoodrow
Depends on D20381

Differential Revision: https://phabricator.services.mozilla.com/D20382

--HG--
extra : moz-landing-system : lando
2019-02-19 20:28:47 +00:00
Emilio Cobos Álvarez
c4ae51b99d Bug 1529058 - Use Rust types for perspective and z-index. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D20381

--HG--
extra : moz-landing-system : lando
2019-02-19 23:04:45 +00:00
Emilio Cobos Álvarez
a59f4ed1fb Bug 1528914 - Tidy the relationship between the doc shell and the pres context. r=qdot
Make it always forward to the document's docshell. We rely on it being setup by
the time our stuff runs, and we cannot have multiple pres contexts per document
in different docshells anymore.

This allows me to also move some state to the document (about whether it's
currently loaded in a chrome docshell (nsPresContext::mIsChrome) and whether
it's a chrome origin image (nsPresContext::mIsChromeOriginImage), which will
help for bug 1490401 / bug 1418159.

The pres context already relies on having the docshell available on `Init` and
we don't properly handle dynamic changes to it.

The reason I store some state like whether the doc URI is chrome:// and whether
we're in a chrome docshell is not (only) to avoid recomputing it over and over,
but also to allow me to read them from Stylo (main-thread blocked, but poke at
that from multiple non-main-threads).

Differential Revision: https://phabricator.services.mozilla.com/D20301

--HG--
extra : moz-landing-system : lando
2019-02-19 22:53:40 +00:00
Coroiu Cristina
695a8e0608 Backed out changeset 3762aa77369f (bug 1529089) for build bustage at build/src/js/src/vm/GeckoProfiler-inl.h 2019-02-20 00:55:15 +02:00
Luke Wagner
72d2424af4 Bug 1401675 - Baldr: remove some unneeded header dependencies (r=lth)
--HG--
extra : rebase_source : 0e3624ef80dccf41b57545f89539b451dc269dcf
2019-02-19 14:28:35 -06:00
Luke Wagner
df3ea1382b Bug 1401675 - Baldr: simplify how function bodies end (r=lth)
--HG--
extra : rebase_source : 419677654d23ba47ba7ce26472cab50826586850
2019-02-19 14:28:06 -06:00
Luke Wagner
4ad201c574 Bug 1401675 - Baldr: factor popWithType() (r=lth)
--HG--
extra : rebase_source : 7f5b76da18efe10c24bf72af697ad4dc9d8f51ec
2019-02-19 14:27:42 -06:00
Glenn Watson
9314a751d7 Bug 1491929 - Text is rasterized at the wrong resolution. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D20276

--HG--
extra : moz-landing-system : lando
2019-02-19 20:25:40 +00:00
Ehsan Akhgari
9303aacdc6 Bug 1529089 - Initialize spBefore_ even if profiler_ will be set to nullptr; r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D20405

--HG--
extra : moz-landing-system : lando
2019-02-19 21:23:04 +00:00
Glenn Watson
702c53489e Bug 1528157 - Optimize GPU time for clip mask generation. r=kvark
On integrated GPUs, we are typically completely bound by memory
bandwidth and the number of pixels that get written / blended.

On real world pages, it's often the case that we end up with
clip tasks that are long in one dimension but not the other, due
to box-shadow edges, clip mask segments etc. When this occurs,
the logic that tries to get a small 'used_rect' to clear targets
to fails, since the union of those ends up being a very large
rect that covers (most of) the surface. This can cost a lot of
GPU time on some integrated chipsets.

Instead, it appears to be much faster to issue multiple clears,
one for each clip mask region, which is typically < 10% of the
surface we were clearing previously.

However, we can also restore an old optimization we used to have
which means we can skip clears altogether in the common case. The
first mask in a clip task will write to all the pixels in the mask,
so we can draw that with blending disabled (also a significant win
on integrated GPUs) and skip the clear in these cases. With this
functionality in place, the multiplicative blend mode is only
enabled for any clips other than the first in a mask (this is
quite a rare case - most clip tasks end up with a single mask).

On low end GPUs driving a 4k screen, I've measured GPU wins of up
to 5 ms/frame on some real world pages with this change.

Differential Revision: https://phabricator.services.mozilla.com/D19893

--HG--
extra : moz-landing-system : lando
2019-02-19 20:52:27 +00:00
Lee Salzman
7f5a1fd684 Bug 1525549 - use SkTypefaceCache::FindByProcAndRef to associate typefaces with fontconfig fonts. r=rhunt 2019-02-19 15:08:03 -05:00
Jason Laster
dc10e077be Bug 1528855 - fix eslint issue. r=noone CLOSED TREE 2019-02-19 14:57:09 -05:00
Robert Strong
92fd3ff189 Bug 1528570 - Add back test only return value of NS_tremove check. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D20112

--HG--
extra : moz-landing-system : lando
2019-02-19 19:43:06 +00:00
Jason Laster
e183b62aea Bug 1528855 - Update Debugger frontend (release 126). r=dwalsh 2019-02-19 14:24:06 -05:00
Jason Laster
1f67526a39 Bug 1528855 - [release 126] tweak source consolidation work. r=dwalsh 2019-02-19 14:24:03 -05:00
Brian Hackett
db7cd8f281 Bug 1528855 - [release 126] [Sources] Consolidate sources reducer (#7977). r=dwalsh 2019-02-19 14:24:01 -05:00