Commit Graph

643558 Commits

Author SHA1 Message Date
arthur.iakab
35c8a01713 Merge mozilla-central to autoland 2019-03-25 17:54:29 +02:00
arthur.iakab
ee02cd6515 Merge inbound to mozilla-central a=merge 2019-03-25 17:53:27 +02:00
Andreas Pehrson
3ee3959967 Bug 1538232 - Handle MediaDecoder seeks and pauses in VideoTrackEncoder. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D24522

--HG--
extra : moz-landing-system : lando
2019-03-25 14:13:52 +00:00
Andreas Pehrson
fac5e5cbd3 Bug 1538232 - Add gtests for TestVideoTrackEncoder handling MediaDecoder seek and pause. r=bryce
With bug 1423253 we need to handle resetting future frames directly, and that
bug made the signaling of when to reset a bit more explicit, so a null image
is sent when a MediaDecoder is paused, so we don't render frames that were
already buffered, but after the pause took effect. And an image where the
time stamp is earlier than the previous frame's is sent when a MediaDecoder
seeks, as it intends to discard any previously buffered frames and render
only the new ones.

Note that this hackish way of signaling a MediaDecoder's intention comes from
the fact that we have only an append-based API for pushing frames through a
track, but the MediaDecoder's behavior is tightly coupled to the ImageContainer
API of sending frames to the compositor; SetCurrentFrames.

We will be iterating towards a SetCurrentFrames-like API for video tracks in the
future, to have a cleaner solution to this problem.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 14:45:21 +00:00
Nikki S
ac6056b247 [mozsystemmonitor] Add test manifest to testing/mozbase/moz.build (bug 1471916) r=davehunt
Currently, tests in mozsystemmonitor are skipped because the manifest is missing
from mozbase/moz.build. This has now been added.

For the moment, this patch also skips the test if run against Python 3. This is
not ideal - a better fix may be setting the unittest.skipIf condition to skip
if the there is simply a failure when run with Python 3.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 13:49:38 +00:00
Geoff Brown
e8ee36fad6 Bug 1536640 - Improve MOZ_LOG support in Android mochitest harness; r=bc
Unifies the mochitest MOZ_LOG file naming and archiving across desktop/android.
Notably the inclusion of pid and uuid for android log files helps generate
appropriate files for e10s on geckoview.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 14:55:20 +00:00
Boris Zbarsky
e1cc009c49 Bug 1536737. Give OwningNonNull an operator* to make it play nicer with the MOZ_CAN_RUN_SCRIPT static analysis. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D24161

--HG--
extra : moz-landing-system : lando
2019-03-25 15:17:29 +00:00
Miko Mynttinen
a77c4a5691 Bug 1530617 - Add pref for disabling BackgroundHangMonitor r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D21179

--HG--
extra : moz-landing-system : lando
2019-03-25 15:16:23 +00:00
Tom Tung
25abf064bb Bug 1423917 - P12 - Return an error if it failed to remove the asmjs directory and move the deprecated client check to InitializeOrigin; r=asuth
The reasons of this patch:
- P9 didn't handle the deletion of deprecated client well. It shouldn't continue
  if the client is failed to be removed. This patch correct this behavior.

- Meanwhile, it's not really good to just crash while finding a deprecated
  client. At least, the client should be removed while finding it before
  crashing the Firefox.

- Besides, if we eventaully only check the deprecated client during the
  initialization. It makes the code simpler to make the deprecated check to
  InitializeOrigin.

Therefore, this patch is a little bit against the P11, but I think it's a right
thing to do here.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 15:15:03 +00:00
Bastien Abadie
51d9cea5cd Bug 1536839 - Add json formatter to ./mach clang-format, r=ahal,marco
Depends on D24193

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

--HG--
extra : moz-landing-system : lando
2019-03-25 15:02:44 +00:00
Nicolas Chevobbe
c0f87f9ae6 Bug 1527867 - Add support for BigInt in devtools; r=davidwalsh.
We add a new `BigInt` grip type that can be consumed by reps.
A few test cases are added to ensure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 14:33:30 +00:00
Jan-Erik Rediger
cb07bec421 Bug 1529232 - Add browser.engagement.total_uri_count scalar to ecosystem telemetry r=gfritzsche
Depends on D23293

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

