28133 Commits

Author SHA1 Message Date
James Willcox
31161b8c36 Bug 1522451 - Add asset support to HttpBin r=geckoview-reviewers,agi
This lets us request, e.g. '/assets/www/hello.html'.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 16:45:04 +00:00
James Willcox
7f67f3cebb Bug 1522451 - Add ContentDelegate.onWebAppManifest() r=geckoview-reviewers,agi,droeh
This delivers a parsed and validated Web App Manifest to the
application, if present, during the page load process.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 15:32:57 +00:00
James Willcox
3ff87c0842 Bug 1522451 - Add asset support to HttpBin r=geckoview-reviewers,agi
This lets us request, e.g. '/assets/www/hello.html'.

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

--HG--
extra : moz-landing-system : lando
2019-03-11 19:15:55 +00:00
Petru Lingurar
263b5fbffd Bug 1534488 - Optimize the imports related to the search widget functionality; r=VladBaicu
Depends on D23477

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

--HG--
extra : moz-landing-system : lando
2019-03-14 12:48:22 +00:00
Petru Lingurar
505230c530 Bug 1534488 - Cleanup previous state before entering editing mode for search; r=VladBaicu
We need to ensure that nothing from the previous app state would prevent a
smooth flow for the search widget UX.
As such, in the event that they were left open, we will close the options menu
and the tabs tray before entering in tab editing mode for search.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 12:48:04 +00:00
Andrei Lazar
4e47ed126e Bug 1534207 Search Widget missing TELEMETRY probe for searches initiated r=petru
Added a telemetry probe (unique source value) to allow data science to measure percentage of searches initiated from the widget.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 16:10:41 +00:00
Nathan Froyd
6d4137ff36 Bug 1534159 - remove exceptions for Android and Darwin from libstdcxx checks; r=glandium
The only place we'd need the compat libraries would be for host
binaries, and those shouldn't be a problem given that our system images
are new enough.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 22:24:20 +00:00
Dustin J. Mitchell
aa3ebe8988 Bug 1535171 - fix missed uses of no-argument get_root_url r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D23416

--HG--
extra : moz-landing-system : lando
2019-03-13 23:10:16 +00:00
Botond Ballo
a986312833 Bug 1517895 - Wait for mozvisualscroll explicitly in the session store tests. r=JanH
SSTabScrollCaptured can sometimes be fired for other reasons, causing us to
query the visual scroll position before it has been updated.

Not explicitly waiting for SSTabScrollCaptured is also safe in this case
because we're only querying the session store's view of the scroll position
*after* closing the tab, which will flush any pending scroll position updates
in the session store.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 16:00:07 +00:00
Botond Ballo
fd96b481ac Bug 1517895 - Use scrollToVisual() in the session store tests. r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D19874

--HG--
extra : moz-landing-system : lando
2019-03-13 16:00:07 +00:00
Gijs Kruitbosch
fba25eeb23 Bug 1534943 - also update android CSS for font-size changes, r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D23325

--HG--
extra : moz-landing-system : lando
2019-03-13 19:40:26 +00:00
Geoff Brown
2390d7a2a4 Bug 1532435 - Skip junit inputConnection test on debug only, to save lots of time; r=snorp
Disabling inputConnection on debug saves about 15 minutes of time, which helps
us avoid the timeouts seen in this bug. It continues running on opt, where it
runs much faster.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 15:26:36 +00:00
Eitan Isaacson
50711a42d5 Bug 1531579 - Refresh viewport cache on tree mutations and fire android event. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D21610

--HG--
extra : moz-landing-system : lando
2019-03-12 21:58:37 +00:00
James Willcox
137efa1bc6 Bug 1498721 - Add default methods to GeckoView delegate interfaces r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D23016

--HG--
extra : moz-landing-system : lando
2019-03-12 14:19:45 +00:00
Andrei Lazar
69cf1e9a01 Bug 1533723 Missing variants resources for search widget preview r=petru
Added preview assets for search widget within all variants.

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

--HG--
extra : moz-landing-system : lando
2019-03-12 14:38:26 +00:00
Dorel Luca
df51e27b6a Backed out changeset 583048926c12 (bug 1531579) for Geckoview failure. CLOSED TREE 2019-03-12 01:38:46 +02:00
Eitan Isaacson
adcc1ec434 Bug 1531579 - Refresh viewport cache on tree mutations and fire android event. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D21610

--HG--
extra : moz-landing-system : lando
2019-03-05 19:28:41 +00:00
Emily Toop
e349b447de Bug 1527716 - Update GVE and Documentation to reflect proper handling of Notification permissions. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D21947

--HG--
extra : moz-landing-system : lando
2019-03-11 15:35:42 +00:00
Petru Lingurar
1520e32465 Bug 1533361 - Force about:home startup tab if the app was opened from the search widget; r=AndreiLazar
If the app was started from the search widget we need to always load about:home
and not the homepage which the user may have set to be another address.

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

