Commit Graph

632745 Commits

Author SHA1 Message Date
Sylvestre Ledru
b61d90492b Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Depends on D17388

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

--HG--
extra : moz-landing-system : lando
2019-01-24 08:11:00 +00:00
Sylvestre Ledru
6fc1c58e53 Bug 1521460 - clang-format: also update .m files r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D17388

--HG--
extra : moz-landing-system : lando
2019-01-24 08:10:47 +00:00
Alex Chronopoulos
ff638179ec Bug 1515933 - Configure 16 bytes stack alignment on Linux x86_64 dav1d builds. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D17346

--HG--
extra : moz-landing-system : lando
2019-01-24 02:43:58 +00:00
Makoto Kato
213cb734bc Bug 1522016 - Build NEON support for libopus on aarch64. r=jmvalin
aarch64 ABI supports NEON as default, so we should turn on NEON code for
aarch64.  Also, libopus's NEON code doesn't support MSVC yet.

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

--HG--
extra : moz-landing-system : lando
2019-01-24 02:45:01 +00:00
Ciure Andrei
763557eef3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-24 05:47:10 +02:00
Ciure Andrei
c035ee7d3a Merge inbound to mozilla-central. a=merge 2019-01-24 05:44:33 +02:00
Matt Woodrow
d4ecd598da Bug 1520682 - Limit the amount of filter ops per stacking context in WebRender. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D17415

--HG--
extra : moz-landing-system : lando
2019-01-24 03:02:17 +00:00
Glenn Watson
6b33b8f6a1 Bug 1522352 - Add GPU timer group for scale operations. r=kamidphish
Differential Revision: https://phabricator.services.mozilla.com/D17432

--HG--
extra : moz-landing-system : lando
2019-01-24 02:32:08 +00:00
Tim Nguyen
e5124ab3fe Bug 1521294 - Remove XUL grid layout from security/manager/pki/resources/content/changepassword.xul. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D17059

--HG--
extra : moz-landing-system : lando
2019-01-24 01:00:43 +00:00
Cosmin Sabou
d4afc5310c Backed out 2 changesets (bug 1518252) for frequent clipboard failures on browser_jsterm_middle_click_paste.
Backed out changeset b6f80451898e (bug 1518252)
Backed out changeset 06114c66901f (bug 1518252)

--HG--
extra : rebase_source : 795b3a29b1344ce224207c4034f13d3d7f1a5c53
2019-01-24 02:50:54 +02:00
Tim Nguyen
ea8cc54265 Bug 1521290 - Remove XUL grid layout from security/manager/pki/resources/content/device_manager.xul. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D17058

--HG--
extra : moz-landing-system : lando
2019-01-24 00:37:26 +00:00
Eitan Isaacson
e63779903d Bug 1520611 - Prune children in Android. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D16743

--HG--
extra : moz-landing-system : lando
2019-01-24 00:23:45 +00:00
Eitan Isaacson
0ed303a220 Bug 1520611 - Add pivot prune prefilter, use it in jsat. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D16742

--HG--
extra : moz-landing-system : lando
2019-01-24 00:23:40 +00:00
Eitan Isaacson
e18c6010be Bug 1520611 - Consolidate ProxyAccessible::MustPruneChildren into nsAccUtils. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D16997

--HG--
extra : moz-landing-system : lando
2019-01-24 00:23:30 +00:00
Dan Glastonbury
e17294b6e9 Bug 1518840 - P2: Clean up dead code warnings. r=gw
Depends on D17329

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

--HG--
extra : moz-landing-system : lando
2019-01-23 23:41:59 +00:00
Dan Glastonbury
045163d3ea Bug 1518840 - P1: Remove rendering blurs into texture cache. r=gw,emilio
Caching text-shadows into texture cache was leading to rendering artifacts with
missing shadows.  Switch to using the picture path for all picture blurs and
rely upon picture caching to reduce repetitive work.

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

--HG--
extra : moz-landing-system : lando
2019-01-23 23:41:51 +00:00
Johann Hofmann
faf6c06e25 Bug 1521756 - Enable AV MitM certificate error page by default on all channels. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D17404

