Commit Graph

27735 Commits

Author SHA1 Message Date
Gijs Kruitbosch
bb91abcfd1 Bug 1252831 - remove 30boxes webcal handler as both possible and default handler, r=paolo,Dolske
Differential Revision: https://phabricator.services.mozilla.com/D18073

--HG--
extra : moz-landing-system : lando
2019-02-10 21:28:20 +00:00
shindli
326271039b Backed out changeset b3bcf26d4dad (bug 1252831) for xpcshell failures in uriloader/exthandler/tests/unit/test_handlerService.js CLOSED TREE 2019-02-08 22:57:20 +02:00
Yuan Cheng
7be13dade4 Bug 1519923 - Migrate about:rights to Fluent, r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D17731

--HG--
extra : moz-landing-system : lando
2019-02-08 17:36:15 +00:00
Gijs Kruitbosch
dcea4f2a22 Bug 1252831 - remove 30boxes webcal handler as both possible and default handler, r=paolo,Dolske
Differential Revision: https://phabricator.services.mozilla.com/D18073

--HG--
extra : moz-landing-system : lando
2019-02-08 19:04:53 +00:00
Jan Henning
5ca29b004c Bug 1496684 - Dispatch commonly expected startup notifications when opening a GeckoView window. r=snorp
Once a webextension using a blocking WebRequest listener has started loading,
all network connections covered by the extension's manifest are held until the
extension is ready the process them.
One condition for the extension being ready apparently includes browser startup
having progressed far enough, as signified by "browser-delayed-startup-finished"
having been dispatched.
Therefore, we have to start sending that notification when opening a new Gecko-
View window, too, and copy Fennec's InitLater() system for that.

Unlike Fennec, we cannot tie registration of those InitLater() runnables to the
initial content load having progressed far enough because of
a) e10s, which makes that approach neither easily possible nor really sensible,
   as content will load in a different process in that case, and
b) because we're racing with extension startup here - if extensions are loaded
   quick enough to block even the initial page load, we'd be deadlocked: We
   cannot send the notification until the page finishes loading, but the page
   cannot load until we send the notification. Fennec isn't affected by the
   latter problem because "sessionstore-windows-restored", which Fennec will
   send in any case, serves as an alternative pathway for completing extension
   startup.

And unlike Desktop, we don't really have any chrome content to paint, so we
cannot tie delayed initialisation to a paint listener for that, either.

Therefore, we simply fire off a runnable at the *end* of geckoview.js's
startup() method, which should give more pressing initialisation tasks enough of
a headstart.

For completeness, we're also adding the "browser-idle-startup-tasks-finished"
notification and thereby solve bug 1465832 as well, allowing the ScriptPreloader
to detect which scripts are commonly loaded during GeckoView startup and to
start caching and pre-parsing them.

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

--HG--
rename : mobile/android/modules/DelayedInit.jsm => mobile/android/modules/geckoview/DelayedInit.jsm
extra : moz-landing-system : lando
2019-02-07 20:41:16 +00:00
Jan Henning
3bbd53dc47 Bug 1524857 - Part 2: Use display URI's base domain for domain highlighting. r=snorp
That way, domain highlighting (and therefore the URL justification code that
right-justifies the TLD within the URL bar) can run even on error pages.

This also means that the workaround from bug 1479311 for blocking javascript:
URIs from being highlighted in ToolbarDisplayLayout is no longer required -
the base domain for domain highlighting is now being generated from the same
URI that actually ends up being displayed in the URL bar, and as such the
existing checks in browser.js for only generating a base domain for HTTP(S)/
FTP-URIs, but not any other schemes, finally work the way they are intended.

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

--HG--
extra : moz-landing-system : lando
2019-02-07 19:21:45 +00:00
Jan Henning
40a3a5ea2e Bug 1524857 - Part 1: Separate base domain for doorhangers from base domain used for domain highlighting. r=Gijs
Currently, the Android front-end uses a tab's base domain both for permission
prompt doorhangers, as well as for doing domain highlighting in the URL bar. The
base domain in turn is based on the document's nodePrincipal's URI.

As per bug 1325955, the nodePrincipal is the right choice for permission
prompts, but it causes some problems for domain highlighting instead: For error
pages for example, the nodePrincipal's URI will be some variety of
about:neterror, which means that the front-end won't be able to do any domain
highlighting based on that, since
a) we don't generate any baseDomain anyway because the URI's scheme isn't
   HTTP(S)/FTP, and
b) even if we did, the nodePrincipal's baseDomain won't match the contents of
   the URI displayed in the URL bar.