--HG--
extra : moz-landing-system : lando
2019-03-11 13:18:06 +00:00
Andrei Lazar
823284d748 Bug 1534205 Search Widget wrong layout after updating period r=petru
Removed search widget update interval in order to prevent bad layout re-configuration.

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

--HG--
extra : moz-landing-system : lando
2019-03-11 10:17:58 +00:00
Petru Lingurar
2be45cf249 Bug 1534074 - Use in place api check to prevent Lint ApiDetector errors; r=AndreiLazar
Previous code was using our own sugary feature26Plus check which Lint doesn't
properly follow.
As such even if the code was properly guarded and behaved correctly Lint would
show errors about improper usage of methods which require higher api levels.
Doing the api check in place ensures it will get picked up by Lint's
ApiDetector and so it will not report about such errors here.

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

--HG--
extra : moz-landing-system : lando
2019-03-11 08:51:29 +00:00
Sylvestre Ledru
e34acc8d48 Bug 1531176 - Split the Google key management between gls and safe browsing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21459

--HG--
extra : moz-landing-system : lando
2019-03-10 15:29:41 +00:00
Petru Lingurar
38270c952c Bug 1532613 - Enter editing mode after new "about:home" tab was added; r=AndreiLazar
We'll delay entering editing mode until we are sure the process for adding a
new "about:home" tab completed.
This allows avoiding certain race conditions with the previous state or with
the tab counter animation.

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

--HG--
extra : moz-landing-system : lando
2019-03-08 15:13:55 +00:00
Andrei Lazar
cf929b7617 Bug 1533645 Search widget can trigger the Tab Queue prompt r=petru
Added a flag on the search widget intent in order to skip the tab queue prompt.

Depends on D22314

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

--HG--
extra : moz-landing-system : lando
2019-03-08 20:10:36 +00:00
Andrei Lazar
dd1cc20388 Bug 1526934 Search Widget for Fennec Part 4 - Polish UI using the UX's team layouts r=petru
Polished UI by adding a custom drawable with rounded corners.
Made layouts responsive by setting relative widths.
Handled edge case for 1x1 cell.
Removed unused resources.

Depends on D21685

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

--HG--
rename : mobile/android/services/src/main/res/layout/widget_search_5_col_layout.xml => mobile/android/services/src/main/res/layout/widget_search_default_col_layout.xml
extra : moz-landing-system : lando
2019-03-08 15:05:42 +00:00
Andrei Lazar
e63ba51548 Bug 1531679 Search Widget for Fennec Part 3 - Make it discoverable through Leanplum r=petru
Provided a deep link for the add widget intent.

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

--HG--
extra : moz-landing-system : lando
2019-03-08 15:05:02 +00:00
Andrei Lazar
67097b0731 Bug 1526929 Search Widget for Fennec Part 2 - Wire search widget component with the main component r=petru
Implemented search widget's intent handling in BrowserApp class.

Depends on D20149

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

--HG--
extra : moz-landing-system : lando
2019-03-08 15:04:23 +00:00
Andrei Lazar
752de38105 Bug 1526926 Search Widget for Fennec Part 1 - Add search widget code base r=petru
Added Search widget provider class, declared the provider in the manifest and created mock layout for it.

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

--HG--
extra : moz-landing-system : lando
2019-03-08 15:03:52 +00:00
Csoregi Natalia
afc7afdf16 Backed out 2 changesets (bug 1532850) for apilint failure. CLOSED TREE
Backed out changeset 8feadb1f48f2 (bug 1532850)
Backed out changeset d3eed8f55897 (bug 1532850)
2019-03-09 03:13:56 +02:00
James Willcox
cdb58ae6cf Bug 1522451 - Add ContentDelegate.onWebAppManifest() r=geckoview-reviewers,agi,droeh
This delivers a parsed and validated Web App Manifest to the
application, if present, during the page load process.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 14:44:22 +00:00
James Willcox
c54e1232f7 Bug 1522451 - Add asset support to HttpBin r=geckoview-reviewers,agi
This lets us request, e.g. '/assets/www/hello.html'.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 14:43:21 +00:00
Petru Lingurar
bee3c060d4 Bug 1534213 - Reduce the number of WebpageItemRow layout refreshes; r=JanH
Previously, WebpageItemRow's layout would be updated everytime a new Tab for
it's url would be ADDED/CLOSED/LOCATION_CHANGED to force a recheck of the need
to show the "Switch to tab hint".
To prevent multiple layout refreshes for every such event we will check the
current display status of the "Switch to tab hint" against the newly computed
value after an ADDED/CLOSED/LOCATION_CHANGED event was received.
Eagerly changing the value for 'switchToTabHintShown' along with informing
about the need for layout refresh to prevent any race conditions between
receiving more events and actualy refreshing the layout.
(In my tests I saw ADDED/LOCATION_CHANGE refreshing the same layout needlessly)

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

--HG--
extra : moz-landing-system : lando
2019-03-19 22:02:30 +00:00
Mike Shal
ad14ed9471 Bug 632954 - Add Android PGO mozconfigs; r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D22819

