Граф коммитов

25269 Коммитов

Автор SHA1 Сообщение Дата
Jim Chen e5bc1dc324 Bug 1416319 - 3. Clean up DynamicToolbarAnimator API; r=rbarker
The plan is to incorporate DynamicToolbarAnimator into the official
GeckoView API and expose getter/setter in LayerSession. This patch
cleans up the class to make sure only public APIs are public, and to
assert they are called on the UI thread.

MozReview-Commit-ID: D3ePV3k2HvX

--HG--
extra : rebase_source : b1925ff484b5661f3a02f66079d4834961efffbe
2017-11-22 14:12:22 -05:00
Jim Chen c04cfbb676 Bug 1416319 - 2. Remove usage of MetricsListener by FormAssistPopup; r=rbarker
This code is supposed to reposition the form assist popup if the toolbar
appears or disappears while the popup is visible, but we can move that
to a resize event listener in JS, so we don't have to maintain
the MetricsListener API for DynamicToolbarAnimator.

MozReview-Commit-ID: HR6wcJrGloR

--HG--
extra : rebase_source : a330a181bd352ad0028cb2a8faf1f92470189ead
2017-11-22 14:12:22 -05:00
Jim Chen b21cdffaf4 Bug 1416319 - 1. Move content-document-is-displayed flag to native code; r=rbarker
One fix I forgot to make in bug 1416310 is to change the code to reset
the flag in LayerView. I think it's better if we just moved the whole
thing to native code, since we don't really use the flag in Java.

MozReview-Commit-ID: 9cbcYb89LhC

--HG--
extra : rebase_source : a209669d6657a60c198f59f4a0e4d959478485c3
2017-11-22 14:12:22 -05:00
Jan Henning d44422eff6 Bug 1417918 - Save current keyword before navigating to SelectFolderFragment. r=jwu
Same issue as bug 1374251 now that keywords are editable as well.

MozReview-Commit-ID: AJyDRAAN2IR

--HG--
extra : rebase_source : 8e99338ca8b4d79ea2ea95451d045476cb76ba51
2017-11-17 18:42:39 +01:00
Tom Prince a45ea20b93 Bug 1413575: Adjust in-tree references to mozbase documentation to point in-tree. r=ahal
MozReview-Commit-ID: rctbByyjTA

--HG--
extra : rebase_source : a682eb6d77b79640ac9ec20e9d64340613bcfed7
2017-11-20 11:43:13 -07:00
Luca Greco af79ee9b90 Bug 1373170 - Fix and re-enable android pageAction getPopup/setPopup tests. r=bsilverberg
MozReview-Commit-ID: 3CKvvtI7OEN

--HG--
extra : rebase_source : 73105a314e940e25c76f30d21b1f336f6e1f7595
2017-08-30 21:38:13 +02:00
Gurzau Raul f464825286 Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-16 12:16:07 +02:00
Gurzau Raul 6dcee027d7 Merge inbound to mozilla-central r=merge a=merge 2017-11-16 12:04:45 +02:00
Mike Hommey 9ec14dddcb Bug 1417689 - Remove explicit --enable-elf-hack in mozconfigs. r=nalexander
--enable-elf-hack is the default on all platforms where it's supported,
and is completely ignored on platforms where it's not supported.
While moving the flag to moz.configure, we're going to make it only
work on platforms where elfhack is supported, so we at least need to
remove it from mozconfigs for those platforms where it's not supported.
But generally speaking, we want less things in mozconfigs, so just
remove it from there, since it's the default anyways.
2017-11-16 09:37:17 +09:00
Nevin Chen 3eb6a885c1 Bug 1390454 - Apply Banner fix for Leanplum SDK. r=maliu
Since we want to update our fork of Leanplum SDK as minimum as possible, this patch only pick the patch from Leanplum repo:
https://github.com/Leanplum/Leanplum-Android-SDK/pull/41

MozReview-Commit-ID: 5qFgH9xhHfy

--HG--
extra : rebase_source : 411dbdb11f4b9c826118bc39f9f137ec65836b4e
2017-11-15 14:53:55 +08:00
Nevin Chen 3952fdd772 Bug 1390454 - Make Banner dialog status bar transparent. r=maliu
I didn't check if currently the app is using dark theme(LightweightTheme) or not.
Cause that requires some hacky injection to let Leanplum SDK knows the status bar corlor or dark theme or not.

MozReview-Commit-ID: 4Twe59Gw6mS

--HG--
extra : rebase_source : a4fd4db28ccb9b210a547b328af72c6390a038d0
2017-11-14 15:06:18 +08:00
Nevin Chen 90db452b7d Bug 1411607 - Hide Experimental features section when there are no experiments. r=maliu
MozReview-Commit-ID: Fph0llqYgdL

--HG--
extra : rebase_source : 489b6e2f512c936d74d1ee84f5da086027cb8d1a
2017-11-10 17:17:49 +08:00
Andrew Gaul e6b528e144 Bug 1413620 - Prefer Integer.valueOf over new Integer. r=nalexander,nechen
The former uses the Integer object cache to avoid allocations.
2017-11-01 10:40:27 -07:00
Brindusan Cristian 89030a420a Merge mozilla-central to inbound r=merge a=merge on a CLOSED TREE 2017-11-16 00:51:41 +02:00
Grigory Kruglov 713625953b Bug 1403787 - Change try/catch to catch the correct exception r=eoger,nalexander
We're aiming to catch FileNotFound exceptions here, but underneath they're re-thrown as IllegalStateException.

MozReview-Commit-ID: HaCpbqq93q0

--HG--
extra : rebase_source : 60a5be31cdb5bd66a2b2d9bde5e86671d9a01ffd
2017-10-30 03:17:48 -07:00
Jan Henning bbc847a79b Bug 1416261 - Use android:theme, as app:theme has been deprecated. r=jwu
MozReview-Commit-ID: Iuf4NfCWnyc

--HG--
extra : rebase_source : 384b48cbdaef0c6ac8eefb661f869a249b977f3d
2017-11-10 17:35:31 +01:00
J. Ryan Stinnett c87de83b8d Bug 1417664 - Include layout debugger interface for packaged builds. r=mats,nalexander
MozReview-Commit-ID: 1bNIRlmsHx6

--HG--
extra : rebase_source : a1a21527aa75b2e0148c052194183cc7d94a8f9a
2017-11-15 16:01:39 -06:00
Thom Chiovoloni 91c3f631d6 Bug 1415656 - Fix android serializing dateAdded as a string in sync bookmark records r=Grisha
MozReview-Commit-ID: 1u9DeVvYwjY

--HG--
extra : rebase_source : 24a16261ff037929dc424ddd1c278030a2d09f25
2017-11-14 15:14:08 -05:00
Jim Chen c9c8f7024a Bug 1415994 - 7. Migrate existing gfx code to use LayerSession; r=snorp
Remove most of the Compositor and Surface management code in LayerView.
And use LayerSession.Compositor in rest of the gfx code.

MozReview-Commit-ID: 5E9pj3eGHlv

--HG--
extra : rebase_source : 0b0a64113db58aaf376c98d5480f5cf31174a3d3
2017-11-14 18:18:35 -05:00
Jim Chen db59a90277 Bug 1415994 - 6b. Track GeckoDisplay origin changes; r=snorp
Add a `screenOriginChanged` callback to GeckoDisplay.Listener, which
informs Gecko of changes in the origin of the display. The origin
translates to coordinates for web APIs like screenX/screenY and certain
other calculations.

Also, make GeckoDisplay listen to layout changes in the view tree (by
overriding gatherTransparentRegion as an optimization), and call
`screenOriginChanged` accordingly.

MozReview-Commit-ID: C72EHCkbV3T

--HG--
extra : rebase_source : 240c5c8fb3c2938ae966f40e86f7c5a0ca66526c
2017-11-14 18:18:35 -05:00
Jim Chen eb9152fe63 Bug 1415994 - 6. Implement GeckoDisplay in GeckoView; r=snorp
Make GeckoView implement GeckoDisplay for its own SurfaceView, and use
that with GeckoSession.

MozReview-Commit-ID: LXllQGlCxaB

--HG--
extra : rebase_source : 1b41e411b2c293797d572d584c4f2b7036e83b23
2017-11-14 18:18:35 -05:00
Jim Chen ff6c25061a Bug 1415994 - 5. Use LayerSession from GeckoSession; r=snorp
Make GeckoSession inherit from LayerSession, and connect its Compositor
to native code as part of the GeckoSession routine.

MozReview-Commit-ID: wQaH1A0a7z

--HG--
extra : rebase_source : ee4ae96e974d15c8cb9ad569ea9abf0ace4d0fa5
2017-11-14 18:18:35 -05:00
Jim Chen 3ef19c1765 Bug 1415994 - 3. Add LayerSession; r=snorp
Add a LayerSession class that's split off LayerView. Currently,
LayerSession takes over Surface management and the Compositor class from
LayerView. Eventually, all of LayerView will migrate to LayerSession.

MozReview-Commit-ID: F1ozOfZGY2g

--HG--
extra : rebase_source : eaf42122db1238c99b0da1e689bc365180a2835f
2017-11-14 18:18:34 -05:00
Jim Chen 915defe322 Bug 1415994 - 2. Introduce GeckoDisplay; r=snorp
Introduce a GeckoDisplay interface for interaction with GeckoSession.

MozReview-Commit-ID: 13prgWaPqKU

--HG--
extra : rebase_source : 282b27a1f7c11cf4e559b1f25946c3f4574e900a
2017-11-14 18:18:34 -05:00
Jim Chen 11dc67a595 Bug 1415994 - 1. Don't report screen size in GeckoLayerClient; r=rbarker
We don't actually use the screen size through GeckoLayerClient anymore.
Getting rid of it lets us get rid of the Context field in
GeckoLayerClient as well.

MozReview-Commit-ID: GM1jlhAZm4T

--HG--
extra : rebase_source : 04827eb61d6304d4782a7a935d5528013255726f
2017-11-14 18:18:34 -05:00
Grigory Kruglov 2c2f325436 Bug 1408585 - Remove RepositorySession createSession delegates r=rnewman
MozReview-Commit-ID: KezYHeSWDiL

--HG--
extra : rebase_source : c63f69a7d5b16d152fa809560a70c14ae1da5715
2017-11-14 14:37:05 -05:00
Grigory Kruglov 45de7880f9 Bug 1408585 - Remove RepositorySession begin delegates r=rnewman
'begin' now throws in case things go wrong.

MozReview-Commit-ID: 8jcxYiPcsii

--HG--
extra : rebase_source : 3a6cd6b5dd68f8674d4de827a4228f1e3807724a
2017-11-13 14:29:49 -05:00
Dave Townsend 9b2e25316e Bug 1414406: Remove the inline options feature for add-ons. r=aswan
MozReview-Commit-ID: 4ycTaMzqWgx

--HG--
extra : rebase_source : 9176d61244a140a5c4fde953302e9fb72aebff5a
2017-11-13 15:09:00 -08:00
Nick Alexander 0d056acc9a Bug 1415778 - Part 3: Fix up Gradle. r=jchen
This patch makes the :geckoview Gradle project only use
o.m.geckoview.BuildConfig, and makes the :app Gradle project use all
of the preprocessed code coming from the moz.build system.
Eventually, we'll reduce that set of preprocessed code to only
o.m.gecko.BuildConfig, which will then be produced by Gradle.

MozReview-Commit-ID: Dnkde7axyZL

--HG--
extra : rebase_source : dc0b7f9fa542cbfd9c665bfac761d45f5957f7b8
2017-11-09 09:44:40 -08:00
Nick Alexander 4d8546e06b Bug 1415778 - Part 2: Move AppConstants to o.m.geckoview.BuildConfig. r=jchen
Some of these make no sense for GeckoView, but perfect is the enemy of
the good here.

MozReview-Commit-ID: 9MwRkc61v9P

--HG--
extra : rebase_source : 8e7fa8102c615f34dbd76394fb6877188007c3c7
2017-11-08 21:14:44 -08:00
Nick Alexander 26c00638a1 Bug 1415778 - Part 1: Stop using AppConstants.Versions. r=jchen
Versions is no more efficient than checking android.os.Build, and it
actually interferes with the Android lint that checks API
compatibility.

MozReview-Commit-ID: Cl1227uHWKZ

--HG--
extra : rebase_source : 91ceba45906ad5fbb47d55c982ecbb65569a3f00
2017-11-08 20:41:57 -08:00
Nick Alexander 6f9dfe6900 Bug 1415778 - Pre: Don't use ANDROID_PACKAGE_NAME in GeckoView. r=jchen
MozReview-Commit-ID: FswHnEIBM35

--HG--
extra : rebase_source : 0dcccaab5e907dfb415a3626cc353ff7de823ea3
2017-11-08 21:15:12 -08:00
Jim Chen 30cc0165d5 Bug 1417490 - Avoid crash in getMatrixForLayerRectToViewRect; r=me
Avoid crash in `GeckoLayerClient.getMatrixForLayerRectToViewRect` by not
calling `isCompositorReady`. If the compositor is really not ready, we will
return inaccurate data, but that's acceptable. r=me for trivial patch.

MozReview-Commit-ID: HobHchWYQ5D
2017-11-15 15:08:27 -05:00
Coroiu Cristina 6a04305b5d Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-14 12:31:45 +02:00
Jim Chen fe020808ec Bug 1416576 - Correctly handle Tab:OpenUri; r=me
Correctly handle the Tab:OpenUri event introduced in bug 1412872. r=me
for trivial patch.

MozReview-Commit-ID: BIpKcLCi8sV
2017-11-13 22:50:43 -05:00
Michael Kaply 1a22aca3b3 Bug 1416484 - Add and update some engines for later testing. r=mconnor
MozReview-Commit-ID: 3797KN2Bq52

--HG--
extra : rebase_source : 9311e75586ad31f6d20766b7f440eccb49a778e3
2017-11-11 10:23:03 -06:00
Andreea Pavel 7fb4cc447c Merge inbound to mozilla-central r=merge a=merge 2017-11-11 11:59:20 +02:00
Ryan VanderMeulen ef843a0e30 Merge m-c to inbound. a=merge 2017-11-10 16:14:16 -05:00
Ryan VanderMeulen b16410f51c Merge inbound to m-c. a=merge 2017-11-10 16:13:15 -05:00
Dylan Roeh ebd39f9ce0 Bug 1337078 - Improve the use of Android API in OSPreferences r=snorp
Add BrowserLocaleManager.refreshLocales, a native function which calls OSPreferences::Refresh, and BrowserLocaleManager.getLocale, which returns the current locale string. Use these in place of observing modification of the intl.locale.os pref.
2017-11-10 09:20:04 -06:00
Makoto Kato 4fa452ee6e Bug 1416113 - Unnecessary to set LOCALE_THOUSANDS_SEP, LOCALE_DECIMAL_POINT and LOCALE_GROUPING. r=snorp
LOCALE_THOUSANDS_SEP, LOCALE_DECIMAL_POINT and LOCALE_GROUPING are only used by
old code without ICU.  Since we turn on ICU with ECMA-402 support, it is
unnecessary to set LOCALE_THOUSANDS_SEP, LOCALE_DECIMAL_POINT and
LOCALE_GROUPING in GeckoLoader.setupLocaleEnvironment.

MozReview-Commit-ID: LlGQdLlM7I2

--HG--
extra : rebase_source : 559fafd4ded9e351805fdd7b10e7aaebfc09637e
2017-11-10 13:55:56 +09:00
Jim Chen 06dbbe8e81 Bug 1411968 - Only try launching BrowserApp when handling notifications; r=nechen
Usually when we handle notification events, we try to launch whatever
Activity showed the notification so that the user can see results.
However, only BrowserApp supports being launched this way, so we should
restrict launching Activites to BrowserApp. For others like
CustomTabsActivity, we should just handle the notification event
directly. Currently, only download notifications are supported for these
other Activities, so it's okay if we don't display the Activity.

