Commit Graph

632686 Commits

Author SHA1 Message Date
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
Aaron Klotz
8c0ca384fa Bug 1517637: Add launcher process state to crash report annotations; r=mhowell
Depends on D15759

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

--HG--
extra : moz-landing-system : lando
2019-01-09 23:36:38 +00:00
Cosmin Sabou
a6253ae016 Backed out 3 changesets (bug 1455848) for causing build bustages. CLOSED TREE
Backed out changeset 424203c9c430 (bug 1455848)
Backed out changeset b7a0887937f4 (bug 1455848)
Backed out changeset 23e27b3097c6 (bug 1455848)
2019-01-23 21:22:36 +02:00
Johann Hofmann
5f7362a245 Bug 1518293 - Update copy for blocklist settings in about:preferences. r=ewright,flod
Differential Revision: https://phabricator.services.mozilla.com/D17291

--HG--
extra : moz-landing-system : lando
2019-01-23 19:09:26 +00:00
Arjun Krishna Babu
fd697b042d Bug 1519933 - Remove :not([alone]) from .popup-notification-primary-button selector; r=dao
Differential Revision: https://phabricator.services.mozilla.com/D17381

--HG--
extra : moz-landing-system : lando
2019-01-23 17:28:12 +00:00
Lee Salzman
69399feca7 Bug 1455848 - implement shared cache of dwrote font files r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D16898

--HG--
extra : moz-landing-system : lando
2019-01-23 18:22:30 +00:00
Lee Salzman
3bc08c1447 Bug 1455848 - update dwrote to version 0.8 r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D16897

--HG--
extra : moz-landing-system : lando
2019-01-23 18:22:16 +00:00
Lee Salzman
160e525369 Bug 1455848 - use paths for WR font handles on Windows r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D16896

--HG--
extra : moz-landing-system : lando
2019-01-23 18:58:06 +00:00
Cosmin Sabou
70adf3837d Backed out changeset 46b19ac773fa (bug 1518293) or browser chrome failures on browser_search_subdialogs_within_preferences_6. 2019-01-23 20:56:39 +02:00
Ed Lee
fd64bc1147 Bug 1521836 - Add component refinement, context sources and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D17328

--HG--
extra : rebase_source : d5e9652077ee34ca2b51c6e9eca54f80784163d9
extra : source : f4b12306c336c70a3d5a5bd5ede941507e59a126
2019-01-23 15:40:47 +00:00
Ciure Andrei
cd0990c959 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-23 20:53:05 +02:00
Cosmin Sabou
1c0c8d2f3d Backed out changeset f4b12306c336 (bug 1521836) for browser chrome failures on browser_search_subdialogs_within_preferences_6. 2019-01-23 20:39:28 +02:00
Sebastian Hengst
a612973f64 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-23 18:51:14 +02:00
Felipe Gomes
73289b1560 Bug 1355588 - Implement slide-up/down tab opening/closing animation. r=dao
This patch implements a new, preffed-off tab opening/closing animation where the tab slides up and down in place. In addition, it adjusts some tests and code that were relying on the max-width transitionend event happening. The intent of the patch is to land it preffed-off and iterate on the design in the tree

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

--HG--
extra : moz-landing-system : lando
2019-01-23 15:51:57 +00:00
Ricky Rosario
11e3a9d15e Bug 1521984 - Can't drag downloaded PDF into about:privatebrowsing r=andreio
MozReview-Commit-ID: FQvRmltnss7

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

--HG--
extra : moz-landing-system : lando
2019-01-23 18:21:26 +00:00
Jeff Gilbert
fc00711e53 Bug 1514985 - Only warnOnFailure for non-optional groups. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D17313

--HG--
extra : moz-landing-system : lando
2019-01-23 17:55:36 +00:00
Emilio Cobos Álvarez
1381add9e4 Bug 1521405 - Cleanup a few shorthand properties. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D17082
2019-01-23 18:53:45 +01:00
Ricky Rosario
208cc53e75 Bug 1521961 - Pref Search in PBM OFF by default in 66 Release r=andreio
MozReview-Commit-ID: LT4kW4WON5y

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

--HG--
extra : moz-landing-system : lando
2019-01-23 17:32:13 +00:00
Dorel Luca
5bbf8df2a2 Backed out changeset 647e4cfc0eb4 (bug 1507520) for Spidermonkey failures 2019-01-23 19:40:54 +02:00
Nicolas Chevobbe
43a1968161 Bug 1475198 - Move focus to previous focusable element on Shift+Tab in JsTerm; r=yzen.
Differential Revision: https://phabricator.services.mozilla.com/D17210

--HG--
extra : moz-landing-system : lando
2019-01-23 17:37:01 +00:00
Dorel Luca
cc75d50ac9 Backed out 2 changesets (bug 1520436) for browser-chrome failures in browser/base/content/test/permissions/browser_permissions.js
Backed out changeset 031aee32565c (bug 1520436)
Backed out changeset 1428560105ca (bug 1520436)
2019-01-23 19:35:50 +02:00
Ed Lee
32fba16ff7 Bug 1521836 - Add component refinement, context sources and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D17328

--HG--
extra : moz-landing-system : lando
2019-01-23 15:40:47 +00:00
Emilio Cobos Álvarez
1dcbdcf59e Bug 1522140 - Make .ycm_extra_conf.py handle headers better. r=Ehsan
Files with .h extension are built with the c compiler by default, which makes
the diagnostics useless. If we know this is a cpp file, hint it so that it
builds it with the right mode.

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

--HG--
extra : moz-landing-system : lando
2019-01-23 17:17:18 +00:00
Johann Hofmann
ad87a838f7 Bug 1492498 - Make certificate exceptions on the new cert error pages permanent by default. r=nhnt11,keeler
This includes a new test for the feature and a bit of test cleanup to factor
out all exception related tests into their own test file.

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

--HG--
rename : browser/base/content/test/about/browser_aboutCertError.js => browser/base/content/test/about/browser_aboutCertError_exception.js
extra : moz-landing-system : lando
2019-01-23 16:59:12 +00:00
Andy Wingo
514415e0a0 Bug 1507520 - Make BigInt parsing dependent on run-time feature flag r=jandem,terpri
Differential Revision: https://phabricator.services.mozilla.com/D17349

--HG--
extra : moz-landing-system : lando
2019-01-23 16:55:32 +00:00