--HG--
extra : source : 503bcac735831eea887393d4759358220bcb6d99
2019-03-18 23:52:43 +00:00
Noemi Erli
b61340c4b0 Backed out 12 changesets (bug 632954) for causing Android Bpgo(run) pending jobs CLOSED TREE
Backed out changeset 429c96e4de32 (bug 632954)
Backed out changeset de8beacc5eb4 (bug 632954)
Backed out changeset c151ebf303ca (bug 632954)
Backed out changeset b96dd954a456 (bug 632954)
Backed out changeset 26031d362333 (bug 632954)
Backed out changeset 097f141a499d (bug 632954)
Backed out changeset 6f5fc0d644dd (bug 632954)
Backed out changeset 53d3443e55d9 (bug 632954)
Backed out changeset 503bcac73583 (bug 632954)
Backed out changeset 142ae187478d (bug 632954)
Backed out changeset 0615c775a0cf (bug 632954)
Backed out changeset 3dfc0e4f8e7c (bug 632954)
2019-03-20 11:58:18 +02:00
Johann Hofmann
1a4514ad76 Bug 1511111 - Convert UrlClassifierSkipListService to static registration. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D20318

--HG--
rename : netwerk/url-classifier/UrlClassifierSkipListService.js => netwerk/url-classifier/UrlClassifierSkipListService.jsm
extra : moz-landing-system : lando
2019-03-08 22:21:39 +00:00
Johann Hofmann
fde7df021a Bug 1511111 - Add nsIUrlClassifierSkipListService to integrate url-classifier with RemoteSettings and pref list updates. r=Ehsan,baku,leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D18597

--HG--
extra : moz-landing-system : lando
2019-03-08 22:21:32 +00:00
Hiroyuki Ikezoe
de3fbc50e9 Bug 1532850 - Implement the backend for prefers-color-scheme on Android. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D22272

--HG--
extra : moz-landing-system : lando
2019-03-09 00:21:21 +00:00
Botond Ballo
0e4341156f Bug 1527675 - Enable containerless scrolling on the nightly channel in GeckoView. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D19684

--HG--
extra : moz-landing-system : lando
2019-03-08 21:42:19 +00:00
Vlad Baicu
924d521c85 Bug 1380854 - Track Sign in and sync finished events in LP.r=petru
Differential Revision: https://phabricator.services.mozilla.com/D22703

--HG--
extra : moz-landing-system : lando
2019-03-08 13:49:09 +00:00
Vlad Baicu
e84d7f028b Bug 1519418 - Replace MMA preferences with sharedPreferences.r=petru
Patch D16319 attempted to clean the MMA code and allow for easier debugging
of LP deeplinks on dev builds. However it introduced a regression because the
MMA preferences were being accessed by the initializing activity. By making
getDeviceId public and static, calling it from another activity would result
in a null value returned. I have refactored the code to use shared preferences
and remove the dependency on other activities.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 17:33:57 +00:00
arthur.iakab
77aa564189 Merge mozilla-central to autoland 2019-03-08 06:41:04 +02:00
arthur.iakab
013bbfceb8 Merge inbound to mozilla-central a=merge 2019-03-08 06:39:50 +02:00
arthur.iakab
eba6cadac2 Merge mozilla-central to mozilla-inbound 2019-03-08 00:19:35 +02:00
Botond Ballo
1db554d611 Bug 1158392 - Enable containerless scrolling on the nightly channel in Fennec. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D19683

--HG--
extra : moz-landing-system : lando
2019-03-07 18:03:32 +00:00
Dan Minor
6b482f0537 Bug 1532756 - Rename geckomediaplugin to gmplugin on Android; r=droeh
In Bug 1514043 we renamed the geckomediaplugin to gmplugin, but missed renaming
it on Android. This prevents the plugin from loading, which breaks OpenH264 in
WebRTC.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 16:24:28 +00:00
Emily Toop
c336620b27 Bug 1528303 - Update GVE to demonstrate how to handle media permissions correctly r=geckoview-reviewers,snorp
Update `onMediaPermissionRequest` documentation to better reflect usage

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

--HG--
extra : moz-landing-system : lando
2019-03-06 15:41:26 +00:00
Ciure Andrei
f18158766f Backed out changeset 3fb6c01dd2b0 (bug 1531176) for causing gradle toolchain bustage CLOSED TREE 2019-03-07 14:23:03 +02:00
Sylvestre Ledru
3efed81946 Bug 1531176 - Split the Google key management between gls and safe browsing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21459

--HG--
extra : moz-landing-system : lando
2019-03-07 12:04:53 +00:00
Ciure Andrei
f1a9fa2676 Backed out changeset 0f2b9b0bf9b9 (bug 1531176) for google-geolocation-api-keyfile build bustages CLOSED TREE 2019-03-07 13:58:33 +02:00
Sylvestre Ledru
90181c47ae Bug 1531176 - Split the Google key management between gls and safe browsing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21459

--HG--
extra : moz-landing-system : lando
2019-03-07 11:31:18 +00:00