--HG--
extra : moz-landing-system : lando
2019-01-23 23:36:57 +00:00
prathiksha
7f8cd91493 Bug 1520980 - Remove support for notification bars in Password Manager. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D17343

--HG--
extra : moz-landing-system : lando
2019-01-23 22:15:20 +00:00
Nika Layzell
25503346ef Bug 1467223 - Part 7: Renumber Continue* methods on nsHttpChannel, r=valentin,mayhemer
Depends on D15613

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

--HG--
extra : moz-landing-system : lando
2019-01-23 21:17:33 +00:00
Nika Layzell
d756214c1f Bug 1467223 - Part 6: Add basic test for process-changing POST loads, r=qdot
This test checks that POST data can be submitted from both file and
moz-extension URIs to web content without the data being lost, or the
load being performed in the incorrect process.

Depends on D15612

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

--HG--
extra : moz-landing-system : lando
2019-01-23 21:07:13 +00:00
Nika Layzell
45b85eee03 Bug 1467223 - Part 5: Perform parent-process interception for HTTP loads, r=qdot,valentin
This will only happen if the pref is enabled, and works through the existing
mechanism for process switching loads. It should enable POST data to be
preserved when performing a process switch, for example when submitting
a form on a file:// or moz-extension:// URI to a http:// URI.

Depends on D15611

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

--HG--
extra : moz-landing-system : lando
2019-01-23 21:07:10 +00:00
Nika Layzell
b2ddc107de Bug 1467223 - Part 4: Add support for piping redirected channels through nsDocShell's loading functions, r=qdot
This code largely skips the logic in load methods, and tries to simply get the
channel opened & connected to the correct listener ASAP, without breaking any
loading state.

Depends on D15610

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

--HG--
extra : moz-landing-system : lando
2019-01-23 21:07:08 +00:00
Nika Layzell
53c6040388 Bug 1467223 - Part 3: Support uncached resources by using a redirectTo-like API for process swaps in necko, r=valentin,mayhemer
With the old process selector service implementation, non-cached loads
would skip the call into the process selector.

This implementation piggybacks atop the existing 'redirectTo' mechanism.
This is unfortunately not the perfect system for catching these loads,
as it doesn't provide an opportunity for performing a final process
switch before redirecting to a non-http channel. In addition, it doesn't
provide indication that a redirect is going to happen, causing
potentially unnecessary process switches.

Not all places where 'redirectTo' is supported use this mechanism. This
process switching mechanism is only checked in situations after
http-on-examine-response.

Potential future changes include:

 1. Moving these checks closer to the real 'OnStartRequest' call (e.g.
    in ContinueProcessNormal + ContinueOnStartRequest3). This would mean
    that loads other than the final load will not cause process swaps.

 2. Adding a callback before a redirect is performed, passing in the new
    channel, and allowing modifications to be made. This would allow
    performing a process swap before redirecting to a non-http(s)
    channel.

Depends on D15609

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

--HG--
extra : moz-landing-system : lando
2019-01-23 21:19:39 +00:00
Nika Layzell
9b4bbc17fd Bug 1467223 - Part 2: Add BrowsingContextID to LoadInfo, r=valentin
This is handy when performing process swaps, as it provides useful & important
information to parent-process callers.

Depends on D15608

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

--HG--
extra : moz-landing-system : lando
2019-01-23 21:06:59 +00:00
Nika Layzell
be5f88174d Bug 1467223 - Part 1: Move CrossProcessRedirect Message to PContent, r=valentin
This is needed because early in a content process's lifecycle, NeckoParent may
not have been created yet. This leads to issues when trying to redirect into a
fresh process which hasn't performed network loads yet. By sending the message
over PContent, we can be sure the APIs are available.

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

--HG--
extra : moz-landing-system : lando
2019-01-23 21:27:44 +00:00
Dan Minor
41f331e2ad Bug 1515205 - Always set frame timestamps in VideoStreamEncoder::OnFrame; r=drno
In the past we relied upon ViEEncoder::OnFrame to set the render time for
frames. With the branch 64 update, this code moved to
VideoStreamEncoder::OnFrame, and only sets the timestamp if it is greater than
the current time. This results in broken rtp timestamp estimates in the rtcp
sender report, which causes problems for Meet and possibly other services
that rewrite rtp timestamps based upon the sender report.