Therefore, we want to separate these two concerns, and generate two baseDomains:
One based on the nodePrincipal for use in permission prompts, and one based on
the display URI, which going forward will power our domain highlighting.

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

--HG--
extra : moz-landing-system : lando
2019-02-07 19:23:47 +00:00
Jan Henning
6a3ce29d7f Bug 1524857 - Part 0: Use short form where possible for defining properties. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D18585

--HG--
extra : moz-landing-system : lando
2019-02-07 19:21:27 +00:00
Oana Pop Rus
4663ddb53a Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-02-07 11:57:33 +02:00
Delphine Lebédel
19173cb6db Bug 1521687 - Update Danawa search URL on Firefox for Android r=flod
MozReview-Commit-ID: 1EhapeyUskz

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

--HG--
extra : moz-landing-system : lando
2019-02-07 06:40:38 +00:00
Zibi Braniecki
614ca1e082 Bug 1523194 - Remove XPIDL for DOMLocalization and use do_ImportModule instead. r=jfkthame,kmag
Differential Revision: https://phabricator.services.mozilla.com/D17780

--HG--
extra : moz-landing-system : lando
2019-02-07 01:52:45 +00:00
prathiksha
763eb39bf4 Bug 1189524 - Provide visual feedback to the user when login fields are autofilled and autocompleted. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D18153

--HG--
extra : transplant_source : %B6%06%3A%9B%99%FBhi%06_%93%EC%1C%89%EE%D8%C8%C6%D0%96
2019-02-06 23:50:04 -08:00
Andrew Swan
ee2283d446 Bug 1523980 Revoke special testpilot permissions r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D18768

--HG--
extra : moz-landing-system : lando
2019-02-06 22:21:01 +00:00
Jan Henning
68bf77cc33 Bug 1525666 - Fix typo in distribution parsing code. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D18864

--HG--
extra : moz-landing-system : lando
2019-02-06 19:45:08 +00:00
Eugen Sawin
71786b1864 Bug 1525388 - [1.0] Set URL classifier update prefs to enable list updates and remove previous workaround. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D18736

--HG--
extra : moz-landing-system : lando
2019-02-06 07:23:39 +00:00
Eugen Sawin
f2ed06603f Bug 1525155 - [1.0] Use explicit constants to set catch-all values. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D18619

--HG--
extra : moz-landing-system : lando
2019-02-06 02:41:57 +00:00
Agi Sferro
50f180bb27 Bug 1525324 - [geckoview] Use default theme for CHANGELOG. r=fluffyemily
Differential Revision: https://phabricator.services.mozilla.com/D18711

--HG--
extra : moz-landing-system : lando
2019-02-05 18:12:45 +00:00
Bogdan Tara
bf74bf6bc1 Merge inbound to mozilla-central. a=merge 2019-02-04 19:37:46 +02:00
Petru Lingurar
03d0745a08 Bug 1498911 - Allow cycling through search results when keeping the buttons pressed; r=JanH
Summary:
For every `Enter` or `Shift+Enter` ACTION_DOWN event a new next/previous search
will be made.
Keeping the buttons pressed will cycle through all the search results endlessly.

Depends on D17133

Reviewers: JanH

Reviewed By: JanH

Bug #: 1498911

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

--HG--
extra : histedit_source : 626b863aa35e63e113be81deecadd8193f1e1c01
2019-02-04 10:00:39 +02:00
Andrei Lazar
b758ae2eaa Bug 1502817 Crash in java.lang.NullPointerException: at org.mozilla.gecko.ChromeCastPlayer.toBundle(ChromeCastPlayer.java) r=sdaswani
Replaced deprecated method which returns null if device is on an IPv6-only network with a newer one that can return IPv6 address.

Depends on D18324

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

--HG--
extra : moz-landing-system : lando
2019-02-01 18:36:10 +00:00
Andrei Lazar
9ddd6f263c Bug 1524529 Update Play Services Cast to 16.0.0 r=VladBaicu
Updated play-services-cast to 16.0.0 in order to benefit from the IPv6 and other features.

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

--HG--
extra : moz-landing-system : lando
2019-02-04 12:44:13 +00:00
Mike de Boer
481ae95c00 Bug 1524593 - nsISearchService (aka nsIBrowserSearchService, previously) refactor to be mostly an asynchronous, in preparation of WebExtension engines. r=daleharvey
This is a rollup of all the patches that have landed on the cedar project branch:

891252fdd0
Bug 1492475 - Part 1: Migrate most, if not all nsSearchService consumers to use async APIs. r=florian

