Commit Graph

623351 Commits

Author SHA1 Message Date
Marco Castelluccio
dea41b784a Bug 1504250 - Add Rust nightly toolchain for Mac cross compilation. r=froydnj
--HG--
extra : rebase_source : 67496e7d0a1ef70d0324cdbd45108a6876531fcf
extra : histedit_source : f81da6b7c5dfcf132b16797d3850666b5c4c71e4
2018-11-02 11:52:15 +01:00
matthias
cfe6c44ef4 Bug 1500548 - Start to implement the design from the mockup. r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D10930

--HG--
extra : rebase_source : c0794f96b7c2342fd4c55ea9ef258b07f7e4e96a
extra : amend_source : 2ff4727771fa2b06f6f471fcb609964c4f0baf70
2018-11-11 11:02:14 +00:00
Dorel Luca
06d5d5ae43 Merge mozilla-inbound to mozilla-central a=merge 2018-11-11 11:42:18 +02:00
Emilio Cobos Álvarez
f8ed926bb3 Bug 1506391 - Manually extinguish multi-line use statements. 2018-11-11 02:40:30 +01:00
Emilio Cobos Álvarez
652ee99c60 Bug 1506391 - Revert try -> r#try change.
Since we're in an inconsistent state because mako files weren't updated, and
it's really ugly.
2018-11-11 02:40:28 +01:00
Emilio Cobos Álvarez
58166142d5 Bug 1506391 - cargo fix on the merged changes + formatting. 2018-11-11 02:40:26 +01:00
Simon Sapin
f7c7465ccb Bug 1506391 - cargo fix --edition --features gecko. r=emilio 2018-11-11 02:40:24 +01:00
Simon Sapin
4f9e2bcf36 Bug 1506391 - cargo fix --edition. r=emilio 2018-11-11 02:40:21 +01:00
Simon Sapin
078d2c6545 Bug 1506391 - Use 2018-style paths in code generated by Mako. r=emilio 2018-11-11 02:40:19 +01:00
Simon Sapin
271e888fb3 Bug 1506391 - Use 2018-style paths in code generated by style_derive. r=emilio 2018-11-11 02:40:17 +01:00
Emilio Cobos Álvarez
b4871fab22 Bug 1506413 - Update rust-nightly toolchain versions. r=froydnj
The particular toolchain is somewhat arbitrary, but is what servo uses on master
right now, and is newer than the rust version we use everywhere else, which
wasn't the case.

Differential Revision: https://phabricator.services.mozilla.com/D11574
2018-11-11 02:40:15 +01:00
Dão Gottwald
9a4222c954 Bug 1506212 - Fix more in-content button colors. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D11555

