Commit Graph

622240 Commits

Author SHA1 Message Date
Kirk Steuber
03e5369e3e Bug 1458308 - Change lookups of app.update.auto to use nsIApplicationUpdateService::(get|set)AutoUpdateIsEnabled r=rstrong
This patch also contains a few additional minor changes:
- Clears the user value set to the pref app.update.auto after the value is migrated.
- Fixes the app.update.auto pref migration test
- Makes a number of functions asynchronous to allow them to wait for app.update.auto setting changes
- TestAUSHelper's create-update-dir command no longer tries to set the permissions on all files in the update directory.  Fixes a potential race condition when creating the update directory.

Depends on D4594

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:18:21 +00:00
Kirk Steuber
f4c77df19a Bug 1458308 - Tests for migration and UI of app.update.auto pref r=rstrong
Depends on D4593

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:04:16 +00:00
Kirk Steuber
a17bb6f093 Bug 1458308 - Change telemetry to use the new auto update lookup mechanism r=chutten
This change makes TelemetryEnvironment.settings.update.autoDownload load asynchronously. Now, a file needs to be read before that value can be written. This has the potential to delay the initialization of TelemetryEnvironment, but since it should be pretty quick and it runs in parallel with the other asynchronously loading values of TelemetryEnvironment, it should not delay initialization significantly.

MozReview-Commit-ID: 1UUAi4sDopX

Depends on D4591

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:04:04 +00:00
Kirk Steuber
d0dff98798 Bug 1458308 - Change about:preferences to use the new auto update pref mechanism r=jaws,flod
Depends on D4590

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:03:44 +00:00
Kirk Steuber
290731d1ce Bug 1458308 - Move app.update.auto to be stored in the update directory on Windows only r=rstrong
This patch additionally includes support for automatic migration of the pref from its old location to its new location.

This patch does not fix telemetry reporting of app.update.auto - that will be addressed in another patch in the same series.

MozReview-Commit-ID: KjX1mmGVB8M

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:03:31 +00:00
Matt Woodrow
9a919d79fe Bug 1456555 - Enable tiled blobs. r=Gankro
MozReview-Commit-ID: JRpQ5nVFx0r

Depends on D10043

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:05:48 +00:00
Matt Woodrow
eb76e7c060 Bug 1456555 - Deal with clipped containers being smaller than their contents during blob building. r=Gankro
MozReview-Commit-ID: I0tc6l84NRa

Depends on D10041

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:05:41 +00:00
Matt Woodrow
71be702f62 Bug 1456555 - Fix SourceSurface offset handling in DTSkia::PushLayer. r=lsalzman
This got added in bug 1429508 and then removed in bug 1451845. Tiled blobs adds tests for this, so it shouldn't break again.

MozReview-Commit-ID: 3azL7SoWlr2

Depends on D10038

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:04:36 +00:00
Matt Woodrow
ae8c862a29 Bug 1456555 - Support Map on multiple threads. r=rhunt
This just makes the existing hack available to all DataSourceSurface implementations by default, since we use different ones with WR.

MozReview-Commit-ID: GVR0rIx8wtD

Depends on D10036

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:04:02 +00:00
Matt Woodrow
d902a179f1 Bug 1456555 - Fix bugs in DrawTargetOffset. r=mstange
MozReview-Commit-ID: I4XFoTp1szZ

Depends on D10033

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:03:29 +00:00
Hiroyuki Ikezoe
330ed0810b Bug 1479173 - Check animation generation change in the mProperties loop and drop LayerAnimationInfo::sRecords loop. r=birtles
If mIsRunningOnCompositor is true, the property is effective state because
CanThrottle() is called in advance of a restyle for the effect so that we can
drop the check and drop skipping in the case of non-effective properties.