79b2eb2367
Bug 1492475 - Part 2: Move nsIBrowserSearchService.idl to toolkit/components/search/nsISearchService.idl and update references. r=florian

a947d3cdf0
Bug 1492475 - Part 3: The search service init() method should simply return a Promise. r=florian

c1e172dfac
Bug 1492475 - Part 4: Remove the synchronous initialization flow. r=florian

cd41189eac
Bug 1492475 - Part 5: Since async initialization of the search service now is implicit behavior, remove the distinctive verbiage used internally. r=florian

2ae7189dfa
Bug 1492475 - Part 6: Update the cache build task to work with an actual Promise and re-initialize only once at the same time - all to fix race conditions here. r=florian

c8ee92973f
Bug 1492475 - Part 7: Make the region fetch not block the init flow, to ensure it's as fast as possible. r=florian

c44e674e16
Bug 1492475 - Part 8: Introduce an init flag, which can only be used privately, that allows to explicitly skip waiting for the region check process to complete. r=florian

6c79eaf1d3
Bug 1492475 - Part 9: Update unit tests to stop using 'currentEngine', in favor of 'defaultEngine'. r=Standard8

21b3aa17ee
Bug 1492475 - Part 10: Update unit tests to be fully aware of the new, async signatures of the search service API and remove sync init flow tests. r=mkaply,florian

ce5ba69019
Bug 1492475 - Part 11: Repair incorrect usage of the `identifier` property of nsISearchEngine instances. r=florian

fd177a7994
Bug 1518543 - Fix up the Android (Fennec) nsISearchService shim to work with the new asynchronous API. r=florian

3653d8ee22
Bug 1523708 - Change the search service interaction in the show-heartbeat action to use the new async API. r=florian

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

--HG--
rename : netwerk/base/nsIBrowserSearchService.idl => toolkit/components/search/nsISearchService.idl
extra : moz-landing-system : lando
2019-02-02 11:27:21 +00:00
Makoto Kato
b93b9a8c45 Bug 1515004 - Move --with-android-sdk to moz.configure. r=nalexander
Since ./mach bootstrap installs Android SDK into ~/.mozbuild, we should detect
this location as default SDK install path.

Also, --with-android-max-sdk and --with-android-min-sdk are still in android.m4
because confvars.sh sets MOZ_ANDROID_MIN_SDK_VERSION.

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

--HG--
extra : moz-landing-system : lando
2019-02-01 21:12:51 +00:00
Vlad Baicu
e8663334b6 Bug 1516665 - Part 3: Additional logging. r=JanH
Added additional logging. In case the agent is not attached but we are not on a
release or beta build, allow createNotification to be called with a null context
so that we may be able to gather more information from the reports.

Depends on D18115

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

--HG--
extra : moz-landing-system : lando
2019-02-01 15:51:27 +00:00
Vlad Baicu
8938560671 Bug 1516665 - Part 2: Cleanup. r=JanH
Some code cleanup.

Depends on D17391

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

--HG--
extra : moz-landing-system : lando
2019-02-01 15:08:00 +00:00
Vlad Baicu
e55eb8e3c9 Bug 1516665 - Prevent MediaControlService NPE. r=JanH
Use MediaControlService's context when creating the notification in order to
prevent a NPE.

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

--HG--
extra : moz-landing-system : lando
2019-02-01 15:07:29 +00:00
Dylan Roeh
c8d8aee4ef Bug 1522153 - Pass an empty list rather than null to onChoicePrompt when no choices are present. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D18261

--HG--
extra : moz-landing-system : lando
2019-01-31 23:48:47 +00:00
shindli
d6dd350c66 Merge inbound to mozilla-central. a=merge 2019-02-01 05:56:53 +02:00
Mike Conley
c2ea02dd67 Bug 1522546 - Make GeckoView use browser.remoteType instead of getting at the attribute directly. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D18225

--HG--
extra : moz-landing-system : lando
2019-01-31 19:54:21 +00:00
Eitan Isaacson
35028de560 Bug 1515774 - Pass current GeckoView position with touch events to APZC. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D17044

--HG--
extra : moz-landing-system : lando
2019-01-31 16:46:15 +00:00
Petru Lingurar
49da2e4c53 Bug 1521675 - Use a timeout before testing the tracking events; r=Ehsan
There can be a slight delay (in rapport with actually loading the page) until
the ContentBlockingEvent is received.
To account for this, we'll use an overly generous 500ms timeout before
actually checking if we have the right tracking status.

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