--HG--
extra : moz-landing-system : lando
2018-11-10 21:28:39 +00:00
WR Updater Bot
d7ddd3fbe8 Bug 1506309 - Update webrender to commit 1adb3528be81e583b2b0593c31f6b2a64b8b1735 (WR PR #3288). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11567

--HG--
extra : moz-landing-system : lando
2018-11-10 21:55:28 +00:00
Ricky Rosario
c8ffa188eb Bug 1505929 - Add FxA onboarding card, pref on CFR and ASR and bug fixes to Activity Stream r=k88hudson,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D11375

--HG--
extra : moz-landing-system : lando
2018-11-10 19:13:10 +00:00
shindli
fbde86e1a5 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-10 23:40:36 +02:00
shindli
1e51b7ee7c Merge inbound to mozilla-central. a=merge 2018-11-10 23:36:30 +02:00
shindli
56a9ea2d0f Merge autoland to mozilla-central. a=merge 2018-11-10 23:35:27 +02:00
Dão Gottwald
66696a4a7e Bug 1506214 - Fix identity popup footer button color. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D11554

--HG--
extra : moz-landing-system : lando
2018-11-10 21:27:34 +00:00
Dão Gottwald
51ba18b781 Bug 1506342 - Fix Ctrl+Tab preview styling. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D11552

--HG--
extra : moz-landing-system : lando
2018-11-10 21:13:29 +00:00
William Lachance
e398c2273e Summary: Bug 1506385 - Remove b2g support and unnecessary dependencies from mozdevice r=bc
Differential Revision: https://phabricator.services.mozilla.com/D11564

--HG--
extra : moz-landing-system : lando
2018-11-10 20:17:08 +00:00
Ted Mielczarek
54b3bbd1ce bug 1505205 - don't write telemetry for recursive mach command invocations. r=firefox-build-system-reviewers,chmanchester
This change tries to ensure that we don't write telemetry data for mach
commands invoked recursively as part of other mach commands. The intent of
build system telemetry is to only collect data about commands that users are
invoking directly.

There are two ways that we found mach commands can be recursively invoked:
* By running a python subprocess to recursively invoke mach (used in
  `mach bootstrap` to call `mach artifact toolchain`)
* By using `Registrar.dispatch` to delegate to a sub-command (used by many
  build system commands to invoke `mach build`).

The subprocess case is handled here by having mach set a `MACH_MAIN_PID`
environment variable whose value is the current process' pid on startup if it
does not already exist in the environment. Telemetry code then checks that the
value of that variable matches the current pid and skips writing telemetry data
if not.

The dispatch case is handled by making `MachRegistrar` store the current depth
of the command stack and pass it to the `post_dispatch_handler` which will skip
writing telemetry data if depth != 1.

Additionally the `should_skip_dispatch` function in mach_bootstrap is renamed
to `should_skip_telemetry_submission`, which was its original intent. The
combination of checks added in this change should be sufficient for deciding
when to write telemetry data, and we were not collecting telemetry for the set
of mach commands in that function (which included `mach bootstrap`).

In order to facilitate writing a test for the dispatch case this change adds a
`mach python --exec-file` option to execute Python code directly in the context
of the `mach python` command.

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

--HG--
extra : moz-landing-system : lando
2018-11-10 19:04:30 +00:00
Ted Mielczarek
e85df1cdc8 bug 1505325 - fix build telemetry path filtering when cwd is outside of topsrcdir/objdir. r=firefox-build-system-reviewers,chmanchester
The build telemetry code attempts to filter paths to avoid PII from usernames
and other things. It does this by converting every commandline argument to
an absolute path and then making them relative to topsrcdir or topobjdir and
omitting any that fail. This meant that running a mach command with a cwd
outside of the topsrcdir or objdir would omit all arguments since they were
converted to absolute paths from the cwd.

This change fixes this by adding the cwd to the list of paths used to create
relative paths. Additionally we add the user's home directory to that list
to try to avoid usernames sneaking through. Finally, instead of simply
removing these path prefixes, we replace them with sigils: $topsrcdir,
$objdir, $HOME.

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

--HG--
extra : moz-landing-system : lando
2018-11-10 19:14:44 +00:00
Ted Mielczarek
0da497b124 bug 1505325 - refactor telemetry gathering slightly. r=firefox-build-system-reviewers,chmanchester
After bug 1497638 the method by which build telemetry data gets written
to disk is slightly convoluted. Since we're now invoking `gather_telemetry`
from `post_dispatch_handler`, we just make that function return the data
it gathers and inline the contents of `telemetry_handler` after the call
to it.

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

--HG--
extra : moz-landing-system : lando
2018-11-10 19:04:06 +00:00
Ted Mielczarek
8e018fdef0 bug 1505325 - add a basic test for build telemetry. r=firefox-build-system-reviewers,chmanchester
This change adds python/mach/mach/test/test_telemetry.py which contains
a simple test that running mach with the build telemetry setting enabled
causes us to write a telemetry file. The test fixture in the file should
make it easy to write additional tests.

A necessary precursor to make the tests work was to change mach_bootstrap's
`should_skip_dispatch` function, which would refuse to write telemetry data
if stdout was not a terminal (which it isn't in the tests) and also in
automation. The latter test is moved to ensure that we don't *submit*
telemetry data from automation, but we can still write it to disk. Machines
in automation should never have the telemetry setting enabled outside of
these tests anyway, so this should not change anything in practice.

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

--HG--
extra : moz-landing-system : lando
2018-11-10 19:04:05 +00:00
Ed Lee
d94c11cf32 Bug 1506367 - Tests fail for network attempt to snippets.cdn.mozilla.net on Nightly builds r=r1cky
Differential Revision: https://phabricator.services.mozilla.com/D11561

--HG--
extra : moz-landing-system : lando
2018-11-10 18:23:05 +00:00
Brindusan Cristian
8493aae42d Backed out changeset db40c6473346 (bug 1500198) for mochitest failures on /mochitest/test_ext_protocolHandlers.html. CLOSED TREE
--HG--
rename : testing/talos/talos/tests/devtools/addon/api.js => testing/talos/talos/tests/devtools/addon/bootstrap.js
rename : testing/talos/talos/tests/devtools/addon/damp.html => testing/talos/talos/tests/devtools/addon/content/damp.html
rename : testing/talos/talos/tests/devtools/addon/manifest.json => testing/talos/talos/tests/devtools/addon/install.rdf
2018-11-10 20:11:43 +02:00
Geoff Brown
ae4719559e Bug 1506262 - Update mozharness config for Android 7.0 x86 wpt; r=kwierso 2018-11-10 10:43:35 -07:00
Cosmin Sabou
edecf57f25 Backed out changeset 9fce755a1262 (bug 1505929) for causing browser chrome nightly failures when tryin to connect to snippets.cdn.mozilla.net. a=backout 2018-11-10 16:45:39 +02:00
Marcos Cáceres
da6078096e Bug 1504032 - Remove concept of card types, supportedTypes, BasicCardType enum r=MattN,baku
The concept of card types, supportedTypes, BasicCardType enum, were removed from the Basic Card spec.

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

--HG--
extra : moz-landing-system : lando
2018-11-10 06:59:26 +00:00
Jason Orendorff
4e094f66ce Bug 1505152 - Sprinkle curly braces in Stream.cpp. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D11100

--HG--
extra : moz-landing-system : lando
2018-11-09 22:16:44 +00:00
Jason Orendorff
3d0645e205 Bug 1499574 - Part 3: Remove pn_arity. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D8937

--HG--
extra : moz-landing-system : lando
2018-11-09 22:16:21 +00:00
Jason Orendorff
31f4a64309 Bug 1504492 - Ensure arguments to readableStreamWriteIntoReadRequestCallback are same-compartment. r=tcampbell,baku
Differential Revision: https://phabricator.services.mozilla.com/D11403

--HG--
extra : moz-landing-system : lando
2018-11-09 22:18:41 +00:00
Jason Orendorff
1402e1d75e Bug 1505604 - Remove enum class ReaderMode from Stream.cpp. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D11256

--HG--
extra : moz-landing-system : lando
2018-11-09 22:09:59 +00:00
Jared Wein
0aa2d95695 Bug 1497980 - Add a 'Duplicate Tabs' menuitem when multiple tabs are selected. r=Felipe,dao
Differential Revision: https://phabricator.services.mozilla.com/D11281

--HG--
extra : moz-landing-system : lando
2018-11-09 21:51:40 +00:00
Jason Orendorff
830db7035a Bug 1505566 - Part 2: Avoid calling into complicated functions while an exception is pending. r=arai
Some standard algorithms detect an error, do some complicated error handling,
then re-throw the error. Before this patch, we implement this by leaving the
exception pending while doing the error handling. Then once the error handling
is done, we simply return false. This is incorrect if any of the intervening
code internally throws any error, then catches and clears it.

The right way to implement the standard is to store the pending exception in a
local variable and explicitly re-throw it later.

Depends on D11235

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

--HG--
extra : moz-landing-system : lando
2018-11-09 22:02:04 +00:00
Jason Orendorff
a4fb68055e Bug 1505566 - Part 1: Handle uncatchable errors correctly in ReadableStream callbacks. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D11235

--HG--
extra : moz-landing-system : lando
2018-11-09 22:01:37 +00:00
Jean-Yves Avenard
1156cc49c3 Bug 1506076 - Mark video android decoder as needing AnnexB. r=jolin,alwu
It only used to work as the H264Converter used to check that the conversion needed was != kNeedAVCC (the default being kNone)

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

--HG--
extra : moz-landing-system : lando
2018-11-09 22:07:40 +00:00
Ricky Rosario
f48e0b6314 Bug 1505929 - Add FxA onboarding card, pref on CFR and ASR and bug fixes to Activity Stream r=k88hudson
MozReview-Commit-ID: 2NdTCG1NWe8

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

--HG--
extra : moz-landing-system : lando
2018-11-09 21:46:11 +00:00
Brian Grinstead
b711e7df83 Bug 1506237 - Share document fragment for search-one-offs between instances;r=dao
This avoids the cost to parse the markup for subsequent connections.

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

--HG--
extra : moz-landing-system : lando
2018-11-09 20:57:45 +00:00
Brian Grinstead
0923cb852c Bug 1506237 - Delay search-one-offs connectedCallback;r=dao
It's best practice in chrome to not run code in the connectedCallback during parse
(see the comment above MozXULElement.delayConnectedCallback).

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

--HG--
extra : moz-landing-system : lando
2018-11-09 20:55:09 +00:00
Ting-Yu Lin
5a22a68c3c Bug 1497990 Part 2 - Do not carry block-end margin out of ColumnSetFrame. r=dbaron
Also, remove the unused NS_BLOCK_MARGIN_ROOT flag set on nsColumnSetFrame.

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

--HG--
extra : moz-landing-system : lando
2018-11-09 21:02:12 +00:00
Ting-Yu Lin
fe4ef80141 Bug 1497990 Part 1 - Use mIsBalancing instead of comparison between mBalanceColCount with INT32_MAX. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D8782

--HG--
extra : moz-landing-system : lando
2018-11-09 21:02:02 +00:00
Kartikaya Gupta
13567d6f63 Bug 1503616 - Use the zoom animation instead of the PinchZoom API to implement async zooming. r=botond
This allows us to apply a zoom on a subset of the WR display list (the part
that is inside the stacking context with the animation property), rather
than applying globally to everything. Since the semantics of APZ zooming
is that it applies to the root content document, this results in more
correct behaviour, particularly with respect to clips from the
chrome-process document which now don't get zoomed but did before.

Depends on D11181

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

--HG--
extra : moz-landing-system : lando
2018-11-09 21:13:28 +00:00
Kartikaya Gupta
9a0b69bfb3 Bug 1503616 - Propagate the zoom animation id over to the APZ code. r=botond
Depends on D11180

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

--HG--
extra : moz-landing-system : lando
2018-11-09 21:13:10 +00:00
Kartikaya Gupta
1b737d162d Bug 1503616 - Set a animatable transform property on the root content WR stacking context. r=mstange
This sets a placeholder transform on the root stacking context for the
content display list, and allows us to modify that transform directly in
the compositor. This is similar to what
nsDisplayOwnLayer::CreateWebRenderCommands does for scroll thumb layers,
which are similarly manipulated by APZ for async scrolling.

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

--HG--
extra : moz-landing-system : lando
2018-11-09 21:14:27 +00:00
Marco Bonardo
b8deeabac0 Bug 1506096 - Restore browser.urlbar.autocomplete.enabled for Android. r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D11504

--HG--
extra : moz-landing-system : lando
2018-11-09 21:07:13 +00:00
Matthew Noorenberghe
993a88ccc2 Bug 1505707 - Sandbox the template frame for payment mochitests to prevent JS execution errors. r=jaws
We only want the frame to be able to share markup, we don't need JS to execute and the JS was causing an unhandled rejection error.

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

--HG--
extra : moz-landing-system : lando
2018-11-09 20:11:46 +00:00
Dão Gottwald
c4436f280b Bug 1505864 - Stop using --lwt-toolbarbutton-icon-fill for bookmark menu items. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D11459

--HG--
extra : moz-landing-system : lando
2018-11-09 20:04:28 +00:00
Matthew Noorenberghe
62a2626079 Bug 1435880 - Document how to fix Payment Request autofill strings during dev. r=jaws
Properly populate addressLevel3Label in unprivileged-fallbacks.js to not cause l10n.js errors.

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

--HG--
extra : moz-landing-system : lando
2018-11-09 20:10:14 +00:00
Andreea Pavel
275a82a010 Backed out changeset bd4297faba36 (bug 1502410) for failing bc at browser/components/tests/browser/browser_urlbar_matchBuckets_migration60.js on a CLOSED TREE 2018-11-09 22:39:21 +02:00