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

623426 Коммитов

Автор SHA1 Сообщение Дата
byron jones 0ef0024e3e Bug 1505278 - replace libmkv's README_MOZILLA with moz.yaml. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D11147

--HG--
extra : moz-landing-system : lando
2018-11-11 22:01:14 +00:00
WR Updater Bot 2edcb8deb1 Bug 1506400 - Update webrender to commit 429cb0eb56d6208a47f83b2efb828bf5db54d777 (WR PR #3297). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11595

--HG--
extra : moz-landing-system : lando
2018-11-12 02:07:10 +00:00
Jean-Yves Avenard afa48c6843 Bug 1505882 - P5. Always ensure to use latest SPS/PPS when converting sample. r=bryce
ConvertSampleToAnnexB takes the sample's out of band extradata to prepend it to the data. It was theorically possible that the first sample would contain the SPS/PPS from the previous format.

Depends on D11559

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

--HG--
extra : moz-landing-system : lando
2018-11-11 11:42:32 +00:00
Jean-Yves Avenard dbe872db75 Bug 1505882 - P4. Fix style. r=bryce
Depends on D11558

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

--HG--
extra : moz-landing-system : lando
2018-11-11 11:42:30 +00:00
Jean-Yves Avenard 064bca85b8 Bug 1505882 - P3. Don't check the sample's out of band extradata until after decoding the first frame. r=bryce
Depends on D11557

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

--HG--
extra : moz-landing-system : lando
2018-11-11 18:15:14 +00:00
Jean-Yves Avenard fdcfc18a6a Bug 1505882 - P2. Assert that sample conversion required is either AVCC or AnnexB. r=bryce
This will avoid future bugs like bug 1506076.

Depends on D11556

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

--HG--
extra : moz-landing-system : lando
2018-11-11 11:42:20 +00:00
Jean-Yves Avenard 0ba7f50c49 Bug 1505882 - P1. Don't track keyframe in CodecChangeMonitor. r=bryce
keyframe was tracked in the CodecChangeMonitor in order to determine when to prepend the SPS/PPS to a sample for decoder using AnnexB format.
The assumption was that it was needed only once per the lifetime of the decoder (and indeed this is true with the Windows and Android decoder). However this causes issue with the Widevine H264 decoder and it will error on some content if the first sample passed following a flush doesn't contain a SPS/PPS.

Interestingly, this issue isn't observed with Netflix content or other Widevine sample videos. Only Amazon PrimeVideo content so far.

We instead use the global MediaChangeMonitor keyframe status that knows when the decoder has been drained or flushed.

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

--HG--
extra : moz-landing-system : lando
2018-11-11 11:42:18 +00:00
Daniel Varga 5039d2e3f8 Merge mozilla-central to mozilla. a=merge on a CLOSED TREE 2018-11-11 23:49:08 +02:00
Daniel Varga ca83631b08 Merge mozilla-central to mozilla-inbound. a=merge 2018-11-11 23:46:10 +02:00
Florens Verschelde cb23c99006 Bug 1501997 - Set markup-view line-height to 14px; r=pbro
Set markup view lines to use a precise 14px line-height, 16px total height.
Align markup badges more precisely with vertical-align:top and margin-top,
because vertical-align:middle is imprecise and has unwanted side effects.

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

--HG--
extra : moz-landing-system : lando
2018-11-11 18:44:42 +00:00
Brian Grinstead b57202f633 Bug 1503342 - Rename richlistbox.children to richlistbox.itemChildren so .children will refer to the normal DOM API;r=paolo
In Bug 1479125 we put calls to .children that were intended to access child elements into the custom
method, which is a slower path. We may eventually want to remove itemChildren altogether and just assume
that all children are items, but that's out of scope for a perf fix like this.

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

--HG--
extra : moz-landing-system : lando
2018-11-11 13:21:18 +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