MozReview-Commit-ID: CNVRSEWBOQ6

--HG--
extra : rebase_source : 79392e1d26a969b6a90dcb976b13dae91fc75241
2017-11-10 18:26:18 -05:00
Csoregi Natalia 6d76ab3d79 Backed out 2 changesets (bug 1414406)for ESLINT failures /toolkit/mozapps/extensions/content/extensions.js:1193 r=backout on a CLOSED TREE
Backed out changeset f501182ed44b (bug 1414406)
Backed out changeset f438ce3fc88e (bug 1414406)
2017-11-14 00:02:18 +02:00
Dave Townsend 9c5a18de90 Bug 1414406: Remove the inline options feature for add-ons. r=aswan
MozReview-Commit-ID: 4ycTaMzqWgx

--HG--
extra : rebase_source : 2898d9947489b9a1d8b69364cb6574706e849225
2017-11-06 10:26:40 -08:00
Narcis Beleuzu 24bf9b5ccd Backed out changeset ca5529c5b232 (bug 1411968) for mass failures on Android 4.3 API16+ debug. r=backout on a CLOSED TREE 2017-11-13 20:02:26 +02:00
Jim Chen 2d53382441 Bug 1411968 - Only try launching BrowserApp when handling notifications; r=nechen
Usually when we handle notification events, we try to launch whatever
Activity showed the notification so that the user can see results.
However, only BrowserApp supports being launched this way, so we should
restrict launching Activites to BrowserApp. For others like
CustomTabsActivity, we should just handle the notification event
directly. Currently, only download notifications are supported for these
other Activities, so it's okay if we don't display the Activity.

MozReview-Commit-ID: CNVRSEWBOQ6

--HG--
extra : rebase_source : 79392e1d26a969b6a90dcb976b13dae91fc75241
2017-11-10 18:26:18 -05:00
Geoff Brown cbb956e0c3 Bug 1407679 - Merge nsIIOService and nsIIOService2; r=nwgh 2017-11-10 07:03:36 -07:00
Margareta Eliza Balazs 7e070192d7 Merge inbound to mozilla-central r=merge a=merge 2017-11-10 11:55:43 +02:00
Nicholas Nethercote f4dd5e2636 Bug 1414096 (attempt 2) - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.

This patch finishes the job.

- It removes the nsISupportsString support.

- It converts existing code that relied on the nsISupportsString.

- It removes the lint that was set up to detect such uses of nsISupportsString.

--HG--
extra : rebase_source : b885ee784704819e181430200af5ef762e269d14
2017-11-10 09:07:48 +11:00
Andrea Marchesini a4ddff0ca6 Bug 1347515 - Get rid of dom/json, r=qdot 2017-11-10 00:27:36 +01:00
Eugen Sawin 41e3646a3a Bug 1415929 - [1.0] Move Android app data directory out of setting to an environment variable. r=snorp 2017-11-09 21:37:24 +01:00
Michael Comella 4b81416ab1 Bug 1414995: Crash when publicsuffixlist could not be opened. r=nechen
MozReview-Commit-ID: 2agnVzKLkzd

--HG--
extra : rebase_source : 8f4b13154f74ac358fea2c2693f546a95b7f46ca
2017-11-06 16:12:15 -08:00
Sebastian Hengst ad5f08ae5a merge mozilla-central to autoland. r=merge a=merge 2017-11-09 00:52:17 +01:00
L10n Bumper Bot f945fe7970 no bug - Bumping Fennec l10n changesets DONTBUILD r=release a=l10n-bump
ach -> default
bs -> default
ia -> default
ltg -> default
oc -> default
2017-11-08 14:40:48 -08:00
Sebastian Hengst a353221537 merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 00:00:16 +02:00
Narcis Beleuzu 57d9eb5fb1 Backed out 1 changesets (bug 1414096) for dt1 failures "devtools/client/commandline/test/browser_cmd_pref3.js" r=backout on a CLOSED TREE
Backed out changeset e843de356b7e (bug 1414096)
2017-11-08 18:04:01 +02:00
Sebastian Hengst 91932e97bd Backed out 2 changesets (bug 1415298) for orphaned pattern 'assets/**' in mobile/android/app/moz.build. r=backout on a CLOSED TREE
Backed out changeset e046373e0dca (bug 1415298)
Backed out changeset 160586d66bcb (bug 1415298)

--HG--
rename : mobile/android/app/src/main/assets/example_asset.txt => mobile/android/app/assets/example_asset.txt
rename : mobile/android/app/src/main/assets/parental_controls_theme.png => mobile/android/app/assets/parental_controls_theme.png
rename : mobile/android/app/src/main/assets/publicsuffixlist => mobile/android/app/assets/publicsuffixlist
2017-11-08 20:11:03 +02:00
Nick Alexander 7094a99a6c Bug 1415298 - Fix finding assets/ in |mach android test| locally. r=maliu
Upgrading to the Android-Gradle plugin 3.0+ broke |mach android test|
locally.  This addresses the issue.

MozReview-Commit-ID: 3vV47ET7d19

--HG--
extra : rebase_source : aaf7a550f8b2776a41d55fdce2c43c0c8c473331
2017-11-07 12:43:40 -08:00
Nick Alexander 0de3e321d4 Bug 1415298 - Pre: Move assets/ into standard Gradle location. r=maliu
This is part of a larger project to standardize our source locations.

MozReview-Commit-ID: Gbh9qSW7RJY

--HG--
rename : mobile/android/app/assets/example_asset.txt => mobile/android/app/src/main/assets/example_asset.txt
rename : mobile/android/app/assets/parental_controls_theme.png => mobile/android/app/src/main/assets/parental_controls_theme.png
rename : mobile/android/app/assets/publicsuffixlist => mobile/android/app/src/main/assets/publicsuffixlist
extra : rebase_source : e73b7d579e02984e6e2a4a3c746c515a69768568
2017-11-07 12:41:21 -08:00
Delphine Lebédel f9662b26c6 Bug 1413376 - [oc] Search engine setup for Firefox Mobile Occitan, r=flod
MozReview-Commit-ID: 7SPWMd8n2UR

--HG--
extra : rebase_source : b6772ad0d961583393f1c00aafde79f3d15a60b4
2017-11-08 08:35:12 -08:00
Delphine Lebédel 86b74b0c47 Bug 1411102 - Add ach, bs, ia, ltg and oc to Fennec all-locales for single-locales builds, r=flod
MozReview-Commit-ID: BX6azMD9G5c

--HG--
extra : rebase_source : 2e73ec3a5991f35c8a4552d949889408b51fb638
2017-11-08 08:21:09 -08:00
Narcis Beleuzu e8f9b9e9a8 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-11-08 12:55:21 +02:00
Narcis Beleuzu 218e1676cb Merge inbound to mozilla-central r=merge a=merge 2017-11-08 12:51:09 +02:00
Cervantes Yu c6bc943ace Bug 1414714 - Part 2: Remove unused gfx.* prefs. r=nical
The following prefs are removed because they are defined in gfxPrefs, but the
resulting gfxPrefs property is used at all.
* gfx.SurfaceTexture.detach.enabled
* gfx.touch.resample.*
* gfx.screen-mirroring.enabled

MozReview-Commit-ID: CyI3JN4TTu5
2017-11-08 15:26:50 +08:00
Delphine Lebédel e64d4a4e5f Bug 1411110 - [ia] Search plugin set up for Interlingua on Firefox Android, r=flod
MozReview-Commit-ID: 7ayczE2fyQx

--HG--
extra : rebase_source : 4e9590a91cf58f4c82b0d424d7f84515d937ef98
2017-11-07 13:53:23 -08:00
Nicholas Nethercote 8b3d03c666 Bug 1414096 - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.

This patch finishes the job.

- It removes the nsISupportsString support.

- It converts existing code that relied on the nsISupportsString.

- It removes the lint that was set up to detect such uses of nsISupportsString.

--HG--
extra : rebase_source : fb7af066adfa0491a79fae6282a62b08661553c8
2017-10-31 16:34:35 +11:00
Margareta Eliza Balazs 130574a8e2 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-08 00:09:29 +02:00
Randall Barker 8cb9ab66e9 Bug 1413362 - part 3: Add support to build system for GoogleVR based WebVR on Android r=froydnj,nalexander
MozReview-Commit-ID: 8BHBnvor5VT
2017-11-07 10:50:15 -08:00
Randall Barker 7fe4594a76 Bug 1413362 - part 1: Add GeckoVRManager to support GVR WebVR implementation on Android r=jchen,snorp
MozReview-Commit-ID: C7XTF8N1W9a
2017-11-07 10:50:14 -08:00
Nick Alexander 8a81d12535 Bug 1415220 - Make Fennec build --with-gradle by default. r=sebastian
This was just an oversight.

MozReview-Commit-ID: 4mHbW3gF4Qn

--HG--
extra : rebase_source : 7af77c4e028561e127f101b92bf8738502325bf9
2017-11-07 09:03:18 -08:00
Luca Greco ed4206c563 Bug 1414379 - Closing the extension popup tab should select the parent tab only if the popup tab was selected. r=mixedpuppy
MozReview-Commit-ID: KgSTdblvmYe

--HG--
extra : rebase_source : cef256274fc1ae190bdc2e81ec0ab4129033a645
2017-11-01 04:45:50 +01:00
Sebastian Hengst ae33b526b2 Backed out changeset 1d43c5bf597b (bug 1414379) for eslint failure at mobile/android/components/extensions/test/mochitest/test_ext_popup_behavior.html:162: missing semicolon. r=backout 2017-11-07 15:08:45 +02:00
Luca Greco ff7dbabc6a Bug 1414379 - Closing the extension popup tab should select the parent tab only if the popup tab was selected. r=mixedpuppy
MozReview-Commit-ID: KgSTdblvmYe

--HG--
extra : rebase_source : c9f825a2d5f36c110c66e3636079f3a5492accc6
2017-11-01 04:45:50 +01:00
Nick Alexander 35681f5451 Bug 1415298 - Fix finding assets/ in |mach android test| locally. r=maliu
Upgrading to the Android-Gradle plugin 3.0+ broke |mach android test|
locally.  This addresses the issue.

MozReview-Commit-ID: 3vV47ET7d19

--HG--
extra : rebase_source : c31e876969b0aff6cf7711fcb2227f6ca0d4fe46
2017-11-07 12:43:40 -08:00
Nick Alexander b05cd8e8cd Bug 1415298 - Pre: Move assets/ into standard Gradle location. r=maliu
This is part of a larger project to standardize our source locations.

MozReview-Commit-ID: Gbh9qSW7RJY

--HG--
rename : mobile/android/app/assets/example_asset.txt => mobile/android/app/src/main/assets/example_asset.txt
rename : mobile/android/app/assets/parental_controls_theme.png => mobile/android/app/src/main/assets/parental_controls_theme.png
rename : mobile/android/app/assets/publicsuffixlist => mobile/android/app/src/main/assets/publicsuffixlist
extra : rebase_source : dad3ded6a41d60989921b437dcf91181854c7b5a
2017-11-07 12:41:21 -08:00
Narcis Beleuzu 82324f1ffe Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-08 12:57:37 +02:00
Sebastian Hengst f5e52adeea merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-07 12:43:06 +02:00
Sebastian Hengst f2944960ec Backed out 3 changesets (bug 1413362) for causing merge conflicts. r=merge a=merge
Backed out changeset 8b15dfaeecaa (bug 1413362)
Backed out changeset 2d9da0d19d04 (bug 1413362)
Backed out changeset 653c66220a5f (bug 1413362)

--HG--
extra : amend_source : e5c12297b0bb6ebe27a2481e4aac6c0ca8160a1b
2017-11-07 12:41:11 +02:00
Jim Chen 832cd8d996 Bug 1415074 - Fix unresponsiveness after restoring GeckoView states; r=jchen
Fix a bug where GeckoView becomes unresponsive to dispatched events
after restoring states, due to the native queue not being restored.
r=me for small, tested patch.

MozReview-Commit-ID: K1cVjjNaZK1

--HG--
extra : rebase_source : b1329c84d82f5bdc06767bf310ca87e52ff6ec9b
2017-11-07 01:53:11 -05:00
Randall Barker 0f56210acd Bug 1413362 - part 3: Add support to build system for GoogleVR based WebVR on Android r=froydnj,nalexander
MozReview-Commit-ID: 8BHBnvor5VT
2017-11-06 17:43:29 -08:00
Randall Barker 75f309874f Bug 1413362 - part 1: Add GeckoVRManager to support GVR WebVR implementation on Android r=jchen,snorp
MozReview-Commit-ID: C7XTF8N1W9a
2017-11-06 17:43:28 -08:00
Dylan Roeh f9543dc96b Bug 1414395 - Handle blob: and data: URIs better in PWAs and Custom Tabs. r=snorp 2017-11-06 11:12:14 -06:00
Eugen Sawin dfda7f814f Bug 1375141 - [2.0] Check for null-URI when attaching pending intent data. r=snorp 2017-11-06 20:31:55 +01:00
Eugen Sawin 99ec71c21f Bug 1389926 - [1.0] Reduce timeout clamp for background tabs to 1s. r=snorp 2017-11-06 20:31:55 +01:00
Csoregi Natalia c79466f107 (bug 1411688) Make --with-gradle handle single-locale repack r=snorp a=reland
--HG--
extra : amend_source : d435c08a762988804bfe23251b8b5f76702eca99
2017-11-06 15:23:47 +02:00
Csoregi Natalia aaa47364af Backed out 5 changesets (bug 1411688) for failing Android single-locale repacks. r=backout a=backout
Backed out changeset 65d5d13b4ea0 (bug 1411688)
Backed out changeset 8ba514bd8ed6 (bug 1411688)
Backed out changeset 866854a996b8 (bug 1411688)
Backed out changeset 34f83aab44e6 (bug 1411688)
Backed out changeset 2e4e139bb5d7 (bug 1411688)
2017-11-06 12:18:50 +02:00
Jan Henning 0c394a908c Bug 1414838 - Show stop button again as soon as page loading starts. r=nechen
As of bug 1366672, case START no longer falls through in order to allow for a
different behaviour of the progress indicator, however we still need to add
UpdateFlags.PROGRESS, so that the stop button shows up as soon as a page starts
loading.

MozReview-Commit-ID: 3P33JEsS5ic

--HG--
extra : rebase_source : 4f83ab57613df31cdd4f392c478df33a992c95af
2017-11-06 20:20:57 +01:00
Jim Chen 0d7a6aa9de Bug 1413698 - 7. Rename GeckoView{Handler,Settings} to GeckoSession{..}; r=jchen
The old GeckoView was renamed to GeckoSession, so the old
GeckoViewHandler and GeckoViewSettings should be renamed to
GeckoSession.. as well. GeckoView JS files are left alone and may be
converted in a future bug. r=me for trivial patch.

MozReview-Commit-ID: BJTwugWboKf

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoViewHandler.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoSessionHandler.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoViewSettings.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoSessionSettings.java
extra : rebase_source : d6e55620b8588174bff801f3f7b436f67e9b3f32
2017-11-06 14:54:10 -05:00
Jim Chen 451fe9916f Bug 1413698 - 6. Remove PresentationView; r=jchen
Remove PresentationView, which is no longer used. r=me for trivial
patch.

MozReview-Commit-ID: DKcysGTXXC7

--HG--
extra : rebase_source : e7f015e167ea1138903891e24bf215bfabefc141
2017-11-06 14:54:09 -05:00
Jim Chen 6a5d5a1ab2 Bug 1413698 - 5. Use GeckoSession where appropriate; r=snorp
Change places where we use GeckoView to use GeckoSession instead.

MozReview-Commit-ID: InT4i1MaoBe

