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

30581 Коммитов

Автор SHA1 Сообщение Дата
Agi Sferro 122215de9e Bug 1567341 - Send arguments using array instead of one string in adb.py. r=firefox-build-system-reviewers,mhentges,owlish
Sending arguments in one string breaks arguments that contain a space, e.g. in
xpcshell-test.

Differential Revision: https://phabricator.services.mozilla.com/D106208
2021-03-24 21:49:37 +00:00
Agi Sferro 888d230519 Bug 1567341 - Initialize GeckoViewWebExtensions when getting extension-installed. r=esawin
When getting the *-extension-installed messages we should always notify
GeckoViewWebExtension.

This currently works because we always install the test support extension which
causes us to initialize GeckoViewWebExtension. On xpcshel tests, however, there
is no support extension so we need to account for that in GeckoViewStartup.

Differential Revision: https://phabricator.services.mozilla.com/D106319
2021-03-24 21:49:36 +00:00
Agi Sferro 04b86a5bf7 Bug 1567341 - Wait for the AddonManager to start up in GeckoViewWebExtension. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D106205
2021-03-24 21:49:35 +00:00
Agi Sferro 32e27b2a7c Bug 1567341 - Release EventDispatcher listeners on xpcom-shutdown. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D106204
2021-03-24 21:49:35 +00:00
Agi Sferro a208f94178 Bug 1567341 - Initialize SafeBrowsing in geckoview.js. r=esawin
We don't need to initialize SafeBrowsing _immediately_ at startup and we can
wait until the InitLater stage.

This has the added benefit of not crashing xpcshell-test which doesn't have
SafeBrowsing support.

Differential Revision: https://phabricator.services.mozilla.com/D106200
2021-03-24 21:49:33 +00:00
Alexandru Michis 497409d76e Backed out 24 changesets (bug 1567341) for causing xpcshell failures in test_telemetry.js
CLOSED TREE

Backed out changeset deb795c7d0ed (bug 1567341)
Backed out changeset 62d24a3e5e33 (bug 1567341)
Backed out changeset 1185cabd94e0 (bug 1567341)
Backed out changeset 73a4ae419261 (bug 1567341)
Backed out changeset b6eb111329f3 (bug 1567341)
Backed out changeset 0dc0bfedc042 (bug 1567341)
Backed out changeset 9dca635e41d7 (bug 1567341)
Backed out changeset c34928580933 (bug 1567341)
Backed out changeset f9ba384bb407 (bug 1567341)
Backed out changeset ec25c2df380e (bug 1567341)
Backed out changeset 9e8ea542b51e (bug 1567341)
Backed out changeset 3dc62863a028 (bug 1567341)
Backed out changeset 6c104f865540 (bug 1567341)
Backed out changeset c422ca4207ea (bug 1567341)
Backed out changeset e3df748ed62f (bug 1567341)
Backed out changeset 9d1f27796a97 (bug 1567341)
Backed out changeset 1d93ba23f809 (bug 1567341)
Backed out changeset 55652f6af6ed (bug 1567341)
Backed out changeset 9fb892955a88 (bug 1567341)
Backed out changeset 1cdd95c43416 (bug 1567341)
Backed out changeset 5a839d5e3e33 (bug 1567341)
Backed out changeset ea84b5749a27 (bug 1567341)
Backed out changeset dcb1ae146475 (bug 1567341)
Backed out changeset d72accc274ac (bug 1567341)
2021-03-24 23:37:43 +02:00
Agi Sferro b4dcf88b8d Bug 1567341 - Use UUID IDs for isolated processes. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D109561
2021-03-24 20:20:05 +00:00
Agi Sferro 022eeb2fac Bug 1567341 - Unbind with a busy connection before trying a new one. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D109560
2021-03-24 20:20:05 +00:00
Agi Sferro 3bd712aaa8 Bug 1567341 - Generate content process ID randomly. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D109559
2021-03-24 20:20:04 +00:00
Agi Sferro db8e80fc4e Bug 1567341 - Fix typo in removeContentConnection. r=aklotz
The code as written does not remove the connection from both
mContentConnections and mNonStartedContentConnections since && short circuits.

Since the connection is always present in mContentConnections, we just check
that.

Differential Revision: https://phabricator.services.mozilla.com/D109443
2021-03-24 20:20:04 +00:00
Agi Sferro 57b7f95b43 Bug 1567341 - Kill child process when Gecko exits. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D109442
2021-03-24 20:20:03 +00:00
Agi Sferro b6e53a5e0a Bug 1567341 - Add XpcshellTestRunnerService. r=owlish
This service, based off of TestRunnerActivity, can be used to run an
xpcshell-test instance.

It supports up to 10 concurrent instances, although we can add more if we need
to.

Local testing indicates that with more than 4 concurrent instances there's not
gain in test running performance.