Depends on D10694

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:02:18 +00:00
Hiroyuki Ikezoe
217607fd0b Bug 1479173 - Call EffectSet::GetEffectSet in CanThrottle just once. r=birtles
Depends on D10693

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:02:06 +00:00
Hiroyuki Ikezoe
319493d9fc Bug 1479173 - Check mIsRunningOnCompositor flag before iterating LayerAnimationInfo. r=birtles
The comment there was wrong.  We just bail out from there only if
mIsRunningCompositor is false, so it doesn't matter whatever the layer
generation check results.  (i.e., we don't bail out in the case where
mIsRunningCompositor is true).

Also, we iterate over mProperties in the LayerAnimationInfo::sRecords loop
through HasEffectiveAnimationOfProperty, so it doesn't matter that we iterate
mProperties before the loop either.  We will avoid the iteration in the sRecords
loop in a subsequent patch in this series.

Depends on D10692

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:01:50 +00:00
Hiroyuki Ikezoe
029cb0dd29 Bug 1479173 - Use nsCSSPropertyIDSet::CompositorAnimatable and HasCompositorAnimatableProperty in EffectCompositor::UpdateCascadeResults. r=birtles
Depends on D10691

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:01:43 +00:00
Hiroyuki Ikezoe
f9cc71f31a Bug 1479173 - Replace LayerAnimationInfo::kRecords with nsCSSPropertyIDSet::CompositorAnimatableCount. r=birtles
Depends on D10690

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:01:28 +00:00
Hiroyuki Ikezoe
2d705fdae9 Bug 1479173 - Rename LayerAnimationInto::mLayerType to LayerAnimationInfo::mDisplayitemType. r=birtles
In the case of WebRender there is no layers, but actually we'd been using it for
WebRender too, that's confusing.

Depends on D10689

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:01:15 +00:00
Hiroyuki Ikezoe
1223a53c33 Bug 1479173 - Use nsCSSPropertyIDSet::CompositorAnimatableCount() for LayerAnimationInfo::kRecords. r=birtles
Depends on D10688

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:01:03 +00:00
Hiroyuki Ikezoe
d32d86c939 Bug 1479173 - Add an assertion checking the properties in nsCSSPropertyIDSet::CompositorAnimatable equals to the properies in LayerAnimationInfo::sRecords. r=birtles
Depends on D10687

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:00:50 +00:00
Hiroyuki Ikezoe
972de37ecb Bug 1479173 - Add a static constexpr function returns an nsCSSPropertyIDSet being consist of CSS properties set can be run on the compositor. r=heycam,birtles
Also add a script to generate the CSS properties set by looking at
CanAnimateOnCompositor flag in servo's property definitions.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:00:38 +00:00
Dorel Luca
e1fba811d6 Backed out changeset 9675e3a0f693 (bug 1505150) for spidermonkey failure in builds/worker/workspace/build/src/js/src/frontend/ParseContext-inl.h 2018-11-06 22:42:00 +02:00
Dorel Luca
6617a8c922 Backed out 2 changesets (bug 1496082) for mochitest faiures in docshell/test/navigation/test_bug270414.html
Backed out changeset 776b54474da9 (bug 1496082)
Backed out changeset 0852730f9ecd (bug 1496082)
2018-11-06 22:40:36 +02:00
Erica Wright
e6b579d027 Bug 1504852 - Turn off Content Blocking label color is visible in dark theme and icon is spaced from text. r=dao
In windows and linux, ensure that the text color inside the content blocking button is visible. Add 5px of margin beside the icon to separate it from the text.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 20:20:13 +00:00
Ashley Hauck
1943a7e2fc Bug 1505150 - Move implementations of ParseContext and SharedContext to their own files. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D11098

--HG--
extra : moz-landing-system : lando
2018-11-06 20:05:00 +00:00
Dão Gottwald
1eac17ea43 Bug 1505069 - Stop abusing --lwt-text-color in the Contextual Feature Recommendation popup-notification. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D11055