--HG--
extra : rebase_source : 67f57d5b00818292b8d273665e60f81a11097eea
2017-11-06 14:54:09 -05:00
Jim Chen af4d72a10d Bug 1413698 - 4. Add minimal GeckoView; r=snorp
With the old GeckoView renamed to GeckoSession, add a new minimal
implementation of GeckoView that manages View lifetime but delegates
most tasks to GeckoSession.

MozReview-Commit-ID: 9FFdLpTfPQY

--HG--
extra : rebase_source : 596866e9121265bf0529648926a71d1dfe3b2976
2017-11-06 14:54:09 -05:00
Jim Chen 8c452ff94b Bug 1413698 - 3. Recorganize GeckoViewSettings; r=snorp
* Move the chromeUri and screenId settings to GeckoViewSettings.

* Add a private data-dir setting that the debugger-socket-dir setting
  falls backs to. Set the data-dir setting inside `GeckoSession.openWindow`.

* Add optional init-only and values properties for settings.

* Use integer constants for display-mode setting.

MozReview-Commit-ID: HgJg0t0oade

--HG--
extra : rebase_source : 537689d93202e4201e879bae9e073ceb4489190b
2017-11-06 14:54:09 -05:00
Jim Chen edb0428314 Bug 1413698 - 2. Move GeckoView to GeckoSession; r=snorp
Rename GeckoView to GeckoSession. Strip out parts of it that depended on
being a subclass of View. Also strip out parts of it that dealt with
switching EventDispatcher and NativeQueue, because now there's only one
copy of each for each GeckoSession.

MozReview-Commit-ID: J699twtpmTS

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoView.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoSession.java
extra : rebase_source : 60e045f6f1e6a70dcabc03f5a32cae5576c2edd8
2017-11-06 14:54:09 -05:00
Jim Chen 6fdb886eb4 Bug 1413698 - 1. Separate out attach() from open() in GeckoView.Window; r=snorp
Right now, `GeckoView.Window.open()` consists of opening a new Gecko
nsWindow and attaching it to the opening GeckoView. This patch separates
the attaching step into an `Window.attach()` function that was renamed
from `Window.reattach()`. Going forward, `Window.open()` and
`Window.close()` will correspond to opening and closing a session, which
`Window.attach()` will correspond to attaching a display to a session.

MozReview-Commit-ID: 94Un74pwizY

--HG--
extra : rebase_source : a7d9c6c3227de4b05e800d77a184f1deae9af5f8
2017-11-06 14:54:08 -05:00
Nick Alexander af1a4a8366 Bug 1411688 - Part 4: Make single-locale repacks agree with underlying Nightly builds. r=aki
There's nothing that makes sense in the existing setup; we're only not
getting bitten because the set of things that _do_ depend on all of
the flags that differ between the underlying Nightly builds and
single-locale repacks is small, and nobody has complained.  For
example, about:licenses probably does not include the Adjust SDK
license for single-locale repacks.

This patch series recompiles the Java code as part of each
single-locale repack, and that means the feature flags, etc, need to
be the same between the underlying compiled code (from the underlying
Nightly build) and the fresh Java compile.  This patch tries to
harmonize the two.

MozReview-Commit-ID: 230q7HuD1vV

--HG--
extra : rebase_source : 1be8a389ed289c788add4d3e95c540f29165cf6b
extra : source : d7f794ec69ccd38d66ec5394fac7cc6658e29ce4
2017-10-23 13:50:51 -07:00
Nick Alexander cc2129e406 Bug 1411688 - Part 1: Make --with-gradle handle single-locale repacks. r=snorp
Single-locale repacks do the following:

Download existing APK; unzip APK; update l10n resources; |mach package| with IS_LANGUAGE_REPACK=1.

This is pretty hard to accommodate, but we can try.  The key issues
here are to recognize when IS_LANGUAGE_REPACK=1 and not ask for l10n
resources (in particular, strings.xml) to be generated.

We do need to include the freshly built classes.dex when repackaging,
because newer Gradle/aapt doesn't preserve the R.java IDs.

MozReview-Commit-ID: 9FvQtmPOUjg

--HG--
extra : rebase_source : b0440ceb318662bf3c08f2139c51dae5775a6b38
2017-10-23 13:24:58 -07:00
Nick Alexander a090e4b296 Bug 1411688 - Part 0: Make --with-gradle handle single-locale repack ABIs. r=snorp
This agrees with
http://searchfox.org/mozilla-central/rev/423b2522c48e1d654e30ffc337164d677f934ec3/mobile/android/base/generate_build_config.py#95.
It should really come from the underlying binaries for repacks, but
right now we only repack ARM builds, so this will do.

MozReview-Commit-ID: 3UvrJDV1l9a

--HG--
extra : rebase_source : e57b49e32c80906bdb513850c370d64e5a140978
2017-11-02 09:38:47 -07:00
Sebastian Hengst 07b805d165 Backed out 5 changesets (bug 1411688) for flake8 linting failure at testing/mozharness/scripts/mobile_l10n.py. r=backout on a CLOSED TREE
Backed out changeset 8ddf3257a8db (bug 1411688)
Backed out changeset c313d76f2aa5 (bug 1411688)
Backed out changeset 3df83a3b7e9c (bug 1411688)
Backed out changeset 133417cefdab (bug 1411688)
Backed out changeset a8fd33d8a2af (bug 1411688)
2017-11-04 00:49:47 +01:00
Makoto Kato 945aa85d0c Bug 1292486 - Get rid of nsIUnicodeNormalizer interface. r=jfkthame
m-c and c-c don't use nsIUnicodeNormalizer interface now.

MozReview-Commit-ID: DGK7wBrcrob

--HG--
extra : rebase_source : 9260435fb2d4455b45920971c105a8d502c4e53e
extra : histedit_source : cf2863ebff742f160f30e6a15517f07490f1e6a6
2017-10-20 17:35:34 +09:00
Jan Henning e99464f25e Bug 1415307 - Stop sampling background colour in DOMContentLoaded. r=rbarker
Bug 1297850 removed the only consumer of the background colour on the Java side,
so this can go as well.

MozReview-Commit-ID: DJwrUVUHZ1t

--HG--
extra : rebase_source : be2b5068c57878ff556d1af16eb1df5d5a8779aa
2017-11-07 22:17:04 +01:00
Nick Alexander 96a9c22d8b Bug 1409087 - Part 4: Remove browser JUnit 3 tests and build apparatus for {browser,background}.apk. r=Grisha,ted.mielczarek
The browser JUnit 3 test suite has never run in automation, and no
test has been added or updated since 2016.  Half of the existing
"tests" are broken on my local device.  This allows to clean several
Makefile's related to this undeveloped testing approach, which won't
be pursued post-Gradle.

MozReview-Commit-ID: 1EbGMLntuyR

--HG--
extra : rebase_source : b4751f96851a8df61c0333a3e0ade3805b280dfe
2017-11-02 16:03:00 -07:00
Nick Alexander be91c5dfad Bug 1409087 - Part 3: Move services integration tests into standard Gradle location. r=Grisha
This is the result of `hg mv mobile/android/tests/background/junit3/src mobile/android/services/src/androidTest/java`

MozReview-Commit-ID: AdoNfDDthku

--HG--
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/common/TestAndroidLogWriters.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/common/TestAndroidLogWriters.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/common/TestUtils.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/common/TestUtils.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/common/TestWaitHelper.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/common/TestWaitHelper.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/db/TestAndroidBrowserBookmarksRepository.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/db/TestAndroidBrowserBookmarksRepository.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/db/TestAndroidBrowserHistoryRepository.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/db/TestAndroidBrowserHistoryRepository.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/db/TestBookmarks.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/db/TestBookmarks.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/db/TestClientsDatabase.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/db/TestClientsDatabase.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/db/TestClientsDatabaseAccessor.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/db/TestClientsDatabaseAccessor.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/db/TestFennecTabsRepositorySession.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/db/TestFennecTabsRepositorySession.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/db/TestFormHistoryRepositorySession.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/db/TestFormHistoryRepositorySession.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/db/TestPasswordsRepository.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/db/TestPasswordsRepository.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/db/TestTopSites.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/db/TestTopSites.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/db/ThreadedRepositoryTestCase.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/db/ThreadedRepositoryTestCase.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/fxa/TestAccountLoader.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/fxa/TestAccountLoader.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/fxa/TestBrowserIDKeyPairGeneration.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/fxa/TestBrowserIDKeyPairGeneration.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/fxa/authenticator/TestAccountPickler.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/fxa/authenticator/TestAccountPickler.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/helpers/AndroidSyncTestCase.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/helpers/AndroidSyncTestCase.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/helpers/DBHelpers.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/helpers/DBHelpers.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/helpers/DBProviderTestCase.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/helpers/DBProviderTestCase.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/nativecode/test/TestNativeCrypto.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/nativecode/test/TestNativeCrypto.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/AndroidSyncTestCaseWithAccounts.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/AndroidSyncTestCaseWithAccounts.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/TestClientsStage.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/TestClientsStage.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/TestResetting.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/TestResetting.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/TestStoreTracking.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/TestStoreTracking.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/TestSyncConfiguration.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/TestSyncConfiguration.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/TestWebURLFinder.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/TestWebURLFinder.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/BookmarkHelpers.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/BookmarkHelpers.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/DefaultBeginDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/DefaultBeginDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/DefaultCleanDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/DefaultCleanDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/DefaultDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/DefaultDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/DefaultFetchDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/DefaultFetchDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/DefaultFinishDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/DefaultFinishDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/DefaultSessionCreationDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/DefaultSessionCreationDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/DefaultStoreDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/DefaultStoreDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/ExpectBeginDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/ExpectBeginDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/ExpectBeginFailDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/ExpectBeginFailDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/ExpectFetchDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/ExpectFetchDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/ExpectFetchSinceDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/ExpectFetchSinceDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/ExpectFinishDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/ExpectFinishDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/ExpectFinishFailDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/ExpectFinishFailDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/ExpectInvalidRequestFetchDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/ExpectInvalidRequestFetchDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/ExpectInvalidTypeStoreDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/ExpectInvalidTypeStoreDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/ExpectManyStoredDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/ExpectManyStoredDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/ExpectNoStoreDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/ExpectNoStoreDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/ExpectStoreCompletedDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/ExpectStoreCompletedDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/ExpectStoredDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/ExpectStoredDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/HistoryHelpers.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/HistoryHelpers.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/PasswordHelpers.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/PasswordHelpers.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/SessionTestHelper.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/SessionTestHelper.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/SimpleSuccessBeginDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/SimpleSuccessBeginDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/SimpleSuccessCreationDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/SimpleSuccessCreationDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/SimpleSuccessFetchDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/SimpleSuccessFetchDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/SimpleSuccessFinishDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/SimpleSuccessFinishDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/sync/helpers/SimpleSuccessStoreDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/sync/helpers/SimpleSuccessStoreDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/testhelpers/BaseMockServerSyncStage.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/testhelpers/BaseMockServerSyncStage.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/testhelpers/CommandHelpers.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/testhelpers/CommandHelpers.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/testhelpers/DefaultGlobalSessionCallback.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/testhelpers/DefaultGlobalSessionCallback.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/testhelpers/MockAbstractNonRepositorySyncStage.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/testhelpers/MockAbstractNonRepositorySyncStage.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/testhelpers/MockClientsDataDelegate.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/testhelpers/MockClientsDataDelegate.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/testhelpers/MockClientsDatabaseAccessor.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/testhelpers/MockClientsDatabaseAccessor.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/testhelpers/MockGlobalSession.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/testhelpers/MockGlobalSession.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/testhelpers/MockPrefsGlobalSession.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/testhelpers/MockPrefsGlobalSession.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/testhelpers/MockRecord.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/testhelpers/MockRecord.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/testhelpers/MockServerSyncStage.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/testhelpers/MockServerSyncStage.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/testhelpers/MockSharedPreferences.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/testhelpers/MockSharedPreferences.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/testhelpers/WBORepository.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/testhelpers/WBORepository.java
rename : mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/testhelpers/WaitHelper.java => mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/testhelpers/WaitHelper.java
extra : rebase_source : b6334501b4d76a1fe1d57158b593be878d91a9ca
2017-11-02 15:55:03 -07:00
Nick Alexander 9e696de377 Bug 1409087 - Part 2: Move Fennec unit tests into standard Gradle locations. r=Grisha
These crept into the services/ hierarchy because there was no
alternative, way back when.  This both normalizes the (unit) tests and
splits the services tests away from the Fennec tests.  The Fennec
tests grew in the same location as the services (nee background)
tests, simply because there was no other location moons ago.

It is the result of the following bash script:

```
#!/bin/bash
set -x -e -v

hg revert mobile/android
hg purge mobile/android

mkdir -p mobile/android/services/src/test/java/org/mozilla
hg mv mobile/android/tests/background/junit4/src/org/mozilla/android mobile/android/services/src/test/java/org/mozilla/
mkdir -p mobile/android/services/src/test/java/org/mozilla/gecko
hg mv mobile/android/tests/background/junit4/src/org/mozilla/gecko/background mobile/android/services/src/test/java/org/mozilla/gecko/
hg mv mobile/android/tests/background/junit4/src/org/mozilla/gecko/browserid mobile/android/services/src/test/java/org/mozilla/gecko/
hg mv mobile/android/tests/background/junit4/src/org/mozilla/gecko/db mobile/android/services/src/test/java/org/mozilla/gecko/
hg mv mobile/android/tests/background/junit4/src/org/mozilla/gecko/fxa mobile/android/services/src/test/java/org/mozilla/gecko/
hg mv mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync mobile/android/services/src/test/java/org/mozilla/gecko/
hg mv mobile/android/tests/background/junit4/src/org/mozilla/gecko/tokenserver mobile/android/services/src/test/java/org/mozilla/gecko/

mkdir -p mobile/android/app/src/test
hg mv mobile/android/tests/background/junit4/src/* mobile/android/app/src/test/java/
```

MozReview-Commit-ID: 15AHXZilqFQ