This also adds a new intent action
|org.mozilla.geckoview.test.XPCSHELL_TEST_MAIN| that can be used by the test
harness to start the main application and gain foreground priority without
starting Gecko (which would interfere with the xpcshell runner services).

Differential Revision: https://phabricator.services.mozilla.com/D106212
2021-03-24 20:20:02 +00:00
Agi Sferro 5256b36255 Bug 1567341 - Allow geckoview.test to run xpcshell. r=esawin
This commit adds a new command line option |-xpcshell| that, when passed, will
run an xpcshell instead of launching a full Gecko instance.

This command line option is restricted to org.mozilla.geckoview.test for now,
as it's really hard to use and not really a usecase outside mozilla. We can
revisit this if there's interest.

Differential Revision: https://phabricator.services.mozilla.com/D106211
2021-03-24 20:20:01 +00:00
Agi Sferro 17a5705ca2 Bug 1567341 - Send arguments using array instead of one string in adb.py. r=firefox-build-system-reviewers,mhentges,owlish
Sending arguments in one string breaks arguments that contain a space, e.g. in
xpcshell-test.

Differential Revision: https://phabricator.services.mozilla.com/D106208
2021-03-24 20:20:00 +00:00
Agi Sferro 0515113457 Bug 1567341 - Initialize GeckoViewWebExtensions when getting extension-installed. r=esawin
When getting the *-extension-installed messages we should always notify
GeckoViewWebExtension.

This currently works because we always install the test support extension which
causes us to initialize GeckoViewWebExtension. On xpcshel tests, however, there
is no support extension so we need to account for that in GeckoViewStartup.

Differential Revision: https://phabricator.services.mozilla.com/D106319
2021-03-24 20:19:58 +00:00
Agi Sferro 2031c684a0 Bug 1567341 - Wait for the AddonManager to start up in GeckoViewWebExtension. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D106205
2021-03-24 20:19:58 +00:00
Agi Sferro 5a745c2b72 Bug 1567341 - Release EventDispatcher listeners on xpcom-shutdown. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D106204
2021-03-24 20:19:58 +00:00
Agi Sferro 84add96ac7 Bug 1567341 - Initialize SafeBrowsing in geckoview.js. r=esawin
We don't need to initialize SafeBrowsing _immediately_ at startup and we can
wait until the InitLater stage.

This has the added benefit of not crashing xpcshell-test which doesn't have
SafeBrowsing support.

Differential Revision: https://phabricator.services.mozilla.com/D106200
2021-03-24 20:19:56 +00:00
Agi Sferro cca95eccac Bug 1697844 - Re-enable checkstyle for org.mozilla.gecko. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D108072
2021-03-24 20:06:27 +00:00
Agi Sferro 6fa04e6d9d Bug 1697844 - Remove unused Fennec code from org.mozilla.gecko. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D108071
2021-03-24 20:06:27 +00:00
Agi Sferro 26d653d3ca Bug 1697844 - Remove unused ActivityUtils. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D108070
2021-03-24 20:06:27 +00:00
Agi Sferro 14735aa95a Bug 1697844 - Remove unused IOUtils. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D108069
2021-03-24 20:06:26 +00:00
Agi Sferro 8370647485 Bug 1697844 - Merge GeckoHalDefines in GeckoAppShell. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D108068
2021-03-24 20:06:26 +00:00
Agi Sferro 50c5621594 Bug 1697844 - Remove unused SysInfo. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D108067
2021-03-24 20:06:25 +00:00
Agi Sferro e57f4ab44a Bug 1697844 - Remove unused GeckoSharedPrefs. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D108066
2021-03-24 20:06:25 +00:00
Agi Sferro 4e73af0a82 Bug 1697844 - Remove unused StringUtils. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D108065
2021-03-24 20:06:25 +00:00
Agi Sferro 674d630320 Bug 1697844 - Remove unused FENNEC_NIGHTLY. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D108049
2021-03-24 20:06:24 +00:00
Agi Sferro 9a5a44bb58 Bug 1697844 - Remove unused Fennec telemetry code. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D108044
2021-03-24 20:06:24 +00:00
Alexandru Michis ced948f22d Backed out 10 changesets (bug 1697844) for causing mpu failures in test_visualmetrics.py
CLOSED TREE