This patch makes VideoStreamEncoder::OnFrame always set the timestamp. In a
follow on bug, we'll move this behaviour to VideoConduit so we don't have to
maintain a local modification of the upstream code.

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

--HG--
extra : moz-landing-system : lando
2019-01-23 20:48:20 +00:00
Alex Gaynor
e9ce39db0d Bug 1485463 - Part 2 - use IPC errors to handle an attempt to allocate too many PCompositorBridgeParent; r=aosmond
This cannot actually happen in the real world because this path is specific to
when the compositor process is also the parent process, and thus is not
actually IPC. However, the fuzzer can trigger this case.

Depends on D14587

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

--HG--
extra : moz-landing-system : lando
2019-01-23 14:32:39 +00:00
Alex Gaynor
b45a566b9d Bug 1485463 - Part 1 - added a fuzzer for PCompositorManagerParent IPC; r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D14587

--HG--
extra : moz-landing-system : lando
2019-01-23 14:32:38 +00:00
John Lin
8143268e96 Bug 1517252 - p2: convert out-of-memory error to playback error to avoid crash. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D16710

--HG--
extra : moz-landing-system : lando
2019-01-18 01:51:53 +00:00
John Lin
e4a543d886 Bug 1517252 - p1: don't lock HLSResourceCallbacksSupport mutex unnecessarily. r=jya
HLSResourceCallbacksSupport::mDecoder is cleared on main thread too, so
the nullness check already ensures decoder methods won't be called after
shut down. In fact, for OnError() the lock is harmful because the task calls
MediaDecoder::NetworkError(), which triggers decoder shutdown and eventually
HLSResourceCallbacksSupport::Detach(), which tries to lock the mutex again
while the mutex is still locked.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 22:55:58 +00:00
Zibi Braniecki
5e38c8a5a5 Bug 1518252 - Block layout on Fluent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D17334

--HG--
extra : moz-landing-system : lando
2019-01-23 21:29:15 +00:00
Zibi Braniecki
9359df8494 Bug 1518252 - Make docl10n tests non-racy. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D17333

--HG--
extra : moz-landing-system : lando
2019-01-23 22:17:11 +00:00
Mark Banner
f318ae19dd Bug 1522064 - Remove used definition for static function OpenApplicationWithURI from nsMIMEInfoMac/nsMIMEInfoUIKit. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D17340

--HG--
extra : moz-landing-system : lando
2019-01-23 21:10:58 +00:00
James Willcox
22f800fcaa Bug 1522170 - Move nsILoadURIDelegate.idl into docshell/base r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D17384

--HG--
rename : xpcom/base/nsILoadURIDelegate.idl => docshell/base/nsILoadURIDelegate.idl
extra : moz-landing-system : lando
2019-01-23 20:38:52 +00:00
Jan Henning
d9d4a111f8 Bug 1521600 - Clarify how the ViewportMode API actually works. r=geckoview-reviewers,snorp
VIEWPORT_MODE_DESKTOP *forces* the desktop mode viewport everywhere, whereas
VIEWPORT_MODE_MOBILE merely enables <meta> viewport support for pages that have
that tag defined, but still uses the desktop mode viewport for all other pages.

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

--HG--
extra : moz-landing-system : lando
2019-01-23 21:06:06 +00:00
Mark Striemer
2478891a6c Bug 1502921 - Record telemetry environment data about locales r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D15990

--HG--
extra : moz-landing-system : lando
2019-01-23 21:26:08 +00:00
Dale Harvey
467ab77cab Bug 1517562 - Update media autoplay strings. r=flod,johannh
Differential Revision: https://phabricator.services.mozilla.com/D17131

--HG--
extra : moz-landing-system : lando
2019-01-23 20:52:53 +00:00
Chris Manchester
0b6bacd1ad Bug 1521463 - Show rustc info in about:buildconfig r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D17305

--HG--
extra : moz-landing-system : lando
2019-01-23 20:15:14 +00:00
Ting-Yu Lin
925c1edf69 Bug 1521982 - Adjust callers of nsIFrame::List() in nsBidiPresUtils to stop passing 0 as a const char* argument. r=dholbert
This patch is similar to Bug 1503420 Part 1.