--HG--
extra : moz-landing-system : lando
2019-03-25 12:58:25 +00:00
Jan-Erik Rediger
589fb6f5fc Bug 1529232 - Enable Ecosystem Telemetry on Nightly r=gfritzsche
Depends on D21521

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

--HG--
extra : moz-landing-system : lando
2019-03-25 12:58:18 +00:00
Jan-Erik Rediger
ec80e59898 Bug 1529232 - Implement pre-account ping r=chutten,gfritzsche,markh
It's missing some details and is disabled by default (gated by the
`toolkit.telemetry.ecosystemping.enabled` preference)

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

--HG--
extra : moz-landing-system : lando
2019-03-25 12:58:16 +00:00
Christoph Kerschbaumer
6417ca1ace Bug 1537883: Dump JS Stacktace in case aPrincipal is null within nsIOService::SpeculativeConnectInternal. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D24704

--HG--
extra : moz-landing-system : lando
2019-03-25 14:08:13 +00:00
Patrick Brosset
d6270ca25d Bug 1538676 - Hide the auto-expanded overridden longhands when value is empty; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D24690

--HG--
extra : moz-landing-system : lando
2019-03-25 13:56:20 +00:00
Mihai Tabara
3c69d90f40 Bug 1535679 - switch Firefox nightlies to declarative artifacts. r=sfraser a=release
Linter fixes.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 13:48:54 +00:00
Alex Chronopoulos
690d92ac23 Bug 1538544 - Device info pointer can be null and must be checked to avoid crashes. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D24684

--HG--
extra : moz-landing-system : lando
2019-03-25 12:18:25 +00:00
Andrea Marchesini
08bff459b5 Bug 1537882 - Initialize QuotaManagerService in ClearDataService for GeckoView, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D24675

--HG--
extra : moz-landing-system : lando
2019-03-25 12:08:31 +00:00
Andrea Marchesini
06c0315fb7 Bug 1538647 - Use Service.ETLD in ClearDataService, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D24674

--HG--
extra : moz-landing-system : lando
2019-03-25 11:32:32 +00:00
Martin Stransky
706514741c Bug 1468911 - [Wayland] Visible artifacts during window resize, r=ashie
When wayland surface is newly created or resized,
postpone buffer commit (drawing) until gecko updates whole screen
and don't publish partial updates.

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

--HG--
extra : moz-landing-system : lando
2019-03-23 03:02:24 +00:00
Martin Stransky
0961433659 Bug 1536099 - [Wayland] Provide logging to Wayland surface, r=ashie
Differential Revision: https://phabricator.services.mozilla.com/D23854

--HG--
extra : moz-landing-system : lando
2019-03-23 02:53:07 +00:00
Cosmin Sabou
ddfb7ebc97 Backed out changeset a04938b3a757 (bug 1536781) for android mochitest failures on test_settings_fontinflation.html.
--HG--
extra : rebase_source : 7ca18ca3408b1ad18e5d57ddf4b5ad986f2daa08
2019-03-25 13:45:38 +02:00
Sebastian Hengst
bf8d28e2cf Backed out 2 changesets (bug 1335740) for permafailing mda task on Android 8.0
Backed out changeset 7beefe9e4d81 (bug 1335740)
Backed out changeset 35abcd7c962a (bug 1335740)

--HG--
rename : testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html.ini => testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.html.ini
rename : testing/web-platform/meta/mediacapture-streams/historical.https.html.ini => testing/web-platform/meta/mediacapture-streams/historical.html.ini
rename : testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html => testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.html
rename : testing/web-platform/tests/mediacapture-streams/historical.https.html => testing/web-platform/tests/mediacapture-streams/historical.html
2019-03-25 12:31:48 +01:00
ffxbld
3f834cdb15 No Bug, taskcluster/docker/funsize-update-generator pipfile-update. r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D24676

--HG--
extra : moz-landing-system : lando
2019-03-25 11:07:49 +00:00
Henri Sivonen
935b754f86 Bug 1521249 part 2 - Make packed_simd compile with Rust 1.32 and later. r=glandium
This adds the Firefox-required build.rs hack and reverts the commit
that added bitmasks in a way that depends on Rust 1.34 compiler
internals.