--HG--
rename : mobile/android/tests/background/junit4/src/com/keepsafe/switchboard/TestSwitchboard.java => mobile/android/app/src/test/java/com/keepsafe/switchboard/TestSwitchboard.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/GeckoNetworkManagerTest.java => mobile/android/app/src/test/java/org/mozilla/gecko/GeckoNetworkManagerTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/GlobalPageMetadataTest.java => mobile/android/app/src/test/java/org/mozilla/gecko/GlobalPageMetadataTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/TestGeckoProfile.java => mobile/android/app/src/test/java/org/mozilla/gecko/TestGeckoProfile.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/activitystream/homepanel/TestActivityStreamConfiguration.java => mobile/android/app/src/test/java/org/mozilla/gecko/activitystream/homepanel/TestActivityStreamConfiguration.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/activitystream/homepanel/topstories/TestPocketStoriesLoader.java => mobile/android/app/src/test/java/org/mozilla/gecko/activitystream/homepanel/topstories/TestPocketStoriesLoader.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/activitystream/ranking/TestHighlightsRanking.java => mobile/android/app/src/test/java/org/mozilla/gecko/activitystream/ranking/TestHighlightsRanking.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/activitystream/ranking/TestRankingUtils.java => mobile/android/app/src/test/java/org/mozilla/gecko/activitystream/ranking/TestRankingUtils.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/cleanup/TestFileCleanupController.java => mobile/android/app/src/test/java/org/mozilla/gecko/cleanup/TestFileCleanupController.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/cleanup/TestFileCleanupService.java => mobile/android/app/src/test/java/org/mozilla/gecko/cleanup/TestFileCleanupService.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/customtabs/TestCustomTabsActivity.java => mobile/android/app/src/test/java/org/mozilla/gecko/customtabs/TestCustomTabsActivity.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/customtabs/TestIntentUtil.java => mobile/android/app/src/test/java/org/mozilla/gecko/customtabs/TestIntentUtil.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/distribution/TestReferrerDescriptor.java => mobile/android/app/src/test/java/org/mozilla/gecko/distribution/TestReferrerDescriptor.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/dlc/TestCleanupAction.java => mobile/android/app/src/test/java/org/mozilla/gecko/dlc/TestCleanupAction.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/dlc/TestDownloadAction.java => mobile/android/app/src/test/java/org/mozilla/gecko/dlc/TestDownloadAction.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/dlc/TestStudyAction.java => mobile/android/app/src/test/java/org/mozilla/gecko/dlc/TestStudyAction.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/dlc/TestSyncAction.java => mobile/android/app/src/test/java/org/mozilla/gecko/dlc/TestSyncAction.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/dlc/TestVerifyAction.java => mobile/android/app/src/test/java/org/mozilla/gecko/dlc/TestVerifyAction.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/dlc/catalog/TestDownloadContentBuilder.java => mobile/android/app/src/test/java/org/mozilla/gecko/dlc/catalog/TestDownloadContentBuilder.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/dlc/catalog/TestDownloadContentCatalog.java => mobile/android/app/src/test/java/org/mozilla/gecko/dlc/catalog/TestDownloadContentCatalog.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/helpers/AssertUtil.java => mobile/android/app/src/test/java/org/mozilla/gecko/helpers/AssertUtil.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/helpers/MockUserManager.java => mobile/android/app/src/test/java/org/mozilla/gecko/helpers/MockUserManager.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/home/TestHomeConfigPrefsBackendMigration.java => mobile/android/app/src/test/java/org/mozilla/gecko/home/TestHomeConfigPrefsBackendMigration.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/TestIconDescriptor.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/TestIconDescriptor.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/TestIconDescriptorComparator.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/TestIconDescriptorComparator.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/TestIconRequest.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/TestIconRequest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/TestIconRequestBuilder.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/TestIconRequestBuilder.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/TestIconResponse.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/TestIconResponse.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/TestIconTask.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/TestIconTask.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/TestIconsHelper.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/TestIconsHelper.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/loader/TestContentProviderLoader.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/loader/TestContentProviderLoader.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/loader/TestDataUriLoader.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/loader/TestDataUriLoader.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/loader/TestDiskLoader.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/loader/TestDiskLoader.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/loader/TestIconDownloader.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/loader/TestIconDownloader.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/loader/TestIconGenerator.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/loader/TestIconGenerator.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/loader/TestJarLoader.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/loader/TestJarLoader.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/loader/TestLegacyLoader.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/loader/TestLegacyLoader.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/loader/TestMemoryLoader.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/loader/TestMemoryLoader.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/loader/TestSuggestedSiteLoader.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/loader/TestSuggestedSiteLoader.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/preparation/TestAboutPagesPreparer.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/preparation/TestAboutPagesPreparer.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/preparation/TestAddDefaultIconUrl.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/preparation/TestAddDefaultIconUrl.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/preparation/TestFilterKnownFailureUrls.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/preparation/TestFilterKnownFailureUrls.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/preparation/TestFilterMimeTypes.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/preparation/TestFilterMimeTypes.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/preparation/TestFilterPrivilegedUrls.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/preparation/TestFilterPrivilegedUrls.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/preparation/TestLookupIconUrl.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/preparation/TestLookupIconUrl.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/preparation/TestSuggestedSitePreparer.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/preparation/TestSuggestedSitePreparer.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/processing/TestColorProcessor.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/processing/TestColorProcessor.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/processing/TestDiskProcessor.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/processing/TestDiskProcessor.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/processing/TestMemoryProcessor.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/processing/TestMemoryProcessor.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/processing/TestMinimumSizeProcessor.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/processing/TestMinimumSizeProcessor.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/icons/processing/TestResizingProcessor.java => mobile/android/app/src/test/java/org/mozilla/gecko/icons/processing/TestResizingProcessor.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/media/TestMediaControlService.java => mobile/android/app/src/test/java/org/mozilla/gecko/media/TestMediaControlService.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/permissions/TestPermissions.java => mobile/android/app/src/test/java/org/mozilla/gecko/permissions/TestPermissions.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/push/TestPushManager.java => mobile/android/app/src/test/java/org/mozilla/gecko/push/TestPushManager.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/push/TestPushState.java => mobile/android/app/src/test/java/org/mozilla/gecko/push/TestPushState.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/push/autopush/test/TestAutopushClient.java => mobile/android/app/src/test/java/org/mozilla/gecko/push/autopush/test/TestAutopushClient.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/push/autopush/test/TestLiveAutopushClient.java => mobile/android/app/src/test/java/org/mozilla/gecko/push/autopush/test/TestLiveAutopushClient.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/telemetry/measurements/TestSearchCountMeasurements.java => mobile/android/app/src/test/java/org/mozilla/gecko/telemetry/measurements/TestSearchCountMeasurements.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/telemetry/measurements/TestSessionMeasurements.java => mobile/android/app/src/test/java/org/mozilla/gecko/telemetry/measurements/TestSessionMeasurements.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/telemetry/pingbuilders/TelemetrySyncPingBuilderTest.java => mobile/android/app/src/test/java/org/mozilla/gecko/telemetry/pingbuilders/TelemetrySyncPingBuilderTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/telemetry/pingbuilders/TelemetrySyncPingBundleBuilderTest.java => mobile/android/app/src/test/java/org/mozilla/gecko/telemetry/pingbuilders/TelemetrySyncPingBundleBuilderTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/telemetry/pingbuilders/TestTelemetryPingBuilder.java => mobile/android/app/src/test/java/org/mozilla/gecko/telemetry/pingbuilders/TestTelemetryPingBuilder.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/telemetry/schedulers/TestTelemetryUploadAllPingsImmediatelyScheduler.java => mobile/android/app/src/test/java/org/mozilla/gecko/telemetry/schedulers/TestTelemetryUploadAllPingsImmediatelyScheduler.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/telemetry/stores/TestTelemetryJSONFilePingStore.java => mobile/android/app/src/test/java/org/mozilla/gecko/telemetry/stores/TestTelemetryJSONFilePingStore.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/toolbar/TestSecurityModeUtil.java => mobile/android/app/src/test/java/org/mozilla/gecko/toolbar/TestSecurityModeUtil.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/util/NetworkUtilsTest.java => mobile/android/app/src/test/java/org/mozilla/gecko/util/NetworkUtilsTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/util/TestContextUtils.java => mobile/android/app/src/test/java/org/mozilla/gecko/util/TestContextUtils.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/util/TestDateUtil.java => mobile/android/app/src/test/java/org/mozilla/gecko/util/TestDateUtil.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/util/TestFileUtils.java => mobile/android/app/src/test/java/org/mozilla/gecko/util/TestFileUtils.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/util/TestFloatUtils.java => mobile/android/app/src/test/java/org/mozilla/gecko/util/TestFloatUtils.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/util/TestIntentUtils.java => mobile/android/app/src/test/java/org/mozilla/gecko/util/TestIntentUtils.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/util/TestStringUtils.java => mobile/android/app/src/test/java/org/mozilla/gecko/util/TestStringUtils.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/util/TestURIUtils.java => mobile/android/app/src/test/java/org/mozilla/gecko/util/TestURIUtils.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/util/TestUUIDUtil.java => mobile/android/app/src/test/java/org/mozilla/gecko/util/TestUUIDUtil.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/util/publicsuffix/TestPublicSuffix.java => mobile/android/app/src/test/java/org/mozilla/gecko/util/publicsuffix/TestPublicSuffix.java
rename : mobile/android/tests/background/junit4/resources/dlc_sync_deleted_item.json => mobile/android/app/src/test/resources/dlc_sync_deleted_item.json
rename : mobile/android/tests/background/junit4/resources/dlc_sync_old_format.json => mobile/android/app/src/test/resources/dlc_sync_old_format.json
rename : mobile/android/tests/background/junit4/resources/dlc_sync_single_font.json => mobile/android/app/src/test/resources/dlc_sync_single_font.json
rename : mobile/android/tests/background/junit4/resources/experiments.json => mobile/android/app/src/test/resources/experiments.json
rename : mobile/android/tests/background/junit4/resources/feed_atom_blogger.xml => mobile/android/app/src/test/resources/feed_atom_blogger.xml
rename : mobile/android/tests/background/junit4/resources/feed_atom_feedburner.xml => mobile/android/app/src/test/resources/feed_atom_feedburner.xml
rename : mobile/android/tests/background/junit4/resources/feed_atom_planetmozilla.xml => mobile/android/app/src/test/resources/feed_atom_planetmozilla.xml
rename : mobile/android/tests/background/junit4/resources/feed_atom_wikipedia.xml => mobile/android/app/src/test/resources/feed_atom_wikipedia.xml
rename : mobile/android/tests/background/junit4/resources/feed_rss10_planetmozilla.xml => mobile/android/app/src/test/resources/feed_rss10_planetmozilla.xml
rename : mobile/android/tests/background/junit4/resources/feed_rss20_planetmozilla.xml => mobile/android/app/src/test/resources/feed_rss20_planetmozilla.xml
rename : mobile/android/tests/background/junit4/resources/feed_rss_heise.xml => mobile/android/app/src/test/resources/feed_rss_heise.xml
rename : mobile/android/tests/background/junit4/resources/feed_rss_medium.xml => mobile/android/app/src/test/resources/feed_rss_medium.xml
rename : mobile/android/tests/background/junit4/resources/feed_rss_spon.xml => mobile/android/app/src/test/resources/feed_rss_spon.xml
rename : mobile/android/tests/background/junit4/resources/feed_rss_tumblr.xml => mobile/android/app/src/test/resources/feed_rss_tumblr.xml
rename : mobile/android/tests/background/junit4/resources/feed_rss_wikipedia.xml => mobile/android/app/src/test/resources/feed_rss_wikipedia.xml
rename : mobile/android/tests/background/junit4/resources/feed_rss_wordpress.xml => mobile/android/app/src/test/resources/feed_rss_wordpress.xml
rename : mobile/android/tests/background/junit4/resources/robolectric.properties => mobile/android/app/src/test/resources/robolectric.properties
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/net/test/TestBackoff.java => mobile/android/services/src/test/java/org/mozilla/android/sync/net/test/TestBackoff.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/net/test/TestBrowserIDAuthHeaderProvider.java => mobile/android/services/src/test/java/org/mozilla/android/sync/net/test/TestBrowserIDAuthHeaderProvider.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/net/test/TestClientsEngineStage.java => mobile/android/services/src/test/java/org/mozilla/android/sync/net/test/TestClientsEngineStage.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/net/test/TestCredentialsEndToEnd.java => mobile/android/services/src/test/java/org/mozilla/android/sync/net/test/TestCredentialsEndToEnd.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/net/test/TestGlobalSession.java => mobile/android/services/src/test/java/org/mozilla/android/sync/net/test/TestGlobalSession.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/net/test/TestHeaderParsing.java => mobile/android/services/src/test/java/org/mozilla/android/sync/net/test/TestHeaderParsing.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/net/test/TestLineByLineHandling.java => mobile/android/services/src/test/java/org/mozilla/android/sync/net/test/TestLineByLineHandling.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/net/test/TestMetaGlobal.java => mobile/android/services/src/test/java/org/mozilla/android/sync/net/test/TestMetaGlobal.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/net/test/TestResource.java => mobile/android/services/src/test/java/org/mozilla/android/sync/net/test/TestResource.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/net/test/TestRetryAfter.java => mobile/android/services/src/test/java/org/mozilla/android/sync/net/test/TestRetryAfter.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/net/test/TestServer15Repository.java => mobile/android/services/src/test/java/org/mozilla/android/sync/net/test/TestServer15Repository.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/net/test/TestSyncStorageRequest.java => mobile/android/services/src/test/java/org/mozilla/android/sync/net/test/TestSyncStorageRequest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/SynchronizerHelpers.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/SynchronizerHelpers.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/TestCollectionKeys.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/TestCollectionKeys.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/TestCommandProcessor.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/TestCommandProcessor.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/TestCryptoRecord.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/TestCryptoRecord.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/TestRecord.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/TestRecord.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/TestRecordsChannel.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/TestRecordsChannel.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/TestResetCommands.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/TestResetCommands.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/TestServer15RepositorySession.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/TestServer15RepositorySession.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/TestServerLocalSynchronizer.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/TestServerLocalSynchronizer.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/TestSynchronizer.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/TestSynchronizer.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/TestSynchronizerSession.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/TestSynchronizerSession.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/TestUtils.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/TestUtils.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/helpers/BaseTestStorageRequestDelegate.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/helpers/BaseTestStorageRequestDelegate.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/helpers/ExpectSuccessDelegate.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/helpers/ExpectSuccessDelegate.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/helpers/ExpectSuccessRepositorySessionBeginDelegate.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/helpers/ExpectSuccessRepositorySessionBeginDelegate.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/helpers/ExpectSuccessRepositorySessionCreationDelegate.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/helpers/ExpectSuccessRepositorySessionCreationDelegate.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/helpers/ExpectSuccessRepositorySessionFetchRecordsDelegate.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/helpers/ExpectSuccessRepositorySessionFetchRecordsDelegate.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/helpers/ExpectSuccessRepositorySessionFinishDelegate.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/helpers/ExpectSuccessRepositorySessionFinishDelegate.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/helpers/ExpectSuccessRepositorySessionStoreDelegate.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/helpers/ExpectSuccessRepositorySessionStoreDelegate.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/helpers/ExpectSuccessRepositoryWipeDelegate.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/helpers/ExpectSuccessRepositoryWipeDelegate.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/helpers/HTTPServerTestHelper.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/helpers/HTTPServerTestHelper.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/helpers/MockGlobalSessionCallback.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/helpers/MockGlobalSessionCallback.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/helpers/MockResourceDelegate.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/helpers/MockResourceDelegate.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/helpers/MockServer.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/helpers/MockServer.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/helpers/MockSyncClientsEngineStage.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/helpers/MockSyncClientsEngineStage.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/helpers/MockWBOServer.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/helpers/MockWBOServer.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/android/sync/test/helpers/test/TestHTTPServerTestHelper.java => mobile/android/services/src/test/java/org/mozilla/android/sync/test/helpers/test/TestHTTPServerTestHelper.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/background/common/log/writers/test/TestLogWriters.java => mobile/android/services/src/test/java/org/mozilla/gecko/background/common/log/writers/test/TestLogWriters.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/background/db/DelegatingTestContentProvider.java => mobile/android/services/src/test/java/org/mozilla/gecko/background/db/DelegatingTestContentProvider.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/background/db/TestTabsProvider.java => mobile/android/services/src/test/java/org/mozilla/gecko/background/db/TestTabsProvider.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/background/fxa/test/TestFxAccountClient20.java => mobile/android/services/src/test/java/org/mozilla/gecko/background/fxa/test/TestFxAccountClient20.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/background/fxa/test/TestFxAccountUtils.java => mobile/android/services/src/test/java/org/mozilla/gecko/background/fxa/test/TestFxAccountUtils.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/background/test/EntityTestHelper.java => mobile/android/services/src/test/java/org/mozilla/gecko/background/test/EntityTestHelper.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/background/testhelpers/BaseMockServerSyncStage.java => mobile/android/services/src/test/java/org/mozilla/gecko/background/testhelpers/BaseMockServerSyncStage.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/background/testhelpers/CommandHelpers.java => mobile/android/services/src/test/java/org/mozilla/gecko/background/testhelpers/CommandHelpers.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/background/testhelpers/DefaultGlobalSessionCallback.java => mobile/android/services/src/test/java/org/mozilla/gecko/background/testhelpers/DefaultGlobalSessionCallback.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/background/testhelpers/MockAbstractNonRepositorySyncStage.java => mobile/android/services/src/test/java/org/mozilla/gecko/background/testhelpers/MockAbstractNonRepositorySyncStage.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/background/testhelpers/MockClientsDataDelegate.java => mobile/android/services/src/test/java/org/mozilla/gecko/background/testhelpers/MockClientsDataDelegate.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/background/testhelpers/MockClientsDatabaseAccessor.java => mobile/android/services/src/test/java/org/mozilla/gecko/background/testhelpers/MockClientsDatabaseAccessor.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/background/testhelpers/MockGlobalSession.java => mobile/android/services/src/test/java/org/mozilla/gecko/background/testhelpers/MockGlobalSession.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/background/testhelpers/MockPrefsGlobalSession.java => mobile/android/services/src/test/java/org/mozilla/gecko/background/testhelpers/MockPrefsGlobalSession.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/background/testhelpers/MockRecord.java => mobile/android/services/src/test/java/org/mozilla/gecko/background/testhelpers/MockRecord.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/background/testhelpers/MockServerSyncStage.java => mobile/android/services/src/test/java/org/mozilla/gecko/background/testhelpers/MockServerSyncStage.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/background/testhelpers/MockSharedPreferences.java => mobile/android/services/src/test/java/org/mozilla/gecko/background/testhelpers/MockSharedPreferences.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/background/testhelpers/TestRunner.java => mobile/android/services/src/test/java/org/mozilla/gecko/background/testhelpers/TestRunner.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/background/testhelpers/WBORepository.java => mobile/android/services/src/test/java/org/mozilla/gecko/background/testhelpers/WBORepository.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/background/testhelpers/WaitHelper.java => mobile/android/services/src/test/java/org/mozilla/gecko/background/testhelpers/WaitHelper.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/browserid/test/TestASNUtils.java => mobile/android/services/src/test/java/org/mozilla/gecko/browserid/test/TestASNUtils.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/browserid/test/TestDSACryptoImplementation.java => mobile/android/services/src/test/java/org/mozilla/gecko/browserid/test/TestDSACryptoImplementation.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/browserid/test/TestJSONWebTokenUtils.java => mobile/android/services/src/test/java/org/mozilla/gecko/browserid/test/TestJSONWebTokenUtils.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/browserid/test/TestRSACryptoImplementation.java => mobile/android/services/src/test/java/org/mozilla/gecko/browserid/test/TestRSACryptoImplementation.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/db/BrowserContractTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/db/BrowserContractTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/db/BrowserDatabaseHelperTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/db/BrowserDatabaseHelperTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/db/BrowserProviderBookmarksTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/db/BrowserProviderBookmarksTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/db/BrowserProviderGeneralTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/db/BrowserProviderGeneralTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/db/BrowserProviderHistoryTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/db/BrowserProviderHistoryTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/db/BrowserProviderHistoryVisitsTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/db/BrowserProviderHistoryVisitsTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/db/BrowserProviderHistoryVisitsTestBase.java => mobile/android/services/src/test/java/org/mozilla/gecko/db/BrowserProviderHistoryVisitsTestBase.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/db/BrowserProviderVisitsTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/db/BrowserProviderVisitsTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/db/LocalBrowserDBTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/db/LocalBrowserDBTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/fxa/TestSkewHandler.java => mobile/android/services/src/test/java/org/mozilla/gecko/fxa/TestSkewHandler.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/fxa/authenticator/AndroidFxAccountTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/fxa/authenticator/AndroidFxAccountTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/fxa/devices/TestFxAccountDeviceListUpdater.java => mobile/android/services/src/test/java/org/mozilla/gecko/fxa/devices/TestFxAccountDeviceListUpdater.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/fxa/devices/TestFxAccountDeviceRegistrator.java => mobile/android/services/src/test/java/org/mozilla/gecko/fxa/devices/TestFxAccountDeviceRegistrator.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/fxa/login/MockFxAccountClient.java => mobile/android/services/src/test/java/org/mozilla/gecko/fxa/login/MockFxAccountClient.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/fxa/login/TestFxAccountLoginStateMachine.java => mobile/android/services/src/test/java/org/mozilla/gecko/fxa/login/TestFxAccountLoginStateMachine.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/fxa/login/TestStateFactory.java => mobile/android/services/src/test/java/org/mozilla/gecko/fxa/login/TestStateFactory.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/crypto/test/TestBase32.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/crypto/test/TestBase32.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/crypto/test/TestCryptoInfo.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/crypto/test/TestCryptoInfo.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/crypto/test/TestHKDF.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/crypto/test/TestHKDF.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/crypto/test/TestKeyBundle.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/crypto/test/TestKeyBundle.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/crypto/test/TestPBKDF2.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/crypto/test/TestPBKDF2.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/crypto/test/TestPersistedCrypto5Keys.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/crypto/test/TestPersistedCrypto5Keys.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/crypto/test/TestSRPConstants.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/crypto/test/TestSRPConstants.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/middleware/BufferingMiddlewareRepositorySessionTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/middleware/BufferingMiddlewareRepositorySessionTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/middleware/test/TestCrypto5MiddlewareRepositorySession.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/middleware/test/TestCrypto5MiddlewareRepositorySession.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/net/test/TestHMACAuthHeaderProvider.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/net/test/TestHMACAuthHeaderProvider.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/net/test/TestHawkAuthHeaderProvider.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/net/test/TestHawkAuthHeaderProvider.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/net/test/TestLiveHawkAuth.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/net/test/TestLiveHawkAuth.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/net/test/TestUserAgentHeaders.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/net/test/TestUserAgentHeaders.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/repositories/android/BookmarksSessionHelperTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/repositories/android/BookmarksSessionHelperTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/repositories/android/BrowserContractHelpersTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/repositories/android/BrowserContractHelpersTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/repositories/android/HistorySessionHelperTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/repositories/android/HistorySessionHelperTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/repositories/android/VisitsHelperTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/repositories/android/VisitsHelperTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/repositories/android/test/TestBookmarksInsertionManager.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/repositories/android/test/TestBookmarksInsertionManager.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/repositories/domain/TestClientRecord.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/repositories/domain/TestClientRecord.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/repositories/domain/test/TestFormHistoryRecord.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/repositories/domain/test/TestFormHistoryRecord.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/repositories/domain/test/TestPasswordRecord.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/repositories/domain/test/TestPasswordRecord.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/repositories/downloaders/BatchingDownloaderControllerTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/repositories/downloaders/BatchingDownloaderControllerTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/repositories/downloaders/BatchingDownloaderDelegateTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/repositories/downloaders/BatchingDownloaderDelegateTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/repositories/downloaders/BatchingDownloaderTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/repositories/downloaders/BatchingDownloaderTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/repositories/test/TestRepositorySessionBundle.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/repositories/test/TestRepositorySessionBundle.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/repositories/uploaders/BatchMetaTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/repositories/uploaders/BatchMetaTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/repositories/uploaders/BatchingUploaderTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/repositories/uploaders/BatchingUploaderTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/repositories/uploaders/PayloadTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/repositories/uploaders/PayloadTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/repositories/uploaders/PayloadUploadDelegateTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/repositories/uploaders/PayloadUploadDelegateTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/repositories/uploaders/RecordUploadRunnableTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/repositories/uploaders/RecordUploadRunnableTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/repositories/uploaders/UploaderMetaTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/repositories/uploaders/UploaderMetaTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/stage/test/TestEnsureCrypto5KeysStage.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/stage/test/TestEnsureCrypto5KeysStage.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/stage/test/TestFetchMetaGlobalStage.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/stage/test/TestFetchMetaGlobalStage.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/stage/test/TestStageLookup.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/stage/test/TestStageLookup.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/telemetry/TelemetryCollectorTest.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/telemetry/TelemetryCollectorTest.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/test/TestBookmarkValidator.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/test/TestBookmarkValidator.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/test/TestExtendedJSONObject.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/test/TestExtendedJSONObject.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/test/TestInfoCollections.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/test/TestInfoCollections.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/sync/test/TestPersistedMetaGlobal.java => mobile/android/services/src/test/java/org/mozilla/gecko/sync/test/TestPersistedMetaGlobal.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/tokenserver/test/TestTokenServerClient.java => mobile/android/services/src/test/java/org/mozilla/gecko/tokenserver/test/TestTokenServerClient.java
extra : rebase_source : a53315c8d2317391d4baa9d916abdbbfef9becaa
2017-11-02 16:06:57 -07:00
Nick Alexander 493fb4450a Bug 1409087 - Part 1: Purge typoed javaddons directory. r=Grisha
MozReview-Commit-ID: Cu3yTi6zUQK