--HG--
extra : moz-landing-system : lando
2018-11-06 19:37:24 +00:00
Jean-Yves Avenard
ff9dbafc2c Bug 1504944 - Only re-order channels for opus mapping 1. r=padenot
For channel mapping 0 (which is always mono or sterero), the mapping is identical to the SMPTE one, so can copy the mapping as-is.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 18:11:41 +00:00
Andreas Farre
be738fcaba Bug 1504989 - Add ifdef for nightly only function. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D11045

--HG--
extra : moz-landing-system : lando
2018-11-06 19:35:25 +00:00
Dão Gottwald
542127d98c Bug 1503304 - Make toolbar_text fall back to textcolor. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D11026

--HG--
extra : moz-landing-system : lando
2018-11-06 16:50:29 +00:00
Nicholas Hurley
27190f4a59 Bug 1434137 - Implement websockets over http/2 - RFC 8441 r=michal,dragana
https://tools.ietf.org/html/rfc8441

This uses our existing http/2 CONNECT infrastructure (modified) to
enable the new extended CONNECT form defined by 8441, and pretend for
the websocket's sake that an http/2 stream is actually a socket. From
the websocket's point of view, this is relatively non-invasive - a few
things have changed (http response code, absence of some headers) versus
http/1.1 websockets, but for the most part, the websocket code doesn't
care.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 19:29:57 +00:00
Mark Striemer
da798ba098 Bug 1500352 - Force layout before finding screenshot r=jaws
If switching from a view that didn't load the extension list
binding to the themes view the screenshot wouldn't be found
on Windows. Force a layout if the screenshot isn't found
to load the binding.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 19:17:56 +00:00
June Wilde
64fa52c710 Bug 1468544 - Replace mar_hash_name with CityHash algorithm. r=rstrong
Make CityHash64, CityHash64WithSeed, and CityHash64WithSeeds usable from C code
Remove unnecessary includes from mar_read.c as well
Add DisableStlWrapping to mar tool's moz.build to fix linkage break when
building in Windows with MSVC

Differential Revision: https://phabricator.services.mozilla.com/D10774
2018-11-06 13:34:21 -05:00
Matt Howell
4b4a06a72b Bug 1504878 - Exclude Mac OS from update log file tests. r=rstrong
Differential Revision: https://phabricator.services.mozilla.com/D10982

--HG--
extra : moz-landing-system : lando
2018-11-06 18:15:24 +00:00
Drew Willcoxon
9fbda91757 Bug 1504370 - Update SEARCH_COUNTS telemetry for private browsing mode r=mkaply
* If a search is performed in a private window and the new pref `browser.engagement.search_counts.pbm` is true, then do not record `SEARCH_COUNTS` telemetry. Note that the the pref must be true. If it's false or doesn't exist, then we record telemetry even in pbm like we normally do currently. (We record `SEARCH_COUNTS` telemetry in two places: (1) In BrowserUsageTelemetry.jsm, and (2) "in-content" telemetry directly in the search service. So skip both of those places.)
* Also skip the other ancillary telemetry recorded by `BrowserUsageTelemetry._recordSearch`: a keyed scalar and a telemetry event.
* I made some modifications to the search service to let me test the "in-content" telemetry keys

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

--HG--
extra : moz-landing-system : lando
2018-11-06 17:58:07 +00:00
Emilio Cobos Álvarez
b6cfd9e810 Bug 1504980 - Null-check + assert. r=smaug
In case fuzzers or somebody can catch this in a reproducible way...

I'd be interested in knowing what the hell is going on.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 16:30:56 +00:00
Michael Kaply
3a96af1460 Bug 1500741 - Support encoding for WebExtension engines. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D10941

--HG--
extra : moz-landing-system : lando
2018-11-06 17:34:31 +00:00
Chris Manchester
666f758a38 Bug 1504844 - Log a reason when the build driver decides to run configure. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D10966

--HG--
extra : moz-landing-system : lando
2018-11-06 00:03:48 +00:00
Eitan Isaacson
9c7c0083ad Bug 1502187 - Implement Java part of viewport tree caching. r=jchen
Depends on D9866

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