Depends on D20288

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

--HG--
extra : moz-landing-system : lando
2019-03-23 14:17:35 +00:00
Henri Sivonen
7d1d8a5c3c Bug 1521249 part 1 - Update encoding_rs to 0.8.16. r=glandium
This changeset requires nightly Rust (to be changed in the next part).

Depends on D21891

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

--HG--
rename : third_party/rust/simd/LICENSE-APACHE => third_party/rust/packed_simd/LICENSE-APACHE
rename : third_party/rust/simd/LICENSE-MIT => third_party/rust/packed_simd/LICENSE-MIT
extra : moz-landing-system : lando
2019-03-23 14:17:35 +00:00
Henri Sivonen
5792feaaf5 Bug 1521249 part 0 - Remove Rust version cap from --enable-rust-simd. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21891

--HG--
extra : moz-landing-system : lando
2019-03-23 14:17:35 +00:00
Oana Pop Rus
3bd8930fc3 Backed out 2 changesets (bug 1531693) for bc failures browser_privatebrowsing_about.js on a CLOSED TREE
Backed out changeset 4d2429507163 (bug 1531693)
Backed out changeset bf5460df1909 (bug 1531693)
2019-03-25 12:16:46 +02:00
Nils Ohlmeier [:drno]
92a38b7c16 Bug 1535868: don't send SRTP when not negotiated. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D23805

--HG--
extra : moz-landing-system : lando
2019-03-22 23:31:44 +00:00
Glenn Watson
b625730d0b Bug 1538626 - Support fast path for clip-out rectangles in WR. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D24666

--HG--
extra : moz-landing-system : lando
2019-03-25 08:35:31 +00:00
Olli Pettay
abc400e3b3 Bug 1536781, use the same paint suppression delay on mobile and desktop, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D24658

--HG--
extra : moz-landing-system : lando
2019-03-25 00:20:15 +00:00
Marcos Cáceres
5278a7fde8 Bug 1538067 BasicCardRequest's supportedNetworks must default to = []. r=baku
update implementation to match spec.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 09:26:10 +00:00
Sebastian Hengst
5e4a46be23 Bug 1538475 - Add comma to 'central-to-beta' and 'beta-to-release' generators to prevent concatenation of two folder paths of files to modify r=jlorenzo
Differential Revision: https://phabricator.services.mozilla.com/D24602

--HG--
extra : moz-landing-system : lando
2019-03-25 09:14:45 +00:00
Bastien Abadie
9b8eb1ef99 Bug 1536836 - Support multiple formatters with file output in ./mach lint, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D24193

--HG--
extra : moz-landing-system : lando
2019-03-25 09:16:14 +00:00
Matthew Gaudet
1894f5bdfd Bug 1538349 - Allow nullptr for the script parameter in AutoStructuredSpewer r=iain
It's useful to be able to use the AutoStructuredSpewer without necessarily
having a script at that moment.

Channels that use this won't be able to filter by script.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 23:12:00 +00:00
Brian Hackett
b851bf262e Bug 1535071 - Use the debugger global scope for worker error reporting if necessary, r=smaug,baku.
Differential Revision: https://phabricator.services.mozilla.com/D24270

--HG--
extra : moz-landing-system : lando
2019-03-25 09:26:48 +00:00
Dimi Lee
5e81ad2260 Bug 1522412 - P7. A mochitest to test different channel open call sites are classified. r=Ehsan
The goal of this testcase is to provide an easier way to add callsites
to test if it is correctly classified. This is a first step, more callsites should be added to
the testcase(See Bug 1532691)