--HG--
extra : rebase_source : 23ac91e3bd0307fdac68655ba02459611b809a9d
2017-11-02 15:13:37 -07:00
Michael Comella 75d775e622 Bug 1415266: Enable Pocket by default. r=liuche
MozReview-Commit-ID: CJXNQpsYTf6

--HG--
extra : rebase_source : fb051077083172283067f096a63394f7d4fb4b74
2017-11-07 11:09:13 -08:00
Dave Townsend 1a6bee3827 Bug 1412361: Remove unused XBL checkbox-baseline and checkbox-radio. r=nalexander
MozReview-Commit-ID: 3wHHhkcGXEC

--HG--
extra : rebase_source : a9d03c421f47b6c8ed47cf37d7a9c2ebb3900626
2017-11-02 10:28:53 -07:00
Nick Alexander 032f7f4f46 Bug 1411688 - Part 4: Make single-locale repacks agree with underlying Nightly builds. r=aki
There's nothing that makes sense in the existing setup; we're only not
getting bitten because the set of things that _do_ depend on all of
the flags that differ between the underlying Nightly builds and
single-locale repacks is small, and nobody has complained.  For
example, about:licenses probably does not include the Adjust SDK
license for single-locale repacks.

This patch series recompiles the Java code as part of each
single-locale repack, and that means the feature flags, etc, need to
be the same between the underlying compiled code (from the underlying
Nightly build) and the fresh Java compile.  This patch tries to
harmonize the two.

MozReview-Commit-ID: 230q7HuD1vV

--HG--
extra : rebase_source : 40bdac7073614fcb366e97b733ad98afb4f2dfb4
extra : source : d7f794ec69ccd38d66ec5394fac7cc6658e29ce4
2017-10-23 13:50:51 -07:00
Nick Alexander 9de930db2b Bug 1411688 - Part 1: Make --with-gradle handle single-locale repacks. r=snorp
Single-locale repacks do the following:

Download existing APK; unzip APK; update l10n resources; |mach package| with IS_LANGUAGE_REPACK=1.

This is pretty hard to accommodate, but we can try.  The key issues
here are to recognize when IS_LANGUAGE_REPACK=1 and not ask for l10n
resources (in particular, strings.xml) to be generated.

We do need to include the freshly built classes.dex when repackaging,
because newer Gradle/aapt doesn't preserve the R.java IDs.

MozReview-Commit-ID: 9FvQtmPOUjg

--HG--
extra : rebase_source : 6a34a8c299138ea39c6703f334c8fd5f49b03237
2017-10-23 13:24:58 -07:00
Nick Alexander e5ebccdd4f Bug 1411688 - Part 0: Make --with-gradle handle single-locale repack ABIs. r=snorp
This agrees with
http://searchfox.org/mozilla-central/rev/423b2522c48e1d654e30ffc337164d677f934ec3/mobile/android/base/generate_build_config.py#95.
It should really come from the underlying binaries for repacks, but
right now we only repack ARM builds, so this will do.

MozReview-Commit-ID: 3UvrJDV1l9a

--HG--
extra : rebase_source : 64afca521be49b0bfb4c4a677be24886c0e7f412
2017-11-02 09:38:47 -07:00
Jean-Yves Avenard 5c22c39c36 Bug 1295886 - P6. Add ffmpeg libs to package manifest. r=snorp
MozReview-Commit-ID: EhGDbCGycLe

--HG--
extra : rebase_source : c4ebb88af27fefe77d67fef54766aba6bf20c384
2017-10-31 16:41:42 +01:00
James Cheng 590d6b160c Bug 1396698 - Part1 - Remove the dispatchTo gecko main thread attribute. r=kikuo
MozReview-Commit-ID: 9Opa894ZQMQ

--HG--
extra : rebase_source : 78807da52b2b070a0488ef2c1f673b728172e59d
2017-11-03 13:40:46 +08:00
Nick Alexander a655304bb6 Bug 1255042 - Remove mobile/android/Makefile.in. r=ted.mielczarek
MozReview-Commit-ID: GS8SYaXPJbp

--HG--
extra : rebase_source : b5e7fb5dac1dc9d689b237366ef2c71ec3d80970
2017-11-02 13:46:54 -07:00
Nick Alexander 2662541c7e Bug 1405396 - Post: Make it easier to debug l10n builds. r=maliu
This adds the R.txt files produced by the build -- timestamped, so
they are kept in order -- to the Task Cluster artifacts, for later
comparison.

MozReview-Commit-ID: 3hj6XjFDIE4

--HG--
extra : rebase_source : 04c1bcd2bf62fd193541fa92dd8841db102f6b5a
extra : source : 5a00c3642c972385cd212fe8b15240bce6acef50
2017-10-20 11:07:21 -07:00
Nick Alexander 260954c89b Bug 1405396 - Build with Gradle by default; turn Bg (Gradle) into Bng (non-Gradle). r=maliu
This also turns the tier 2 job B(n)g into tier 1, since moz.build is
still tier 1.  It also pushes a lot of GeckoView related tasks into
the main builds, since they should run as part of Gradle builds.

This also removes unused tooltool manifests; the jobs that used these
manifests use only toolchain tasks now.

MozReview-Commit-ID: 2GmnJ7joCTT

--HG--
extra : rebase_source : 75cd2dfb51e0e1b510f5e618c2dc881cf5f22bf2
extra : source : 6b95b09d6afbb83ba89c47b237dfce6e15587bbe
2017-10-18 13:05:54 -07:00
Nick Alexander 8f5ac292c2 Bug 1405396 - Pre: Set file.encoding=utf-8 for GeckoView packaging. r=maliu
We already had a work-around in place for Gradle invocations, but
apparently that wasn't enough for the Maven deployer, which must
launch its own JVM, which doesn't have the correct file encoding on
Linux.

MozReview-Commit-ID: 4z1IEZBmLaz

--HG--
extra : rebase_source : 951bb4c75ecba0d83cb86e728e1164dda99a6a08
extra : source : 6dd2abe095b82ed1a0fed4e687a7bbf3a5e036de
2017-10-18 19:04:10 -07:00
Nevin Chen 7ac62982d7 Bug 1413114 - Enable full bookmark management features by default. r=jwu,maliu
MozReview-Commit-ID: GgqloikZnF8

--HG--
extra : rebase_source : d4784f5ad61880487b3c8f88b9f58be95137af49
2017-10-31 16:15:50 +08:00
Jim Chen 4b2b6c27bf Bug 1412872 - 10. Follow-up to fix Gradle robocop failures; r=me
Pass the application Context rather than the test Context to Clipboard to avoid
failure caused by using the wrong Context.

MozReview-Commit-ID: IDzCwjb5rrF
2017-11-01 22:47:29 -04:00
Ryan VanderMeulen 15033615f1 Merge m-c to inbound. a=merge 2017-11-01 21:55:34 -04:00
L10n Bumper Bot 9a8b5aa16a no bug - Bumping Fennec l10n changesets DONTBUILD r=release a=l10n-bump
bn-BD -> ['android', 'android-api-16', 'android-multilocale']
ne-NP -> ['android', 'android-api-16', 'android-multilocale']
2017-11-01 15:40:42 -07:00
Sebastian Hengst 4ff29d14f8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GSDYk9wLOAM

--HG--
rename : browser/base/content/test/general/browser_bug561636.js => browser/modules/test/browser/formValidation/browser_form_validation.js
rename : browser/base/content/test/general/browser_bug595507.js => browser/modules/test/browser/formValidation/browser_validation_iframe.js
rename : browser/modules/test/browser/browser_bug1319078.js => browser/modules/test/browser/formValidation/browser_validation_invisible.js
2017-11-01 22:55:12 +01:00
Nick Alexander 6041444540 Bug 1412984 - Strip 'vars' debugging from Fennec in "official" audience flavour dimension. r=maliu
MozReview-Commit-ID: 6BEn52ARHQS

