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

25050 Коммитов

Автор SHA1 Сообщение Дата
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