nsIFrame::List()'s second argument should be a const char*, not an
integer. It'll crash if we pass 0 as const char*. Fix the bug by
omitting the argument because the default value of the argument is an
empty string.

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

--HG--
extra : moz-landing-system : lando
2019-01-23 02:24:46 +00:00
Shane Caraveo
b03a534f39 Bug 1522209 fix regex for icon path, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D17405

--HG--
extra : moz-landing-system : lando
2019-01-23 19:54:42 +00:00
Cosmin Sabou
a2aab24802 Backed out changeset 5c6cdeb8648d (bug 1355588) causing talos tart timeouts.
--HG--
extra : rebase_source : 238d706bb366772d4870493938deac41a271db6b
2019-01-23 21:44:55 +02:00
Michael Kaply
b282b7ca54 Bug 1522202 - Switch policy sorting test to case insensitive. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D17403

--HG--
extra : moz-landing-system : lando
2019-01-23 19:34:55 +00:00
Drew Willcoxon
b52e93223b Bug 1521236 - Add UrlbarInput.autofill(), call it from the controller, and disable autofill when the new search string is a prefix of the old string. r=mak
There are two parts to this:

When the controller receives the first result and the context has an autofill value, then call a new input.autofill() method, which does the actual autofill in the input.

We shouldn't autofill when the user back spaces.  Actually back spacing is just one example of deleting text at the end of the input; the user could select text and press delete, or use the delete-previous-word key shortcut, etc.  So it's not correct to simply check whether the last keypress was a backspace and skip autofill then.  We should copy the logic of the legacy autocomplete controller and check whether the new search string is a prefix of the old string.  If so, then don't autofill.  So I added that logic to UrlbarInput.  I could have added similar logic to the controller or the context instead, but it makes the most sense being in the input since it's the input where the user is interacting with the text value.

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

--HG--
extra : moz-landing-system : lando
2019-01-23 19:37:20 +00:00
Aaron Klotz
9ef5dc5728 Bug 1517639: Add launcher process state to the telemetry environment; r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D15761

--HG--
extra : moz-landing-system : lando
2019-01-23 18:59:51 +00:00
Lee Salzman
73c1f50be6 Bug 1455848 - implement shared cache of dwrote font files. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D16898
2019-01-17 15:45:36 -05:00
Lee Salzman
78dc1ee852 Bug 1455848 - update dwrote to version 0.8. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D16897
2019-01-17 15:45:26 -05:00
Lee Salzman
c7d1539b15 Bug 1455848 - use paths for WR font handles on Windows. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D16896
2019-01-17 15:45:07 -05:00
Stephen A Pohl
3122549861 Bug 1313429: Followup to add a missing break for a case in a switch statement (discovered by coverity). r=mikedeboer
--HG--
extra : rebase_source : a914dd5e54017739e1c4565b0b7d40c2df3b31d9
2019-01-24 00:14:51 +01:00
Razvan Maries
6161f7cc5b Backed out 4 changesets (bug 1455848) for windows wrench failures. CLOSED TREE
Backed out changeset d56504db04ea (bug 1455848)
Backed out changeset f2279ecacb81 (bug 1455848)
Backed out changeset 44a36f0fe512 (bug 1455848)
Backed out changeset b8444f241aca (bug 1455848)
2019-01-24 00:56:40 +02:00
Robert Strong
0519e7de94 Bug 1522032 - Add about:preferences page Application Update tests. r=mhowell
These tests are equivalent to the About Dialog Application Update tests for the about:preferences page