--HG--
extra : moz-landing-system : lando
2018-11-05 22:35:35 +00:00
Eitan Isaacson
7befdbc6f7 Bug 1502187 - Implement native part of viewport caching. r=Jamie
Depends on D9865

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

--HG--
extra : moz-landing-system : lando
2018-11-06 04:35:51 +00:00
Eitan Isaacson
d75945e22e Bug 1502187 - Add FULL_ACCESSIBILITY_TREE to GeckoSessionSettings. r=jchen
Defaults now to 'true', when caching is good enough I'll switch it off.

Generally, this would be used for apps/cases when full accessible tree
is needed like UIAutomator.

Depends on D9864

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

--HG--
extra : moz-landing-system : lando
2018-11-06 17:04:12 +00:00
Eitan Isaacson
82efc98977 Bug 1502187 - Add Batch protocol to PDocAccessible. r=Jamie
This protocol is meant to be used by platform wrappers to push bulk data
to the chrome process.

Depends on D9689

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

--HG--
extra : moz-landing-system : lando
2018-11-06 04:22:08 +00:00
Ryan VanderMeulen
7971e2ffd0 Bug 1495238 - Upgrade to SQLite 3.25.3. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D11028

--HG--
extra : moz-landing-system : lando
2018-11-06 16:59:19 +00:00
Gijs Kruitbosch
9b77e0042d Bug 1402764 - wait for focus to return to the initial window, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D11051

--HG--
extra : moz-landing-system : lando
2018-11-06 17:12:52 +00:00
Andreea Pavel
a81720d597 Merge mozilla-central to autoland. on a CLOSED TREE 2018-11-06 19:11:54 +02:00
Andreea Pavel
0a2474c679 Backed out changeset 22b989a6c91d (bug 1501900) for build bustages on a CLOSED TREE 2018-11-06 19:11:09 +02:00
Andreea Pavel
d401f28d4e Merge mozilla-inbound to mozilla-central. a=merge 2018-11-06 19:05:52 +02:00
Toby Ward
a69d8ab823 Bug 1496082: Enable ESLint for docshell/test/navigation and docshell/test/unit (manual fixes) r=bzbarsky
Implemented the manual linting fixes for docshell/test/navigation, docshell/test/unit and docshell/test/unit_ipc
Depends on D9430

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

--HG--
extra : moz-landing-system : lando
2018-11-06 17:03:39 +00:00
Toby Ward
4083f33603 Bug 1496082: Enable ESLint for docshell/test/navigation and docshell/test/unit (automatic fixes only). r=bzbarsky
Enabled ESLint for:

* docshell/test/navigation/**
* docshell/test/unit/**
* docshell/test/unit_ipc/**

Changed .eslintignore to allow for this and ran ./mach eslint --fix on the above directories and checked automatic fixes

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

--HG--
extra : moz-landing-system : lando
2018-11-06 17:05:39 +00:00
Julian Descottes
2f80da43fe Bug 1505035 - Force dom.ua_widget.enabled to true in inspector server tests for ua widgets;r=test-only
--HG--
extra : rebase_source : d573f1a3958c02c7df26919670148d800f983804
2018-11-06 15:41:53 +01:00
André Bargull
4284514a41 Bug 1502530 - Part 3: Update SpiderMonkey time zone files. r=Waldo 2018-11-06 05:42:53 -08:00
Andrea Marchesini
ebf242be0d Bug 1500879 - Fetch should not consume Request/Response with null-body, r=asuth
The fetch spec treats null bodies specially.  Their Body cannot become
disturbed or locked and a fresh empty ReadableStream is returned whenever an
attempt is made to consume the body.  We currently fail a number of WPT tests
in this area because we do mark the body consumed as exposed via bodyUsed.
2018-11-06 14:48:07 +01:00
WR Updater Bot
7d7be1afe1 Bug 1504994 - Update webrender to commit 790b76f1547453615262c3037e1fb04bda22fbc8 (WR PR #3276). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11032

--HG--
extra : moz-landing-system : lando
2018-11-06 13:24:57 +00:00