--HG--
extra : rebase_source : 8f3d66ae261036beeea9af5e5474a04a971c9f73
extra : source : 6abdc197ce71c269370ea120995125f039cb3474
2017-10-30 13:24:21 -07:00
Nick Alexander c1a631a475 Bug 1413332 - Make geckoview's BuildConfig under --with-gradle include computed values. r=maliu,snorp
There's already a secret dependency where
mobile/android/base/Makefile.in (and generated AppConstants.java)
depends on $topobjdir/buildid.h, so this shouldn't be much worse than
what we have.

MozReview-Commit-ID: 2hkAGE9uT10

--HG--
extra : rebase_source : 090b7a5f2063a4e0cc20252703e6575e6716448a
2017-10-31 14:29:39 -07:00
Jim Chen db34ad5809 Bug 1412872 - 8. Remove GeckoAppShell dependency in gecko-view; r=snorp
In the future, GeckoAppShell will only be part of the service process
library, and will not be part of the app process library. Therefore, we
should minimize GeckoAppShell usage in any GeckoView code that will
likely end up in the app process library.

In particular, AndroidGamepadManager and Clipboard are made to accept
Context as arguments, instead of using
GeckoAppShell.getApplicationContext() for getting the Context.

MozReview-Commit-ID: G9SC815H5Ku
2017-11-01 14:54:04 -04:00
Jim Chen 843d67f245 Bug 1412872 - 7. Move background events to GeckoApplication; r=nechen
Move the "Bookmark:Insert" and "Image:SetAs" events from GeckoApp to
GeckoApplication. These events are global to the application, and they
operate on the background thread, which will no longer be an option for
the GeckoView event dispatcher.

MozReview-Commit-ID: 8kesv8sJ8At
2017-11-01 14:54:04 -04:00
Jim Chen e6d6cbb51a Bug 1412872 - 6. Remove default prompt delegate support; r=snorp
Remove support for a default prompt delegate in GeckoView. Instead, all
prompts without a known window will go to the active GeckoView if
available.

MozReview-Commit-ID: C62V6jtgDCl
2017-11-01 14:54:03 -04:00
Jim Chen e8b3470987 Bug 1412872 - 5. Move GeckoAccessibility out of gecko-view; r=snorp
Move GeckoAccessibility out of gecko-view and into gecko-browser.
GeckoAccessibility as-is is currently only good for Fennec and is not
suitable for generic GeckoView use.

MozReview-Commit-ID: Fek8fLJNC6F

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAccessibility.java => mobile/android/base/java/org/mozilla/gecko/GeckoAccessibility.java
rename : mobile/android/geckoview/src/thirdparty/java/com/googlecode/eyesfree/braille/selfbraille/ISelfBrailleService.java => mobile/android/thirdparty/com/googlecode/eyesfree/braille/selfbraille/ISelfBrailleService.java
rename : mobile/android/geckoview/src/thirdparty/java/com/googlecode/eyesfree/braille/selfbraille/SelfBrailleClient.java => mobile/android/thirdparty/com/googlecode/eyesfree/braille/selfbraille/SelfBrailleClient.java
rename : mobile/android/geckoview/src/thirdparty/java/com/googlecode/eyesfree/braille/selfbraille/WriteData.java => mobile/android/thirdparty/com/googlecode/eyesfree/braille/selfbraille/WriteData.java
2017-11-01 14:54:03 -04:00
Jim Chen 7496680254 Bug 1412872 - 4. Handle negate scroll pref in native code; r=rbarker
Handle the negate_wheel_scroll pref in native code so we don't depend on
PrefsHelper in NativePanZoomController.

MozReview-Commit-ID: 14YCcrDlObz
2017-11-01 14:54:03 -04:00
Jim Chen 453375471c Bug 1412872 - 3. Remove native GeckoView loadUri call; r=snorp
Remove the native GeckoView loadUri call because it's Fennec-only.
Replace the call with a Fennec-only "Tab:OpenUri" event.

MozReview-Commit-ID: 7xZW9aceoPL
2017-11-01 14:54:03 -04:00
Jim Chen 08bc532bbe Bug 1412872 - 2. Implement Parcelable for GeckoViewSettings; r=snorp
Make GeckoViewSettings implement Parcelable so we can serialize it to
save settings.

MozReview-Commit-ID: HoxqbewtJko
2017-11-01 14:54:02 -04:00
Jim Chen 78a5bdee25 Bug 1412872 - 1. Implement Parcelable for GeckoBundle; r=snorp
Implement Parcelable interface for GeckoBundle so it can be marshalled
across processes over Bundle, AIDL, etc. Also, add a stub for a
`GeckoBundle.put` method that suggests alternatives to use.

MozReview-Commit-ID: IArNL7LYUPZ
2017-11-01 14:54:02 -04:00
Jim Chen 5f70c0bf46 Bug 1406168 - 3. Remove AndroidJavaWrappers; r=snorp
Remove AndroidJavaWrappers. Convert nsJNIString usages to use
jni::String and AndroidMotionEvent usages to use java::sdk::MotionEvent.
Move key code constants to GeckoEditableSupport.cpp.

MozReview-Commit-ID: CwcGGADWCNv
2017-11-01 14:48:48 -04:00
Jim Chen d19eceacd5 Bug 1406168 - 1. Remove JNI.jsm; r=sebastian
Remove JNI.jsm. Convert code that used JNI.jsm to the equivalent using
EventDispatcher.

MozReview-Commit-ID: JQdCubcTBAR
2017-11-01 14:48:48 -04:00
Makoto Kato f2055ece85 Bug 1413041 - Don't set LLVM_CONFIG on beta and release. r=gps
LLVM_CONFIG is only allowed when building stylo.  If not building it, it causes invalid option error.

mozconfigs doesn't have same value for milestone.is_nightly of moz.configure.
So, to detect nightly version, I analyze milestone.txt.

MozReview-Commit-ID: Iq1FvxymKEc

--HG--
extra : rebase_source : e07aaf1ee82e7459d97e6558f95967ac7972af9f
2017-11-01 17:12:43 +09:00
Michael Kaply 685298ea4c Bug 1412126 - ACTION_EXTERNAL_APPLICATIONS_AVAILABLE no longer needed for Stumbler. r=snorp
MozReview-Commit-ID: 8qGk7nok7Hy

--HG--
extra : rebase_source : 65c23e47b20963a67bb13eb62cd83b5d44e64db5
2017-11-01 07:25:09 -05:00
Michal Stanke faeeb6c079 Bug 1403108 - [cs] Unify mobile search engines list with browser, r=delphine,flod
MozReview-Commit-ID: 27CapGDp6pY

--HG--
extra : rebase_source : 6ae9d814e6a011820a2e116da3209ce431f2eeda
2017-10-13 09:19:14 +02:00
Delphine Lebédel 0637e40fe5 Bug 1411117 - Add 'bn-BD' and 'ne-NP' to Fennec maemo-locales for multi-locale builds, r=flod
MozReview-Commit-ID: 6FVNSayLD52

--HG--
extra : rebase_source : 778a583c269b74d30592a544684a3cb513ede19c
2017-10-31 15:32:40 -07:00
Phil Ringnalda 4700232b13 Backed out changeset 83a7ad25941e (bug 1412437) for robocop testAccessibleCarets bustage
CLOSED TREE

MozReview-Commit-ID: Lg1GSdLDyin
2017-10-31 20:07:15 -07:00
Michael Comella dc259d83a8 Bug 1410221 - review: Make names of openContextMenu unique. r=mcomella
r=trivial (IDE assisted :)

MozReview-Commit-ID: DNgY5v4zp2c

--HG--
extra : rebase_source : f3e6b74e74a2c3e3353d98a144cada41c96188c1
2017-10-31 19:41:51 -07:00
Michael Comella 23257556b9 Bug 1410221: Rm duplicated code in openContextMenu. r=liuche
I verified this worked by checking the UITelemetry logs.

MozReview-Commit-ID: IlD8CuxsUSA

--HG--
extra : rebase_source : 6d3716f1a1b3499177f1619f5ecbf857e1622386
2017-10-23 15:06:03 -07:00
Michael Comella 8fa0c8c21f Bug 1410221: Rm unnecessary context param from ActivityStreamContextMenu.show. r=liuche
MozReview-Commit-ID: LvPCaFbwGEV

--HG--
extra : rebase_source : fb85df4bacd6a308692dcc64171f2e496394c254
2017-10-23 14:57:57 -07:00
Michael Comella 49b8059e89 Bug 1410221: Move TopSite openContextMenu to StreamRecyclerAdapter with listener. r=liuche
We do this so we can bind the listener to the `parent` View argument in
onCreateViewHolder.

This is the last commit required to fix this bug.

In practice, top sites should never cause a crash because they should never be
off-screen on rotation but this is just for correctness/safety.

MozReview-Commit-ID: 5P1HiR6woTH

--HG--
extra : rebase_source : 207a2eda79398f880332391c4559763fff2d51ae
2017-10-23 14:50:17 -07:00
Michael Comella ee26d1248c Bug 1410221: Rm unused StreamHighlightItemRowContextMenuListener. r=liuche
MozReview-Commit-ID: LgPtdDMdjVV

--HG--
extra : rebase_source : 906036ec63861906b94f75697b7de3c2576d0057
2017-10-23 14:22:39 -07:00
Michael Comella 8f9170abd4 Bug 1410221: Pass in parent snackbarAnchor for WebpageItemRow. r=liuche
MozReview-Commit-ID: 76VLKcEPQWF

--HG--
extra : rebase_source : e2890904f2e057877568e0729cf7bd6ff0299eaf
2017-10-23 14:05:39 -07:00
Kyle Machulis 41f2111481 Bug 1412437 - Remove nsIDOMHTMLTextAreaElement r=bz
MozReview-Commit-ID: JAON7Rd7IAo

--HG--
extra : rebase_source : 7bdc51676a4a834f1736b0c5f269bc26ca94e610
2017-10-30 16:14:51 -07:00
Sebastian Hengst 2470a9a87b merge mozilla-central to autoland. r=merge a=merge 2017-11-01 00:38:25 +01:00
Sebastian Hengst 7a0f790c30 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4CDH6A5NT2U
2017-11-01 00:36:12 +01:00
Dylan Roeh 6be475a0a3 Bug 1410235 - Only launch a custom tab from a PWA for http(s) URIs, otherwise just fire an ACTION_VIEW intent. r=snorp 2017-10-26 11:37:37 -05:00
Jan Henning 82d83e2c1d Bug 1409803 - Copy logic to prevent spaces in keywords to new Edit Bookmark dialogue. r=jwu
MozReview-Commit-ID: JXF0zwxhVv4

--HG--
extra : rebase_source : 336e5a31e691ab175f75370727b0f1f856bc9088
2017-10-18 22:34:14 +02:00
Nevin Chen 307d98ad95 Bug 1412823 - Change the message to display when deleting a bookmark folder/item r=maliu
MozReview-Commit-ID: Hg5AR2FT78a

--HG--
extra : rebase_source : 04de840dec96d05b8007c870dc1ed2d7838287cc
2017-10-31 14:46:15 +08:00
Jan Henning 16f199cadf Bug 1405215 - Part 2 - Make new Edit Bookmark dialogue scrollable. r=jwu,nechen
Otherwise
- the keyboard pushes the toolbar with the "Save" button out of view when entering text into the last input field
- the last input field isn't even accessible in landscape orientation.

MozReview-Commit-ID: 98Si6JfLt9m

--HG--
extra : rebase_source : 108e54985938b8b8852b93b5213701e19689ee4d
2017-10-19 18:07:32 +02:00
Jan Henning ebe97b36b3 Bug 1405215 - Part 1 - Allow editing keyword in new Edit Bookmark dialogue. r=jwu
MozReview-Commit-ID: Ek6qLdux7zt

--HG--
extra : rebase_source : c6cd7e8d4f0f5c07a4d58a6cf356e7c8ddb092af
2017-10-19 17:18:59 +02:00
Attila Craciun 2ae920762e Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-10-31 12:53:23 +02:00
Jan Henning ac0a399a60 Bug 1407188 - Don't fail to send locationChange if the next URI has no host. r=walkingice
MozReview-Commit-ID: 6rRQ6K3wPwT

--HG--
extra : rebase_source : ecd7170057e3cfd5dc3fb68da09668c5adb44722
2017-10-26 15:49:38 +02:00
Jim Chen e51e2066e0 Bug 1412681 - Fix NSS dialogs; r=snorp
The context object for NSS dialogs apparently won't give us a window, so
we have to fall back to the active window.

MozReview-Commit-ID: 4cHpcE8oggL
2017-10-30 22:48:58 -04:00
Sebastian Hengst f07fc93141 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4PW6ESqLL73
2017-10-30 23:52:23 +01:00
Ted Mielczarek 3654b248ac rm mobile/android/tests/browser/robocop/roboextender/Makefile.in. r=nalexander, no bug
MozReview-Commit-ID: 23WDVZGE3lY

--HG--
extra : rebase_source : 79e1a453a0b514012ba09a6292fe73c496b9c086
2017-10-30 13:29:38 -04:00
Jim Chen 321bfe31ef Bug 1406247 - 2. Fix testInputConnection to have correct check; r=esawin
testInputConnection had a wrong check for selection offset, which would
otherwise have caught this bug.

MozReview-Commit-ID: LdkmkRxK52s
2017-10-30 12:42:30 -04:00
Jim Chen d7ddb77f0b Bug 1406247 - 1. Don't ignore selection change when Gecko text change is more than expected; r=esawin
When a Gecko text change covers more than just our expected change on
the Java side, don't ignore the subsequent selection change notification
because the Gecko selection could have moved anywhere.

MozReview-Commit-ID: 8kvz7Ws9DMM
2017-10-30 12:42:30 -04:00
Jim Chen f568e139e7 Bug 1410236 - Deny permission by default if doorhanger is dismissed; r=sebastian
Add a "defaultCallback" option to the doorhanger API that specifies a
callback to call when the doorhanger is dismissed without a button being
clicked. Use that to deny a permission in ContentPermissionPrompt.js
when the doorhanger is dismissed without explicit action.

MozReview-Commit-ID: 9kOAWirI4Ux
2017-10-30 12:42:30 -04:00
James Willcox 1ee57ae7a7 Bug 1395497 - Create SurfaceTexture in detached state, attach on first use r=jgilbert
MozReview-Commit-ID: HfkEUH9aiBo
2017-10-30 10:58:56 -05:00
Nevin Chen 4e1567ba51 Bug 1380950 - Restric Mma Deeplink only response to mma request. r=freddyb
MozReview-Commit-ID: HwQ8jPrzEzU

--HG--
extra : rebase_source : 8e615f9a925479db585475ab5c01da2f581bf5eb
2017-10-30 09:50:20 -04:00
Jan Henning bba185434e Bug 1410629 - Clear user-entered search term already after location change. r=sebastian
This is to avoid a situation where after searching and then navigating to a different URL, the user can already see the new URL (after location change), but not yet edit it (currently, the search term is only dropped after pageshow).

Because location change is too early for checking the documentURI for the presence of an error page in case the load failed, we switch to checking the request's status instead.

We still have to explicitly check for "about:neterror" as well, though, since the way our intent handling code displays an error page in case of an unknown protocol technically counts as a successful pageload.

MozReview-Commit-ID: 8e6WQlD0sf3

--HG--
extra : rebase_source : fa80f45c2bc7b87934907e0386f8c26cd998eb04
2017-10-30 14:05:32 +01:00
Jamie Nicol 21b5b6db95 Bug 1092294 - Use SurfaceTextures for painted content on android (preffed off). r=nical,snorp
Add a new TextureClientData type, AndroidNativeWindowTextureData,
backed by a SurfaceTexture in single-buffer mode. It uses the
NativeWindow API, which provides producer-side access to the buffer.
This provides a DrawTarget which can be used to paint directly in to
the SurfaceTexture, which can then be composited using a SurfaceTextureHost.