--HG--
rename : toolkit/mozapps/update/tests/browser/browser_about_bc_downloaded.js => toolkit/mozapps/update/tests/browser/browser_aboutDialog_bc_downloaded.js
rename : toolkit/mozapps/update/tests/browser/browser_about_bc_downloaded_staged.js => toolkit/mozapps/update/tests/browser/browser_aboutDialog_bc_downloaded_staged.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_check_cantApply.js => toolkit/mozapps/update/tests/browser/browser_aboutDialog_fc_check_cantApply.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_check_malformedXML.js => toolkit/mozapps/update/tests/browser/browser_aboutDialog_fc_check_malformedXML.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_check_noUpdate.js => toolkit/mozapps/update/tests/browser/browser_aboutDialog_fc_check_noUpdate.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_check_otherInstance.js => toolkit/mozapps/update/tests/browser/browser_aboutDialog_fc_check_otherInstance.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_check_unsupported.js => toolkit/mozapps/update/tests/browser/browser_aboutDialog_fc_check_unsupported.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_downloadAuto.js => toolkit/mozapps/update/tests/browser/browser_aboutDialog_fc_downloadAuto.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_downloadAuto_staging.js => toolkit/mozapps/update/tests/browser/browser_aboutDialog_fc_downloadAuto_staging.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_downloadOptIn.js => toolkit/mozapps/update/tests/browser/browser_aboutDialog_fc_downloadOptIn.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_downloadOptIn_staging.js => toolkit/mozapps/update/tests/browser/browser_aboutDialog_fc_downloadOptIn_staging.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_patch_completeBadSize.js => toolkit/mozapps/update/tests/browser/browser_aboutDialog_fc_patch_completeBadSize.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_patch_partialBadSize.js => toolkit/mozapps/update/tests/browser/browser_aboutDialog_fc_patch_partialBadSize.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_patch_partialBadSize_complete.js => toolkit/mozapps/update/tests/browser/browser_aboutDialog_fc_patch_partialBadSize_complete.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_patch_partialBadSize_completeBadSize.js => toolkit/mozapps/update/tests/browser/browser_aboutDialog_fc_patch_partialBadSize_completeBadSize.js
rename : toolkit/mozapps/update/tests/browser/browser_about_bc_downloaded.js => toolkit/mozapps/update/tests/browser/browser_aboutPrefs_bc_downloaded.js
rename : toolkit/mozapps/update/tests/browser/browser_about_bc_downloaded_staged.js => toolkit/mozapps/update/tests/browser/browser_aboutPrefs_bc_downloaded_staged.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_check_cantApply.js => toolkit/mozapps/update/tests/browser/browser_aboutPrefs_fc_check_cantApply.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_check_malformedXML.js => toolkit/mozapps/update/tests/browser/browser_aboutPrefs_fc_check_malformedXML.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_check_noUpdate.js => toolkit/mozapps/update/tests/browser/browser_aboutPrefs_fc_check_noUpdate.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_check_otherInstance.js => toolkit/mozapps/update/tests/browser/browser_aboutPrefs_fc_check_otherInstance.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_check_unsupported.js => toolkit/mozapps/update/tests/browser/browser_aboutPrefs_fc_check_unsupported.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_downloadAuto.js => toolkit/mozapps/update/tests/browser/browser_aboutPrefs_fc_downloadAuto.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_downloadAuto_staging.js => toolkit/mozapps/update/tests/browser/browser_aboutPrefs_fc_downloadAuto_staging.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_downloadOptIn.js => toolkit/mozapps/update/tests/browser/browser_aboutPrefs_fc_downloadOptIn.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_downloadOptIn_staging.js => toolkit/mozapps/update/tests/browser/browser_aboutPrefs_fc_downloadOptIn_staging.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_patch_completeBadSize.js => toolkit/mozapps/update/tests/browser/browser_aboutPrefs_fc_patch_completeBadSize.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_patch_partialBadSize.js => toolkit/mozapps/update/tests/browser/browser_aboutPrefs_fc_patch_partialBadSize.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_patch_partialBadSize_complete.js => toolkit/mozapps/update/tests/browser/browser_aboutPrefs_fc_patch_partialBadSize_complete.js
rename : toolkit/mozapps/update/tests/browser/browser_about_fc_patch_partialBadSize_completeBadSize.js => toolkit/mozapps/update/tests/browser/browser_aboutPrefs_fc_patch_partialBadSize_completeBadSize.js
rename : toolkit/mozapps/update/tests/browser/browser_updateAutoPrefUI.js => toolkit/mozapps/update/tests/browser/browser_aboutPrefs_settings.js
2019-01-23 14:17:27 -08:00