--HG--
extra : moz-landing-system : lando
2019-01-31 06:40:21 +00:00
Dylan Roeh
add93d33eb Bug 1382637 - Backing out patch due to breakage (see: 1532161, 1532157). r=me 2019-01-31 13:58:54 -06:00
Myk Melez
25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Andrei Lazar
94c81d7d12 Bug 1523572 Increment Leanplum's version r=sdaswani
Incremented Leanplum's version to 3.0.2

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

--HG--
extra : moz-landing-system : lando
2019-01-29 18:29:09 +00:00
Eugen Sawin
d27cb22d1b Bug 1499214 - [3.0] Fix changelog version numbers for latest commits.
Differential Revision: https://phabricator.services.mozilla.com/D18080

--HG--
extra : moz-landing-system : lando
2019-01-30 15:17:11 +00:00
Ryan Hunt
cc32ace0f3 Bug 1522964 - Re-enable scroll anchoring on Fennec with gofaster intervention. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D17677

--HG--
extra : moz-landing-system : lando
2019-01-25 21:08:44 +00:00
Eugen Sawin
d7a16382fe Bug 1499214 - [2.0] Update content blocking tests and GVE. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D16605

--HG--
extra : moz-landing-system : lando
2019-01-30 14:25:40 +00:00
Eugen Sawin
dfe7344df0 Bug 1499214 - [1.6] Add Content Blocking API. r=snorp,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D15140

--HG--
rename : mobile/android/modules/geckoview/GeckoViewTrackingProtection.jsm => mobile/android/modules/geckoview/GeckoViewContentBlocking.jsm
extra : moz-landing-system : lando
2019-01-30 14:24:29 +00:00
Vlad Baicu
842499d64b Bug 1519418 - Replace line separators from the uid parameter received from the deeplink intent. r=sdaswani
Differential Revision: https://phabricator.services.mozilla.com/D17959

--HG--
extra : moz-landing-system : lando
2019-01-29 18:28:48 +00:00
Brindusan Cristian
e17de7336e Backed out 4 changesets (bug 1515774) for mochitest failrues at test_group_touchevents-3.html and test_touch_action.html.
Backed out changeset 45c6f07160d9 (bug 1515774)
Backed out changeset 3d97f1e46c1a (bug 1515774)
Backed out changeset 69c8787c67d6 (bug 1515774)
Backed out changeset 8e17cc234256 (bug 1515774)
2019-01-30 04:39:55 +02:00
Eitan Isaacson
d7b9a2b61f Bug 1515774 - Pass current GeckoView position with touch events to APZC. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D17044

--HG--
extra : moz-landing-system : lando
2019-01-29 23:18:41 +00:00
Dennis Schubert
222824c1b3 Bug 1522755 - Ship eBay Scroll Anchoring intervention to Fennec. r=rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D17600

--HG--
extra : moz-landing-system : lando
2019-01-29 17:36:56 +00:00
Eugen Sawin
c987c1aee1 Bug 1515728 - [2.0] Add smoke test for parcelable support. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D17424

--HG--
extra : moz-landing-system : lando
2019-01-29 15:08:25 +00:00
Eugen Sawin
540d235551 Bug 1515728 - [1.5] Add support for nested runtime settings. r=snorp,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D15130

--HG--
extra : moz-landing-system : lando
2019-01-29 15:07:12 +00:00
Cosmin Sabou
599a15d354 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 12:01:56 +02:00
Sebastian Hengst
b78e4e8667 Merge mozilla-central to mozilla-inbound
--HG--
rename : browser/components/urlbar/tests/legacy/browser_urlbar_search_no_speculative_connect_with_client_cert.js => browser/components/urlbar/tests/browser/browser_urlbar_speculative_connect_not_with_client_cert.js
2019-01-29 02:55:55 +02:00
Kris Maglione
fb4e709471 Bug 1514594: Follow-up: Fix ESLint error. r=bustage CLOSED TREE
--HG--
extra : amend_source : d3daee4392d23a2f512a5d1da7b85ac1ece4e44f
2019-01-28 16:30:26 -08:00
Razvan Maries
c88bd55f59 Merge mozilla-inbound to mozilla-central a=merge 2019-01-28 23:46:39 +02:00
James Willcox
84984eac60 Bug 1515789 - Ensure nsILoadURIDelegate::loadURI() is only called for toplevel redirects. r=smaug,geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D16990

--HG--
extra : moz-landing-system : lando
2019-01-28 15:35:17 +00:00
Ehsan Akhgari
310750fd8b Bug 1522630 - Report content blocking status notifications from the idle event queue; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D17554
2019-01-28 10:05:58 -05:00