Due to API restrictions it is not possible to read from a NativeWindow
while the corresponding SurfaceTexture has ownership of the
buffer. TiledContentClient now handles that by painting the additional
region that it cannot copy from the front buffer, if required.

MozReview-Commit-ID: 1NZq6MQqwFq

--HG--
extra : rebase_source : 9d1db721d4892f3df033d43127489a85421e8863
2017-10-28 11:59:58 +01:00
Nick Alexander 5b055513a7 Bug 1249421 - Include stub AndroidManifest.xml. r=maliu
This should avoid Bug 1249421, but it will also address an
Android-Gradle plugin 3.0 issue, where the plugin requires the
manifest at Gradle configuration time.  Currently we don't provide it
until Gradle evaluation time, leading to this error, and to the plugin
failing.

MozReview-Commit-ID: 4NkiQSooLly

--HG--
extra : rebase_source : 21b11e8cb4ff990df3adf18718ec3bda869486a0
2017-10-26 10:44:35 -07:00
Nick Alexander d86b10b8e5 Bug 1411667 - Remove Spoon plugin references entirely. r=maliu
Spoon and some Gradle work allowed to run certain JUnit 3 test suites
locally.  At the time, running the various test suites was diffficult.
Fast forward, and it's easier to run these suites, and in general they
are only run in Android Studio.  This will only get better as we move
the background services tests into a separate module (Bug 1229149).

MozReview-Commit-ID: KZTWmkhwi96

--HG--
extra : rebase_source : 5244e81ffe81e8611034fea1edb07681266a7581
2017-10-26 15:49:41 -07:00
Nick Alexander d52916250a Bug 1411686 - Part 2: Don't invoke |make gradle-targets| for AB_CD=multi. r=maliu
This work-around isn't needed for the moz.build system because there's
no equivalent of the

|mach build| > |mach gradle| > |make gradle-targets|

dependency chain that "re-enters" Make processing.  That is, the
nodeps mechanism ensures that nothing in m/a/b/Makefile.in (that knows
about AB_CD) ever sees AB_CD=multi.

MozReview-Commit-ID: qZKAtlLhJw

--HG--
extra : rebase_source : b9dd2f4f4dd8af5c4d594927226c7b8230723b9f
extra : source : c965d3adbcbf35f417dbf0832b44de6c52b89535
2017-10-19 13:49:45 -07:00
Nick Alexander 6d97cb22fc Bug 1411686 - Part 1: Force Gradle to run during |mach package|. r=maliu
It looks like I didn't handle this flow -- which only matters during
l10n multi-locale builds and l10n single-locale repacks -- during the
initial Gradle landing.  Now we need to handle it.

Remember that the l10n process runs |mach build && mach package|, and
then modifies the object directory by inserting new localized resource
files.  It then runs |mach package| again and expects to regenerate
the ap_ file, ready to splice it into the existing apk file.  The
existing code just copied the .ap_ built by Gradle without
regenerating the ap_ file.  This commit forces running Gradle again,
which will pick up the new resources in the object directory.

The chain of dependencies is:

|mach package| > gecko-nodeps.ap_ > .aapt.nodeps > .gradle.deps

and the latter two targets are FORCE, so they always get run
(regardless of the freshness of the inputs).

In fact, this runs the entire Gradle process again, including
producing classes.dex.  (The moz.build process doesn't compile the
Java source code again.)  This patch changes the existing behaviour to
copy the regenerated classes.dex into the repacked apk and avoid the
need for the R.java IDs to line up across the |mach build| and |mach
package| invocations.  This turned out to be necessary to support
multi-locale builds with newer Gradle versions, which don't appear to
preserve aapt R.java IDs across the

|mach build|, |mach package|, |mach compare-locales|, |mach package|

chain.

MozReview-Commit-ID: FlhtQPwR5xG