Backed out changeset 63b3268b0d2d (bug 1697844)
Backed out changeset 875b2aa342d9 (bug 1697844)
Backed out changeset 4fb528aaf7d5 (bug 1697844)
Backed out changeset 6ef5e1c9ca21 (bug 1697844)
Backed out changeset 430d6c940eb9 (bug 1697844)
Backed out changeset 7a306f28dc64 (bug 1697844)
Backed out changeset 871a40e2fc00 (bug 1697844)
Backed out changeset 083e9ce71d14 (bug 1697844)
Backed out changeset b53930a3f065 (bug 1697844)
Backed out changeset 24326d04dd37 (bug 1697844)
2021-03-24 21:59:28 +02:00
Agi Sferro 9c99ace8f3 Bug 1697844 - Re-enable checkstyle for org.mozilla.gecko. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D108072
2021-03-24 18:54:48 +00:00
Agi Sferro fd023af94e Bug 1697844 - Remove unused Fennec code from org.mozilla.gecko. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D108071
2021-03-24 18:54:48 +00:00
Agi Sferro 5d4af28f40 Bug 1697844 - Remove unused ActivityUtils. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D108070
2021-03-24 18:54:47 +00:00
Agi Sferro ace87a181c Bug 1697844 - Remove unused IOUtils. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D108069
2021-03-24 18:54:47 +00:00
Agi Sferro a3266b72dc Bug 1697844 - Merge GeckoHalDefines in GeckoAppShell. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D108068
2021-03-24 18:54:46 +00:00
Agi Sferro e84808f52d Bug 1697844 - Remove unused SysInfo. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D108067
2021-03-24 18:54:46 +00:00
Agi Sferro 02128f12c1 Bug 1697844 - Remove unused GeckoSharedPrefs. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D108066
2021-03-24 18:54:46 +00:00
Agi Sferro 79837c7cf8 Bug 1697844 - Remove unused StringUtils. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D108065
2021-03-24 18:54:45 +00:00
Agi Sferro a6f7203643 Bug 1697844 - Remove unused FENNEC_NIGHTLY. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D108049
2021-03-24 18:54:45 +00:00
Agi Sferro 318e4fa13d Bug 1697844 - Remove unused Fennec telemetry code. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D108044
2021-03-24 18:54:44 +00:00
Nazım Can Altınova 4e8f3a2687 Bug 1699646 - Add Android device information to the profile meta object r=geckoview-reviewers,agi,gerald,julienw
Differential Revision: https://phabricator.services.mozilla.com/D109408
2021-03-24 16:56:12 +00:00
Aaron Klotz ed199e4918 Bug 1698174: Remove support for MOZ_DEBUG_*_WAIT_FOR_JAVA_DEBUGGER environment variables; r=geckoview-reviewers,agi
This is in favour of using `adb shell am set-debug-app` instead.

Differential Revision: https://phabricator.services.mozilla.com/D108977
2021-03-23 18:59:54 +00:00
Makoto Kato 3888581ee0 Bug 1694046 - Don't wait for selection event. r=geckoview-reviewers,droeh
Bug 1650705's geckoview-junit test counts the number of input event times.
It is unnecessary to wait for selection event and Gecko may not sometimes
fire selection event on input or textarea element. So use
InputConnection.setSelection directly instead of waiting for DOM event.

Differential Revision: https://phabricator.services.mozilla.com/D109354
2021-03-23 01:06:19 +00:00
Kagami Sascha Rosylight 24e9b29c8d Bug 1699707 - Remove DeviceProximityEvent and UserProximityEvent r=agi,annevk,smaug
Note that this removes `window.ondeviceproximity` and `window.onuserproximity` which unexpectedly have been exposed unconditionally.

Differential Revision: https://phabricator.services.mozilla.com/D109160
2021-03-22 18:16:16 +00:00
Agi Sferro 4869e57e24 Bug 1685556 - Put tmp dir under app cache. r=droeh
We do this so that users can clear it manually if it grows too large.

Differential Revision: https://phabricator.services.mozilla.com/D109163
2021-03-22 17:49:45 +00:00
Eitan Isaacson e2e455ad6a Bug 1697683 - Don't allow getAvailableLanguages to return null. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D109111
2021-03-22 16:30:06 +00:00
Emilio Cobos Álvarez 501a3f8567 Bug 1695338 - Tweak extension approval panel layout so that the messages are inline. r=mconley,robwu
Differential Revision: https://phabricator.services.mozilla.com/D107998
2021-03-21 17:02:10 +00:00
Cosmin Sabou 75f75ddd39 Backed out changeset c81efb7a797f (bug 1695338) for xpcshell failures on test_ext_permission_warnings.js. CLOSED TREE 2021-03-20 20:00:14 +02:00
Emilio Cobos Álvarez 79fa3042a4 Bug 1695338 - Tweak extension approval panel layout so that the messages are inline. r=mconley,robwu
Differential Revision: https://phabricator.services.mozilla.com/D107998
2021-03-20 17:22:29 +00:00
Agi Sferro 63f01b6505 Bug 1698963 - Enable FinalLocalVariableCheck. r=esawin
Patch was automatically generated by Android Studio.

Differential Revision: https://phabricator.services.mozilla.com/D108694
2021-03-19 16:47:48 +00:00
Agi Sferro f6eb2f79b8 Bug 1698823 - Don't allow null delegateController. r=aklotz,droeh
We used to support having a null delegateController because WebExtension could
be constructed from the app. Now that we can only go through the Controller we
don't need to do that anymore.

Differential Revision: https://phabricator.services.mozilla.com/D108695
2021-03-18 18:31:09 +00:00