Flow of the test case:
1. setup the server(trackerFrame.sjs) with the expceted number of request it should receive
2. load the test frame(trackerFrame.html) with cookie restriction off, to ensure all the tracking requests contain cookies
3. server responses a list of tracker's request with cookie after reciving all the requests
4. the list should contain all the trackers in the test frame.
5. enable cookie restriction and load the test frame again.
6. server responses a list of tracker's request without cookie after reciving all the requests
7. the list should contain all the trackers in the test frame.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 12:51:58 +00:00
Dimi Lee
7e550c8668 Bug 1522412 - P6. Add a xpcshell-test for default classification. r=Ehsan
This patch adds a xpcsehll-test which tests all the combinations of
those parameters used by the heuristic classification algorithm.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 12:50:29 +00:00
dlee
dabe54958d Bug 1522412 - P5. Do not use system principal in testcase to test tracking protection. r=Ehsan
Some testcases are chrome scope testcase hence the resources it loads are triggered by
"system principal". This will exempt the resource from classification.

So in this patch, we used a new window to for the tracker test frame.
The window creation code is referenced from test_privatebrowsing_trackingprotection.html.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 12:49:28 +00:00
dlee
99b23da7f0 Bug 1522412 - P4. Use LOAD_BYPASS_URL_CLASSIFIER flag for SafeBrowsing update/lookup r=Ehsan
We want to ensure SafeBrowsing update request is never classified so we
can recover from a bad SafeBrowsing database.

SafeBrowsing lookup request is also critical because if it is blocked,
it means SafeBrowsing is out of function.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 12:49:00 +00:00
dlee
d7d67be8c9 Bug 1522412 - P3. Adopt nsIChannel.LOAD_BYPASS_URL_CLASSIFIER in the algorithm determining if we should classify a channel's URI. r=Ehsan,mayhemer
This patch uses the flag to exempt channels from classification, but it
doesn't include the use cases of this flag.

See Bug 1442496 for the list of the call sites should use this flag.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 12:48:25 +00:00
dlee
9878ae650d Bug 1522412 - P2. Remove nsIChannel.LOAD_CLASSIFY_URI flag. r=Ehsan
nsIChannel.LOAD_CLASSIFY_URI is no longer required so we can remove it from
the codebase.
In the mean time, we add a new LOAD_BYPASS_URL_CLASSIFIER load flag for
channel creator to be able to force channel to bypass URL classifier check.
The use of the new LOAD_BYPASS_URL_CLASSIFIER flag will be addressed in
the other patches.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 12:47:57 +00:00
dlee
5f710bb93b Bug 1522412 - P1. Replace LOAD_CLASSIFY_URI flag with a heuristic algorithm. r=Ehsan,mayhemer
In this patch, we move from a model where URL classification is opt-in
(by specifying LOAD_CLASSIFIER_URI) to a model where it is enforced by
default unless a channel opts out or is deemed to be a critical channel
based on simple heuristics.

The heuristics exempt a channel from classification if it is triggered
by system with an exception when it is a top level load.

To ensure critical channels are never classified, we also exempt
channels which are flagged as "BeConservative" (implemented in bug 1321783).
Another load flag LOAD_BYPASS_URL_CLASSIFIER is also introduced
for the same reason.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 12:47:29 +00:00
ffxbld
927082cd95 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D24686

--HG--
extra : moz-landing-system : lando
2019-03-25 12:45:49 +00:00
Kershaw Chang
4311c49299 Bug 1536236 - Make sure mDNSPrefetch is always released on main thread r=valentin
This patch should make mDNSPrefetch to be released always on main thread.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 12:39:45 +00:00
Florens Verschelde
9d9c19e064 Bug 1537724 - Make text selection visible in TreeView inputs; r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D24375

--HG--
extra : moz-landing-system : lando
2019-03-25 12:24:54 +00:00
Mark Banner
9ae7d04cfd Bug 1531693 - For the PrivateBrowsing about page test, ensure we wait for autocomplete to finish. r=mak
This ensures test stability, and avoids leaking browser windows when we're closing the private browsing window in the test.

Depends on D24529

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

--HG--
extra : moz-landing-system : lando
2019-03-22 22:40:33 +00:00
Mark Banner
a07272112f Bug 1531693 - Relax the assertion for another editor handling the composition to take account of cycle collection. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D24529

--HG--
extra : moz-landing-system : lando
2019-03-23 11:54:24 +00:00
Marco Bonardo
134a6c11a6 Bug 1536751 - Quantum Bar should clear switch-to-tab overrides on blur. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D24492

--HG--
extra : moz-landing-system : lando
2019-03-25 09:04:31 +00:00