--HG--
extra : rebase_source : ee00d5507a63b47b253cb0e310d2fa9a815442a1
extra : source : 3a6e8fedc00a5c2930e0f2bc3077cd9beed5c5d2
2017-10-19 08:52:33 -07:00
Nick Alexander 91774829e6 Bug 1411686 - Pre: Fix JNI wrapper dependencies. r=maliu
When built as part of a consuming application, a library's bundle*
target is called but not its assemble* target.  (When built by itself
for distribution, a library's assemble* target is called.)  This
corrects the wrapper dependencies.

MozReview-Commit-ID: 9ooHMNPK2U4

--HG--
extra : rebase_source : 0b9d979a0066eda86ec39e9700a2e11e8073cea6
2017-10-23 14:57:53 -07:00
Nick Alexander 9b54967fa7 Bug 1413006 - Use .apk not .ap_ when building --with-gradle. r=maliu
MozReview-Commit-ID: 28NpESuxjf8

--HG--
extra : rebase_source : a4b39064fe0bae6c64b65abb57a7d74aca5c299a
2017-10-30 14:27:47 -07:00
Francesco Lodolo (:flod) 848ae76433 Bug 1412787 - Update the list of shipping searchplugins for Fennec in Italian (it) r=delphine
MozReview-Commit-ID: Hevv6co6RWj

--HG--
extra : rebase_source : fb898c1fa3540a84c5bc0d3d46c4c6bfc44e53a6
2017-10-30 11:12:07 +01:00
Mark Banner 39be58d801 Bug 1272086 - Remove now-unused MOZ_SOCIAL configure options. r=chmanchester
MozReview-Commit-ID: KjkKRo4NyDm

--HG--
extra : rebase_source : 0d4aadc9f350af1fb642a4fde6088cbcc2a4c344
2017-10-31 09:30:52 +00:00
Jan Henning b373289bc6 Bug 1412818 - Part 2 - Remove other unused stuff in ToolbarDisplayLayout. r=sebastian
MozReview-Commit-ID: FFzSODcrEEk

--HG--
extra : rebase_source : 2f481113ac7b052c758096eea1bfe402c62d6049
2017-10-31 14:45:11 +01:00
Jan Henning 44a315a38b Bug 1412818 - Part 1 - Remove unused Toolbar experiments. r=sebastian
MozReview-Commit-ID: 8tky8nF2EVi

--HG--
extra : rebase_source : c9fcb3b80e23fbee66e81fefc6ce5c08242e3a48
2017-10-31 14:44:08 +01:00
Andrew Gaul 7ee6e2a506 Bug 1382049 - Make inner classes static when possible. r=nalexander, r=sebastian
This avoids an implicit this field and can help GC. Found via error-prone.

--HG--
extra : rebase_source : 6d91bfcb98a05c94c13fc41fd0b5b14f1404ddcf
2017-07-18 16:51:30 -07:00
James Cheng 004b993f6b Bug 1412736 - Extend the blacklist of disabling adaptive playback feature for Galaxy S4 SCH-R970 model. r=jolin
MozReview-Commit-ID: LfwcrdWtrDC

--HG--
extra : rebase_source : af2dcfc90cd60ff87b9aee70066ef455d3a1c6ae
2017-10-30 10:57:50 +08:00
DimiL 34c0f59f0b Bug 1384753 - Move Application Reputation files into a new component. r=francois
--HG--
rename : toolkit/components/downloads/ApplicationReputation.cpp => toolkit/components/reputationservice/ApplicationReputation.cpp
rename : toolkit/components/downloads/ApplicationReputation.h => toolkit/components/reputationservice/ApplicationReputation.h
rename : toolkit/components/downloads/chromium/LICENSE => toolkit/components/reputationservice/chromium/LICENSE
rename : toolkit/components/downloads/chromium/chrome/common/safe_browsing/csd.pb.cc => toolkit/components/reputationservice/chromium/chrome/common/safe_browsing/csd.pb.cc
rename : toolkit/components/downloads/chromium/chrome/common/safe_browsing/csd.pb.h => toolkit/components/reputationservice/chromium/chrome/common/safe_browsing/csd.pb.h
rename : toolkit/components/downloads/chromium/chrome/common/safe_browsing/csd.proto => toolkit/components/reputationservice/chromium/chrome/common/safe_browsing/csd.proto
rename : toolkit/components/downloads/nsIApplicationReputation.idl => toolkit/components/reputationservice/nsIApplicationReputation.idl
rename : toolkit/components/downloads/test/unit/.eslintrc.js => toolkit/components/reputationservice/test/unit/.eslintrc.js
rename : toolkit/components/downloads/test/unit/data/block_digest.chunk => toolkit/components/reputationservice/test/unit/data/block_digest.chunk
rename : toolkit/components/downloads/test/unit/data/digest.chunk => toolkit/components/reputationservice/test/unit/data/digest.chunk
rename : toolkit/components/downloads/test/unit/data/signed_win.exe => toolkit/components/reputationservice/test/unit/data/signed_win.exe
rename : toolkit/components/downloads/test/unit/head_download_manager.js => toolkit/components/reputationservice/test/unit/head_download_manager.js
rename : toolkit/components/downloads/test/unit/xpcshell.ini => toolkit/components/reputationservice/test/unit/xpcshell.ini
extra : rebase_source : 0ee026299fbe2122f94588de63d46b3752bcf26d
2017-10-23 16:18:52 +08:00
Sebastian Hengst 794abc6fba merge mozilla-central to autoland. r=merge a=merge 2017-10-29 23:01:08 +01:00
Sebastian Hengst a6ee12714b Bug 1365425 - [bn-BD] Add search engine setup for Firefox Mobile for Bengali (Bengladesh): Replace 'ddg' with 'duckduckgo' to fix bn-BD Fennec L10n nightly. r=nightly-fix a=nightly-fix
MozReview-Commit-ID: 8eJYHVajz3o
2017-10-29 22:56:44 +01:00
Zibi Braniecki 0786d0892d Bug 1387332 - Remove leftover ENABLE_INTL_API conditions. r=jfkthame
MozReview-Commit-ID: CMvCR9ZWuQw

--HG--
extra : rebase_source : 5341a4258a82d7596ebcb5789b6fc9bad69d4053
2017-10-29 09:07:19 -07:00
Makoto Kato b55c2d4000 Bug 1411802 - Build stylo on Android as default. r=nalexander,snorp,jryans
- Building is nightly channel only.  Beta and release for Fennec 58 don't build
  stylo.  It means that the package size for 58 beta/release isn't incremented
  by this change.
- The preference for stylo is still turned off Nightly 58. It will be turned on
  59 after fixing some bugs for crashtests and etc.  Our target to enable stylo
  for Android is 59.
- ./mach bootstrap already installs clang etc to build stylo and bindgen.
  Developers for mobile won't require additional build options for this change.

MozReview-Commit-ID: CIpYl8I5d7x

--HG--
extra : rebase_source : 6387704e4a94db080d4add10298cf1cc254ddec0
2017-10-29 22:56:41 +09:00
Nathan Froyd f0a815d0e2 Bug 1163171 - part 6 - update to NDK r15c; r=snorp 2017-10-28 17:38:58 -04:00
Nathan Froyd d35748de01 Bug 1163171 - part 1 - switch to r11c NDKs that include clang; r=snorp
The first thing to do to make Fennec compile with clang is to use NDK
tarballs that actually include LLVM.
2017-10-28 17:38:59 -04:00
Zibi Braniecki c46d36dffb Bug 1362617 - Generalize MOZ_CHROME_MULTILOCALE to work for browser as well. r=gps,mshal,Pike,ted
MozReview-Commit-ID: 80ldQPhNyi7

--HG--
extra : rebase_source : d6a1c6fcc36ba7fb49df25fa4c73f4aa564db613
2017-10-23 08:04:24 -07:00
Mark Banner 00b488c118 Bug 1411368 - Automatically fix padded-blocks issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: 7GvGbTjz0pe

--HG--
extra : rebase_source : 964c8372b792b26c4d86b2cafc640e0df7998681
2017-10-26 12:27:04 +01:00
Mark Banner 4de6bf22b1 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo

--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
Sebastian Hengst 429ff227ee Backed out changeset 17ef68e368bb (bug 1362617) for build bustage on OS X. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 78500a66ae825039d21ea4d69a23ae2d6570ee38
2017-10-27 16:46:27 +02:00
Zibi Braniecki f31e020d7e Bug 1362617 - Generalize MOZ_CHROME_MULTILOCALE to work for browser as well. r=gps,mshal,Pike,ted
MozReview-Commit-ID: 80ldQPhNyi7

--HG--
extra : rebase_source : e40838ce14ebe1e4fae4d6742633c16b5c4387f9
2017-10-23 08:04:24 -07:00
Sebastian Hengst a92de1bfc3 merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
--HG--
extra : amend_source : 5afba38563fd825a1d36aaee0debd5844aca3432
2017-10-27 12:54:29 +03:00
Sebastian Hengst 5c15da1f08 merge mozilla-inbound to mozilla-central. r=merge a=merge
--HG--
rename : testing/talos/tests/__init__.py => testing/talos/talos/unittests/__init__.py
rename : testing/talos/tests/browser_output.ts.txt => testing/talos/talos/unittests/browser_output.ts.txt
rename : testing/talos/tests/browser_output.tsvg.txt => testing/talos/talos/unittests/browser_output.tsvg.txt
rename : testing/talos/tests/profile.tgz => testing/talos/talos/unittests/profile.tgz
rename : testing/talos/tests/ps-Acj.out => testing/talos/talos/unittests/ps-Acj.out
rename : testing/talos/tests/test_talosconfig_browser_config.json => testing/talos/talos/unittests/test_talosconfig_browser_config.json
rename : testing/talos/tests/test_talosconfig_test_config.json => testing/talos/talos/unittests/test_talosconfig_test_config.json
rename : testing/talos/tests/xrestop_output.txt => testing/talos/talos/unittests/xrestop_output.txt
2017-10-27 12:45:34 +03:00
Delphine Lebédel d9edba8f9a Bug 1411112 - Search engine setup for Firefox Mobile for Latgalian, r=flod
MozReview-Commit-ID: JSbbcWe7ctx

--HG--
extra : rebase_source : 70ab018e7e61a4a5eaa88d2cfb1dae2b46347ca0
2017-10-26 17:33:54 -07:00
Delphine Lebédel bc78079526 Bug 1365425 - [bn-BD] Add search engine setup for Firefox Mobile for Bengali (Bengladesh), r=flod
MozReview-Commit-ID: FELtFVywmsW

--HG--
extra : rebase_source : e7bccb5847e4188298c69bc2c98f5ad98c23cd51
2017-10-26 16:59:07 -07:00
Sebastian Hengst d10e26c913 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-27 00:00:25 +02:00
Sebastian Hengst b181c484ad merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: LcCWQzgwIBi
2017-10-26 23:57:40 +02:00
Delphine Lebédel cf842bfc0d Bug 1411109- [ach] Search engine setup for Firefox Mobile for Acholi, r=flod
MozReview-Commit-ID: 6vFXKBYolqj

--HG--
extra : rebase_source : bbe37f6d4d68db5f073abaf48a7f196b3269e84e
2017-10-25 19:47:16 -07:00
Dylan Roeh b04896c885 Bug 1400605 - Fall back to launching Fennec if we've lost the manifest for a PWA. r=snorp 2017-10-25 17:28:59 -05:00
Kris Maglione dee87d13ab Bug 1409249: Follow-up: Fix Android build bustage. r=bustage
MozReview-Commit-ID: 1I3z8Oqz9Qm
2017-10-25 20:56:41 -07:00
Eugen Sawin b3e6daca8e Bug 1406024 - [1.0] Only pass tab id for Fennec prompts. r=jchen 2017-10-25 22:31:18 +02:00
Nick Alexander a562b72999 Bug 1221344 - Remove Fennec Search Activity. r=gueroJeff,sebastian,snorp
MozReview-Commit-ID: L7rihfeqvzH

--HG--
extra : rebase_source : 3170b86ef2c95e642c451c3e9bbe9db83bc9edcf
2017-10-19 14:14:36 -07:00
Sebastian Hengst 06e215c2ce merge mozilla-central to autoland. r=merge a=merge 2017-10-26 23:59:14 +02:00
Jan Henning 97c8930f1f Bug 1405973 - Add white to basic colour picker. r=jwu
MozReview-Commit-ID: 4Cfxrj8SYGQ

--HG--
extra : rebase_source : 4b13749ca72211523e75c88cdb14a79da9cc09ad
2017-10-23 21:53:39 +02:00
Attila Craciun 252daa8e0a Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-10-26 12:32:58 +03:00
Attila Craciun 0cab95ab0f Merge inbound to mozilla-central r=merge a=merge 2017-10-26 12:20:45 +03:00
maliu a2f6cf439f Bug 1360587 - Part 2. Remove bouncer apk build config; source; docs, r=nalexander
MozReview-Commit-ID: C1QJcr65yWu

--HG--
extra : rebase_source : 867d143416321adc4820d488991fb4575c767cf0
2017-10-25 22:51:44 +08:00
Delphine Lebédel d0af3268bd Bug 1407849 - [bs] Search engine setup for Firefox Mobile for Bosnian r=flod
MozReview-Commit-ID: 6relQLQwQOI

--HG--
extra : rebase_source : a1470d6f93ec8364afffe98c5308dde5246be7ef
2017-10-25 19:10:08 -07:00
Sebastian Hengst 443416f881 Merge mozilla-central to autoland. r=merge a=merge 2017-10-26 00:39:55 +02:00
Michael Comella 3a8d7956a7 Bug 1411749: Disable testActivityStreamPocketReferrer when Pocket is disabled by default. r=mcomella
MozReview-Commit-ID: BoFaNc4eBUA

--HG--
extra : rebase_source : 3927c1da8963cc9219237bc6b4e906c3d4085407
2017-10-25 13:32:59 -07:00
Michael Comella d3ff3907db Bug 1411657: Disable Pocket by default. r=liuche
From product (bug 1411657 comment 0):

Activity Stream may be pushed to a later release on desktop.  With that, we want
the Pocket stories feature to be put behind a feature flag on Firefox Android,so
we can launch the feature across all platforms simultaneously.

MozReview-Commit-ID: 3KmZir3tGPc

--HG--
extra : rebase_source : 9bb693e83ec98a8c1bae6476b2c800cf89968bd3
2017-10-25 12:05:17 -07:00
Michael Comella 0b2d54f766 Bug 1411657: Use resources when getting default Pocket value. r=liuche
This is an existing bug that previously had no impact because the values were
duplicated. Now that I'm going to change the value, the bug has to be fixed.

I opted not to fix the bug for the other top sites features in order to
minimize the scope of this change.

MozReview-Commit-ID: L9bnEMfvpDG

--HG--
extra : rebase_source : 8a451817fdf318f8ff2f8536c386e320d88fe293
2017-10-25 12:02:14 -07:00
Mark Banner 422a012285 Bug 1410362 - Merge nsIPromptService and nsIPromptService2. r=enndeakin+6102
MozReview-Commit-ID: 5gKiuWF4LeA

--HG--
extra : rebase_source : fa8471b07a69433e8ff47dc195b1d7e671450a21
2017-10-24 21:40:59 +01:00
Nevin Chen 8ca3d01790 Bug 1409303 - Make PWA enable by default. r=maliu
MozReview-Commit-ID: 5jGDP1Xf1aj

--HG--
extra : rebase_source : df088cd3a04c99c04fdd25543e11ac84ad84bef5
2017-10-25 12:02:23 +08:00
John Lin e9ef326a0b Bug 1410771 - extend adaptive playback blacklist for some Samsung tablet. r=JamesCheng
MozReview-Commit-ID: 9X316WYjIS3

--HG--
extra : rebase_source : 41612526a90da44e08a4ac6fdf66f5db63532e61
2017-10-25 09:00:58 +08:00
Sebastian Hengst 1ead0a96a9 Backed out changeset dab1c5badddb (bug 1407679) for failing server startup in mochitests on Android. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 3dc4cb2bbaf55f3f6329687ce64d4e862fc3800b
2017-10-24 21:18:26 +02:00
Valentin Gosu 9dd47ebf50 Bug 1407679 - Merge nsIIOService and nsIIOService2 r=nwgh
Removes deprecated nsIIOService2.newChannelFromURIWithProxyFlags

MozReview-Commit-ID: Gr3nA25kcre

--HG--
extra : rebase_source : 3407b5ed0f8f7067523abee28c137db3cac86b14
2017-10-20 16:41:07 +02:00
Michael Comella cbecb8e70c Bug 1395370: BaseTest -> OldBaseTest. r=nechen
MozReview-Commit-ID: 5chsKoG2nxD

--HG--
rename : mobile/android/tests/browser/robocop/src/org/mozilla/gecko/tests/BaseTest.java => mobile/android/tests/browser/robocop/src/org/mozilla/gecko/tests/OldBaseTest.java
extra : rebase_source : cd7433fbc4f9806e8f709c119038c228987a4cf9
2017-10-23 09:22:42 -07:00
Michael Comella b8ebe79f95 Bug 1395370: Add deprecation to BaseTest. r=nechen
MozReview-Commit-ID: J6Kl14vkNdX

--HG--
extra : rebase_source : 07e7905c2f23fe4851bae61d00732fdf95fb8c6a
2017-10-23 09:20:34 -07:00
Jan Henning 1e45433267 Bug 1410975 - Support recording audio via supported app from the file picker. r=nechen
Unlike capturing images/videos, the Android permission for recording audio is apparently only required if we want to record the audio ourselves, but not if we're merely calling out to some other app via MediaStore.Audio.Media.RECORD_SOUND_ACTION. Therefore we can drop that permission request for now.

MozReview-Commit-ID: 35vtm8Y78hh

--HG--
extra : rebase_source : 30426abfc6ab319422867656cf9f1df50867d749
2017-10-23 21:10:50 +02:00
Jan Henning e151e329bc Bug 1362919 - Allow falling back to basic file picker if permissions are denied. r=nechen
Theoretically this patch would also handle the case where the user has granted only some of the requested permissions, but at the moment our Permissions implementation doesn't make it easy to find out *which* permissions have been denied in the fallback case. So for the time being, we assume having no permissions at all in the fallback case.

MozReview-Commit-ID: EtxFfiLQONF

--HG--
extra : rebase_source : 42fcad8b0f9fb29026b53cf0d24905ece96e6077
2017-10-23 18:43:45 +02:00
Sebastian Hengst dbf343872c merge mozilla-central to autoland. r=merge a=merge 2017-10-24 11:54:19 +02:00
Sebastian Hengst 31bf3a1a42 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4Lk5P5UYmTe
2017-10-24 11:52:35 +02:00
Sebastian Hengst 8072106c67 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-23 23:55:17 +02:00
Ben Kelly d64c111b67 Bug 1409761 Create dom.serviceWorkers.disable_open_click_delay and set it to a larger value on fennec. r=smaug 2017-10-23 14:24:31 -04:00
Nevin Chen be71ed84b1 Bug 1398362 - Change the image with correct size. r=maliu
MozReview-Commit-ID: 98jIGHzIHlr

--HG--
extra : rebase_source : b3655628835aa7d02a994e7918c190a5f97ee048
2017-10-24 13:19:23 +08:00
Sebastian Hengst 026ae1698b merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IMyEmT3cofM
2017-10-22 23:50:42 +02:00
James Willcox a156aa7132 Bug 1405124 - Set appropriate version code and string for GeckoView AAR r=nalexander
MozReview-Commit-ID: DZAxlp7zBHv
2017-10-21 13:18:16 -05:00
Sebastian Hengst ab5494d20a merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-21 11:02:13 +02:00
James Willcox 1bc1c0af6f Bug 1410534 - Correctly lock screen orientation in standalone mode r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D147

MozReview-Commit-ID: 4XFkgT9mqIB
2017-10-20 21:10:37 -05:00
Thom Chiovoloni 57c9bd99fb Bug 1409860 - Move os to correct place in android sync ping r=Grisha
MozReview-Commit-ID: DBn8MMVgKPM

--HG--
extra : rebase_source : b51fbfd06f784f2b2c967e33079ed29a05de0710
2017-10-19 13:35:16 -04:00
Thom Chiovoloni 3f1b2cd57a Bug 1410145 - Fix wrong version field in android sync ping. r=Grisha
MozReview-Commit-ID: 1Q4Dz7g5QPA

--HG--
extra : rebase_source : 98ea2d40ad582dd84687d42cef4fb0eff4e808df
2017-10-19 12:56:56 -04:00
Michael Comella b3504f0aa9 Bug 1410497: Remove local.properties from tree. r=nalexander
MozReview-Commit-ID: 34Pw2ULyzht

--HG--
extra : rebase_source : 8843a008b48f0561164d91457bfa57d331561ac7
2017-10-20 11:36:54 -07:00
Jan Henning b209e078b0 Bug 1403653 - Part 3 - Use the Lightweight Theme accent colour for the status bar in normal mode. r=nechen
If the theme doesn't provide an accent colour, we try determining something appropriate ourselves.

MozReview-Commit-ID: B5TSeIFsBIK

--HG--
extra : rebase_source : b82b8d5feeb16e466e4d4f4cee48b2493fe3301a
2017-09-27 21:08:14 +02:00
Jan Henning 72f7dc1f64 Bug 1403653 - Part 2 - Split out conversion from ColorRes to ColorInt into separate function. r=nechen
MozReview-Commit-ID: 8tDBT7kR9XF

--HG--
extra : rebase_source : 86449f2f0b3085e1a4961161a609b8a5f7c130f3
2017-09-27 21:27:28 +02:00
Jan Henning 3fe1971e3f Bug 1403653 - Part 1 - Refactor getDominantColor. r=nechen
We want to use the Palette library for getting a fallback accent colour for lightweight themes, however because of bug 1318667, we might have to continue using our own implementation of getDominantColor on x86 devices.

Therefore we move this into BitmapUtils, so we can have a central location from which to switch between our own and the Palette library implementation.

MozReview-Commit-ID: 52WsfZbW12x

--HG--
extra : rebase_source : b0eb60c25355d1a13418844b5684e4356225e8c3
2017-10-14 19:23:03 +02:00
Jan Henning c17ea32a4f Bug 1403653 - Part 0 - Cleanup imports. r=JanH
MozReview-Commit-ID: KLXJSCNTLSC

--HG--
extra : rebase_source : a626bc49b2db84bd693873da11650001cda2920a
2017-10-14 19:24:02 +02:00
Sebastian Hengst 7a58f3459f Backed out changeset 66232f26609e (bug 1403653) for Android bustage at mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/BitmapUtils.java:23: package android.support.v7.graphics does not exist. r=backout
--HG--
extra : amend_source : 4a8609e5ed39528b45021a9aece48f0ad4c71186
2017-10-22 11:54:25 +02:00
Sebastian Hengst b8673b6c5b Backed out changeset e40240828163 (bug 1403653) 2017-10-22 11:54:19 +02:00
Sebastian Hengst 833ceb4d50 Backed out changeset 1e66240eb8b6 (bug 1403653) 2017-10-22 11:54:14 +02:00
Sebastian Hengst 20ac5878dd Backed out changeset f36de129726f (bug 1403653) 2017-10-22 11:54:09 +02:00
Sebastian Hengst 75dc1431ee merge mozilla-central to autoland. r=merge a=merge 2017-10-22 11:36:08 +02:00
Jan Henning 32006c1e42 Bug 1403653 - Part 3 - Use the Lightweight Theme accent colour for the status bar in normal mode. r=nechen
If the theme doesn't provide an accent colour, we try determining something appropriate ourselves.

MozReview-Commit-ID: B5TSeIFsBIK

--HG--
extra : rebase_source : 0dba0b8d0280461d2006f228b1d3352d439bb26b
2017-09-27 21:08:14 +02:00
Jan Henning 9088ecc81a Bug 1403653 - Part 2 - Split out conversion from ColorRes to ColorInt into separate function. r=nechen
MozReview-Commit-ID: 8tDBT7kR9XF

--HG--
extra : rebase_source : aba767491182f5066d3cc3988c822366f40ec145
2017-09-27 21:27:28 +02:00
Jan Henning 45de111d36 Bug 1403653 - Part 1 - Refactor getDominantColor. r=nechen
We want to use the Palette library for getting a fallback accent colour for lightweight themes, however because of bug 1318667, we might have to continue using our own implementation of getDominantColor on x86 devices.

Therefore we move this into BitmapUtils, so we can have a central location from which to switch between our own and the Palette library implementation.

MozReview-Commit-ID: 52WsfZbW12x

--HG--
extra : rebase_source : b7e66c027ef6c4a6aa01fcda6d17b6afb2e854a9
2017-10-14 19:23:03 +02:00
Jan Henning a8f417416f Bug 1403653 - Part 0 - Cleanup imports. r=JanH
MozReview-Commit-ID: KLXJSCNTLSC

--HG--
extra : rebase_source : ec15bc6564977b3657200f007027f535e6df2565
2017-10-14 19:24:02 +02:00
bechen@mozilla.com c09e4a8ee9 Bug 1183495 - part3: Remove mozSrcObject usage. r=jwwang
MozReview-Commit-ID: Gtpne3O0pBQ

--HG--
extra : rebase_source : 87544aa023e5ac079a8ae02de77e2aeab91e97cf
2017-10-20 11:23:41 +08:00
Thom Chiovoloni b367ef8b16 Bug 1404044 - Prevent android sync from failing on overlarge timestamps in password sync r=Grisha
This was done by way of hacking our vendored version of org.simple.json.

MozReview-Commit-ID: GpTFpmeevVN

--HG--
extra : rebase_source : 2a29b53919a617e2ea89d776a53a43257959bc22
2017-10-20 15:46:05 -04:00
Nevin Chen 3cbea4f6ef Bug 1409268 - Add telemetry for pwa badge and oboarding usage. r=maliu
MozReview-Commit-ID: KGB5Fn5MI4A

--HG--
extra : rebase_source : df6417f6dfbcbb578971f22e81eff9dbcc94baf4
2017-10-19 11:05:45 +08:00
Nevin Chen 7060d6c762 Bug 1409403 - Update badge icon for PWA. r=walkingice
MozReview-Commit-ID: IHaVLQ8xWPt

--HG--
extra : rebase_source : 7fbd0f40f936bf296811eb745567fca08c2f12d7
2017-10-19 20:45:31 +08:00
Nevin Chen d658fd5d7b Bug 1331290 - Refactor the code about closing all opening tabs. r=JanH,rnewman
MozReview-Commit-ID: LxcY1MyOypF

--HG--
extra : rebase_source : f783e21e6f8d47157f7269fdd957f29d950d2c31
2017-09-21 14:12:40 +08:00
Nevin Chen(:nechen) 41b31d8778 Bug 1410338 - Incorrect color for History Panel message. r=nechen
MozReview-Commit-ID: A1QmvbFt7ok

--HG--
extra : rebase_source : 8ec9b4f087e9c54a8b3587c043df844750430945
2017-10-23 12:06:21 +08:00
Nevin Chen 8411a8a121 Bug 1396714 Remove Gecko pref 'mma.enabled' r=maliu
MozReview-Commit-ID: 8CG11OS1XlL

--HG--
extra : rebase_source : 259a398a6e4b21ec15c5f61f5edceace01b5f066
2017-09-05 13:36:49 +08:00
Jing-wei Wu a811669c7f Bug 1395841 - Part 2: Support creating a shortcut from page option in menu. r=snorp
When page option 'add page shortcut' is clicked, creating a shortcut(not PWA) on launcher.
Also make sure that heavy tasks are executed in background thread.

MozReview-Commit-ID: 8KtwdXENtEd

--HG--
extra : rebase_source : 870c3f18f72b83b8033815893f3b90461fd9b1ed
2017-09-28 10:57:48 +08:00