Commit Graph

28703 Commits

Author SHA1 Message Date
Agi Sferro
b8bc7109bf Bug 1553515 - Wait to load a page in crashContentMultipleSessions. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32574

--HG--
extra : moz-landing-system : lando
2019-06-27 19:00:16 +00:00
Agi Sferro
593e0b54dd Bug 1553515 - Don't use reflection in ContentDelegateTest. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32573

--HG--
extra : moz-landing-system : lando
2019-06-27 19:00:14 +00:00
Andreea Pavel
8055bf446f Backed out 12 changesets (bug 1553515) android gradle failures on a CLOSED TREE
Backed out changeset 879397260d90 (bug 1553515)
Backed out changeset 7a1fb1222e52 (bug 1553515)
Backed out changeset 9a058acc45e8 (bug 1553515)
Backed out changeset 5a9d7367edb7 (bug 1553515)
Backed out changeset c4287e1c1485 (bug 1553515)
Backed out changeset a44d58f58ce4 (bug 1553515)
Backed out changeset b2b2a5d55e93 (bug 1553515)
Backed out changeset 316439eec048 (bug 1553515)
Backed out changeset ac9c129bfbcc (bug 1553515)
Backed out changeset 9fca72dc9b74 (bug 1553515)
Backed out changeset 5435965d4c04 (bug 1553515)
Backed out changeset 2889a14d1858 (bug 1553515)
2019-06-27 21:21:13 +03:00
Agi Sferro
b8e6490b77 Bug 1553515 - Make sure runtime has started before running tests. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32584

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:45 +00:00
Agi Sferro
b9b75a5400 Bug 1553515 - Replace loopUntilIdle -> waitForCondition. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32583

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:46 +00:00
Agi Sferro
4f0dfa866e Bug 1553515 - Add GeckoResult.accept. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32582

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:16 +00:00
Agi Sferro
a00eeafc7b Bug 1553515 - Add waitForCondition. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32581

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:18 +00:00
Agi Sferro
fdf7807894 Bug 1553515 - Use lambads in GeckoResultTest for readability. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32580

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:25 +00:00
Agi Sferro
4bf8f2bfd0 Bug 1553515 - Add FOREGROUND_SERVICE for CrashTest. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32579

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:27 +00:00
Agi Sferro
caf8533a75 Bug 1553515 - Never reuse session. r=snorp
Reusing sessions doesn't actually save that much time and avoids a lot of
hard-to-debug intermittents.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:29 +00:00
Agi Sferro
1edf06a611 Bug 1553515 - Use javascript to track scrolling instead of ScrollDelegate. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32577

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:30 +00:00
Agi Sferro
31a20e171a Bug 1553515 - Account for errors in PermissionDelegateTest.geolocation. r=snorp
Sometime the geolocation test fails because the position is not retrieved
quickly enough, this is OK as we're just trying to make sure that the
permission is correct.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:37 +00:00
Agi Sferro
b250f5197e Bug 1553515 - Use environment.defaultTimeoutMillis in tests. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32575

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:39 +00:00
Agi Sferro
2f98d5a07b Bug 1553515 - Wait to load a page in crashContentMultipleSessions. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32574

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:41 +00:00
Agi Sferro
c45bcc635b Bug 1553515 - Don't use reflection in ContentDelegateTest. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32573

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:43 +00:00
James Willcox
9dba3d50b6 Bug 1557510 - Handle window.open() in geckoview_example with a new tab. r=fluffyemily
Differential Revision: https://phabricator.services.mozilla.com/D34225

--HG--
extra : moz-landing-system : lando
2019-06-27 14:35:09 +00:00
Oana Pop Rus
16d0e92412 Backed out changeset 76b7becd27ac (bug 1268019) for checkstyle build bustages in GeckoAppShell.java on a CLOSED TREE 2019-06-27 11:27:53 +03:00
Brad Arant
5dd2ee009a Bug 1268019 - Return default icon for download files that do not have intent for handling.;r=VladBaicu
Depends on D34386

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

--HG--
extra : moz-landing-system : lando
2019-06-20 18:04:11 +00:00
Nick Alexander
871427c9e4 Bug 1555255 - Don't require a network connection to produce Javadoc. r=geckoview-reviewers,agi
See https://stackoverflow.com/a/24026735.

Adding the `docs` package requirement is not ideal, but it's not worth
the effort to install it only in automation (or in the relevant task),
and it's not *that* large: 1.0G on my macOS installation.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 19:58:26 +00:00
Petru Lingurar
7167c17263 Bug 1555051 - Use GeckoJarReader to read the theme image; r=VladBaicu
If the theme is persisted as an xpi we'll use GeckoJarReader to read get the
image from inside the archive otherwise read it directly.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 14:54:41 +00:00
Petru Lingurar
00a7ec139a Bug 1561245 - Add a null check for the received Intent; r=VladBaicu
According to the documentation -
https://developer.android.com/reference/android/app/Service.html
"The Intent supplied to Context.startService(Intent) may be null if the service
is being restarted after its process has gone away, and it had previously
returned anything except START_STICKY_COMPATIBILITY."

We will ignore the case when the system restarts our Service as we only expect
it to be properly started by us, in the event of a crash.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 14:52:48 +00:00
Andreea Pavel
62c0489730 Bug 1546297 - disable RuntimeSettingsTest.fontSize on pgo r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D35791

--HG--
extra : moz-landing-system : lando
2019-06-25 13:25:33 +00:00
Andreea Pavel
ee74c93244 Bug 1533934 - disabled SessionLifecycleTest.createFromParcel on pgo r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D35758

--HG--
extra : moz-landing-system : lando
2019-06-25 11:43:58 +00:00
Petru Lingurar
6e6e460616 Bug 1556083 - Resolve deadlock by using just one lock, not two; r=VladBaicu
Classic deadlock situation possible because getDatabaseHelperForProfile(..)
would lock on [PerProfileDatabase] and then try to on [GeckoProfile] while at
the same time it would be possible for another thread which already had the
[GeckoProfile] lock to call this method and so try to acquire the
[PerProfileDatabase] lock.

The simplest solution to resolve this and the one I went with is to ensure that
one of those threads will not need both locks and it turns out that the
getDatabaseHelperForProfile method can easily be refactored to use only the
GeckoProfile lock, change which would not significantly increase the block of
code synchronized with the same key.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 17:52:40 +00:00
Andrei Lazar
46f3d5ee22 Bug 1557661 java.lang.NullPointerException: at org.mozilla.gecko.home.TabMenuStripLayout.onPageSelected(TabMenuStripLayout.java) r=VladBaicu
Fixed an issue where we were trying to set some attributes on a null object due to the fact that
the view had not finished rendering.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 12:22:20 +00:00
Petru Lingurar
b49048f298 Bug 1551614 - Simpler way of restarting our app in a new process; r=VladBaicu
Our Restarter Service would have issues on Android Q:
It would run on a separate process that allowed it to kill the app's process
but when trying to restart the app it would fail because it would've been a
background Service and as such it would've been restricted from starting other
Android Application components.

To make it work on Android Q we would need to migrate it to a foreground
service or piggy-back the SYSTEM_ALERT_WINDOW permission given by the user for
the Tab Queue functionality.

The chosen solution is simpler and not affected by any of those limitations.

Depends on D35402

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

--HG--
extra : moz-landing-system : lando
2019-06-20 18:53:44 +00:00
Petru Lingurar
94080c4b79 Bug 1551614 - Call BrowserApp's onCreate() before finish(); r=VladBaicu
Fix for the following scenario:
- "Don't keep activities" checked
- Change system language

Upon detecting a locale change in BrowserApp's onCreate() we would call
finish() and then return before calling super.onCreate().

This patch introdues the call to super.onCreate() before returning and ensures
that the app will die cleanly so that upon restarting Gecko can reinit add-ons
that touch the UI.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 06:24:43 +00:00
Nils Ohlmeier [:drno]
32b81368a2 Bug 1548679: disable future downloads of OpenH264 for Fennec. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D30939

--HG--
extra : moz-landing-system : lando
2019-06-21 01:00:05 +00:00
Cosmin Sabou
19d5f52e48 Backed out 2 changesets (bug 1551614) for Android checkstyle failures. CLOSED TREE
Backed out changeset 390ec5bd9da7 (bug 1551614)
Backed out changeset ab1822f92ad7 (bug 1551614)
2019-06-20 21:44:41 +03:00
Petru Lingurar
fea8493145 Bug 1555950 - Ignore lint error for drawables used for localized Top Sites; r=VladBaicu
Depends on D34681

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

--HG--
extra : moz-landing-system : lando
2019-06-20 18:12:01 +00:00
Petru Lingurar
21dedc5b1f Bug 1555950 - Add/update Top Sites favicons; r=VladBaicu
Updated existing "suggestedsites_*" drawables to better match current websites
favicons.
Added new "suggestedsites_*" drawables that are to be used by the localized
Top Sites.
All images are added in density qualified drawable folders which based on my
testing need to range between 90x90px for mdpi to 360x360px for xxxhdpi.

Depends on D34680

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

--HG--
extra : moz-landing-system : lando
2019-06-20 18:03:07 +00:00
Petru Lingurar
6b9de44c65 Bug 1555950 - Locale changing will rebuild suggested sites lookup map; r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D34680

--HG--
extra : moz-landing-system : lando
2019-06-20 18:02:18 +00:00
Petru Lingurar
471bc82aa0 Bug 1551614 - Simpler way of restarting our app in a new process; r=VladBaicu
Our Restarter Service would have issues on Android Q:
It would run on a separate process that allowed it to kill the app's process
but when trying to restart the app it would fail because it would've been a
background Service and as such it would've been restricted from starting other
Android Application components.

To make it work on Android Q we would need to migrate it to a foreground
service or piggy-back the SYSTEM_ALERT_WINDOW permission given by the user for
the Tab Queue functionality.

The chosen solution is simpler and not affected by any of those limitations.

Depends on D35402

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

--HG--
extra : moz-landing-system : lando
2019-06-20 15:49:47 +00:00
Petru Lingurar
a75407dafb Bug 1551614 - Call BrowserApp's onCreate() before finish(); r=VladBaicu
Fix for the following scenario:
- "Don't keep activities" checked
- Change system language

Upon detecting a locale change in BrowserApp's onCreate() we would call
finish() and then return before calling super.onCreate().

This patch introdues the call to super.onCreate() before returning and ensures
that the app will die cleanly so that upon restarting Gecko can reinit add-ons
that touch the UI.

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

--HG--
extra : moz-landing-system : lando
2019-06-20 15:41:10 +00:00
Bogdan Tara
d31a26f7f4 Backed out changeset 91dc017b27e8 (bug 1554189) for MediaDelegateTest.kt related bustages CLOSED TREE 2019-06-19 10:10:28 +03:00
Csoregi Natalia
844b2d3663 Bug 1554189 - Disabled org.mozilla.geckoview.test.MediaDelegateTest.testDeviceRecordingEventAudioAndVideo on debug builds. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D35158

--HG--
extra : moz-landing-system : lando
2019-06-19 05:57:49 +00:00
Makoto Kato
1d7ac71577 Bug 1507997 - Use compositionupdate event to wait for composition text r=geckoview-reviewers,snorp
A lot of failures occurs in `org.mozilla.geckoview.test.TextInputDelegateTest.inputConnection` when getting composition string. This tests doesn't wait for `compositionupdate`, so we should listen this event to wait for updating composition string.

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

--HG--
extra : moz-landing-system : lando
2019-06-17 05:23:17 +00:00
Boris Zbarsky
7add525d55 Bug 1558735 part 2. Stop using [array] in nsIX509Cert.getEmailAddresses. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D34671

--HG--
extra : moz-landing-system : lando
2019-06-15 03:51:58 +00:00
Dorel Luca
a589b46441 Backed out changeset c48327ec2874 (bug 1554014) for Browser-chrome failures in browser/components/newtab/test/browser/browser_asrouter_targeting.js. CLOSED TREE 2019-06-15 01:20:44 +03:00
Nick Alexander
e7c693693b Bug 1557805 - Support mach run {--app,--profile,--setenv} on Android. r=gbrown
This is just a small step on the path towards support for more
vehicles via the configuration files introduced by Bug 1552519.  It's
enough to invoke GeckoView example.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 20:14:23 +00:00
Petru Lingurar
cd2679f80d Bug 1557635 - Update the Sync Onboarding screen; r=VladBaicu
With this changes we must now support 3 Onboarding versions.

With this changes we must now support 3 Onboarding versions.

Latest Onboarding UX will use a new title for the "Sync screen", new subtext,
new image and new text for the signin button.
This will be presented only if all this new Strings are localized.

Refactored the existing OnboardingStringUtil to serve as a central point of
getting the right resources to be used and querying the Onboarding UX version
the app should offer.

Added to SyncPanel the missing logic to hide the space otherwise occupied by
the Onboarding screen message, when there is no message.
(now behaving the same as the other Onboarding screens.)

Applied a lossless compression for the new sync image which resulted in a 26.5%
size reduction.

Removed the lint suppression initially necessary for when first added the
updated Sync Strings which were not used at the moment.

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

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/util/OnboardingStringUtil.java => mobile/android/base/java/org/mozilla/gecko/util/OnboardingResources.java
extra : moz-landing-system : lando
2019-06-14 17:05:33 +00:00
Thomas Wisniewski
1f8762a90e Bug 1554014 - add a webcompat intervention for TinyMCE 3.0 thru 3.4.4 to overwrite tiny_mce.js and tiny_mce_src.js such that isGecko=false; r=bzbarsky,Gijs
add a webcompat intervention for TinyMCE 3.0 thru 3.4.4 to overwrite tiny_mce.js and tiny_mce_src.js such that isGecko=false

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

--HG--
extra : moz-landing-system : lando
2019-06-13 23:36:29 +00:00
Andrew Creskey
ee27782e07 Bug 1547997 Increase android max connections from 20 to 40 r=mayhemer
The Android preferences limit network.http.max-connections to 20 (set ~7 years ago).
See https://searchfox.org/mozilla-central/rev/f8b11433159cbc9cc80500b3e579d767473fa539/mobile/android/app/mobile.js#102

By removing this preference the android builds will use the all.js android preference, now set to 40.

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

--HG--
extra : rebase_source : 3c1f9749b549119329973dda6c5c3e48e79e911e
2019-06-14 14:13:32 -04:00
Gurzau Raul
4f7014872e Backed out changeset cc09b9a55c48 (bug 1557635) for lint failure at android_strings.dtd on a CLOSED TREE.
--HG--
rename : mobile/android/base/java/org/mozilla/gecko/util/OnboardingStringsUtil.java => mobile/android/base/java/org/mozilla/gecko/util/OnboardingStringUtil.java
2019-06-14 19:02:22 +03:00
Petru Lingurar
634b95f036 Bug 1557635 - Update the Sync Onboarding screen; r=VladBaicu
With this changes we must now support 3 Onboarding versions.

Latest Onboarding UX will use a new title for the "Sync screen", new subtext,
new image and new text for the signin button.
This will be presented only if all this new Strings are localized.

Refactored the existing OnboardingStringUtil to serve as a central point of
getting the right Strings to be used and querying the Onboarding UX version the
app should offer.

Applied a lossless compression for the new sync image which resulted in a 26.5%
size reduction.

Removed the lint suppression initially necessary for when first added the
updated Sync Strings which were not used at the moment.

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

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/util/OnboardingStringUtil.java => mobile/android/base/java/org/mozilla/gecko/util/OnboardingStringsUtil.java
extra : moz-landing-system : lando
2019-06-14 12:36:39 +00:00
Brad Arant
ec45022ea2 Bug 1268019 - Fix code violation of missing braces on if code block.;r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D34386

--HG--
extra : moz-landing-system : lando
2019-06-11 07:41:38 +00:00
Karan Sapolia
3cb0a39af4 Bug 1553237 - Simplify nsISearchService.addEngineWithDetails to one signature. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D34709

--HG--
extra : moz-landing-system : lando
2019-06-13 20:35:23 +00:00
Petru Lingurar
efebb8836e Bug 1550291 - Ensure we save CRASHED status to be able to restore previous tabs; r=AndreiLazar
Default app behavior for when a crash occurs involves starting an Activity that
lets users submit a crash report and maybe provide additional info.
In the event of a crash we want to restore for the user all previous tabs, this
Activity being the component that saves the CRASHED status that will trigger
the restore process.

On Android Q, when a crash notification is posted but ignored by the user, upon
starting the app would not know it crashed and it would not try restoring tabs.
Executing the "save CRASHED status" logic whenever a crash occurs, irrespective
of if we'll show the Activity or just post a notification ensures users will
always have their previous tabs restored.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 13:26:57 +00:00
Eugen Sawin
81dd9a3a64 Bug 1559084 - [1.0] Fix wrong nsIClearDataService constant name for clearing push notifications. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D34859

--HG--
extra : moz-landing-system : lando
2019-06-13 11:17:20 +00:00
Peter Van der Beken
8b00dd9ff2 Bug 1490044 - Move all prefs used in WebIDL to StaticPrefs. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D33507

--HG--
extra : moz-landing-system : lando
2019-06-13 09:00:59 +00:00
Andrei Lazar
03013c9df0 Bug 1551458 Back button won't go back in history (Pixel 3 XL(Android 9)) r=VladBaicu
Created an exception in the key event suppression mechanism for the back button KEYCODE.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 10:36:01 +00:00
Ehsan Akhgari
caea64f895 Bug 1557872 - Add a new JS module for manipulating the Content Blocking allow list; r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D34355

--HG--
extra : source : 832579daee7c9e328d220611ab8929a1a4cf150b
2019-06-11 22:28:31 +00:00
Dorel Luca
ddbbed33a8 Backed out changeset 832579daee7c (bug 1557872) for Browser-chrome failures in browser/components/contextualidentity/test/browser/browser_aboutURLs.js. CLOSED TREE 2019-06-12 10:06:21 +03:00
Ehsan Akhgari
19f96d0e2a Bug 1557872 - Add a new JS module for manipulating the Content Blocking allow list; r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D34355

--HG--
extra : moz-landing-system : lando
2019-06-11 22:28:31 +00:00
Boris Zbarsky
9de72a3ac6 Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D34196

--HG--
extra : moz-landing-system : lando
2019-06-11 15:51:51 +00:00
Mihai Alexandru Michis
bbc8c51513 Backed out changeset 975fec3b327c (bug 1557872) for causing bc failures in browser_trackingUI_pbmode_exceptions.js CLOSED TREE 2019-06-11 19:43:07 +03:00
Ehsan Akhgari
2945c907d7 Bug 1557872 - Add a new JS module for manipulating the Content Blocking allow list; r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D34355

--HG--
extra : moz-landing-system : lando
2019-06-11 14:42:58 +00:00
Jonathan Kingston
3dd41f32a1 Bug 1557035 - Changing android hardcoded system principal session to fix tests. r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D33930

--HG--
extra : moz-landing-system : lando
2019-06-07 15:42:29 +00:00
Cosmin Sabou
22bf0df6b7 Bug 1535423 - Fix Android bustages. r=bustage-fix
--HG--
extra : rebase_source : 890c775f4e8081440c04113665d4318678e17f98
2019-06-11 01:52:01 +03:00
Andreea Pavel
9ba5553f62 Bug 1535423 - Disable PromptDelegateTest for frequent failures. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D34348

--HG--
extra : moz-landing-system : lando
2019-06-10 22:15:38 +00:00
Agi Sferro
a641bc8da0 Bug 1554260 - Send WebExtension Page messages to GeckoSession. r=snorp
WebExtension pages introduce a case that was previously not possible: a script
with full WebExtension privileges that runs on a page with a GeckoSession
associated to it.

This breaks the assumption that all messages from a privileged context don't
have a GeckoSession associated to it. We fix this by checking if we can find an
eventDispatcher for the given window.

This also fixes the test which had the same wrong assumption.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 20:09:25 +00:00
Petru Lingurar
70755e0b8c Bug 1550291 - Android Q: Use the overlay permission or a foreground notification to start the crash handler; r=VladBaicu
Android Q doesn't allow starting Activities from background.
https://developer.android.com/preview/privacy/background-activity-starts

We can either piggy-back the SYSTEM_ALERT_WINDOW permission given by the user
for the Tab Queue functionality or use a foreground notification from where
users could start `CrashReporterActivity`.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 15:52:58 +00:00
Petru Lingurar
c9f1eb41c0 Bug 1550291 - Add new "Crash handler" notification channel; r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D33028

--HG--
extra : moz-landing-system : lando
2019-06-07 08:01:46 +00:00
Boris Zbarsky
5eb248348f Bug 1557847. Stop using [array] in nsIClipboard. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D34243

--HG--
extra : moz-landing-system : lando
2019-06-09 01:06:39 +00:00
Cosmin Sabou
fc860d4bca Bug 1555662 - Follow-up: change 'l10n-registry.js' to 'l10n-registry.manifest'. r=John-Galt,gandalf
--HG--
extra : amend_source : 48cb36ee88ba34cf1ce0d137fe06a31e13035e36
2019-06-09 00:34:53 +03:00
Nicklas Boman
f293246462 Bug 1519365 - Update object property names that get passed to loadURIOptions to match the names in loadURIOptions r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D31729

--HG--
extra : moz-landing-system : lando
2019-06-08 11:04:27 +00:00
Zibi Braniecki
b4932e4709 Bug 1555662 - Register L10nRegistry sources using categories. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D34227

--HG--
extra : moz-landing-system : lando
2019-06-08 04:37:31 +00:00
Andreea Pavel
ab7673faaa Backed out 2 changesets (bug 1555662) for multiple bc failures e.g browser_panelUINotifications_multiWindow.js on a CLOSED TREE
Backed out changeset 84c57f9dda5b (bug 1555662)
Backed out changeset ede8b931ee0d (bug 1555662)
2019-06-08 03:25:28 +03:00
Zibi Braniecki
6ca89e400f Bug 1555662 - Register L10nRegistry sources using categories. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D34227

--HG--
extra : moz-landing-system : lando
2019-06-07 20:11:00 +00:00
Alvina Waseem
e40d11acc6 Bug 1533575 - Simplified GeckoSession.MediaSource.Source constants. r=droeh,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D34010

--HG--
extra : moz-landing-system : lando
2019-06-07 18:33:34 +00:00
Csoregi Natalia
f54d8331b9 Merge autoland to mozilla-central. a=merge 2019-06-07 00:51:26 +03:00
Csoregi Natalia
db63d343f2 Backed out changeset d637ee5ceb51 (bug 1552145) as per request. a=backout 2019-06-07 00:45:43 +03:00
shindli
3caa33a7ea Merge inbound to mozilla-central. a=merge 2019-06-06 12:57:52 +03:00
Andrei Teslovan
4d74397909 Bug 1556382 - Reset error message for "Find in page" after dismiss; r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D33934

--HG--
extra : moz-landing-system : lando
2019-06-06 11:57:23 +00:00
Andrei Teslovan
fdbd67ec21 Bug 1270535 - Add "undo" action when bookmark is edited or removed; r=petru
Differential Revision: https://phabricator.services.mozilla.com/D32308

--HG--
extra : moz-landing-system : lando
2019-06-06 08:50:30 +00:00
Petru Lingurar
834812f141 Bug 1557203 - AndroidQ has final APIs. Update the feature29Plus check; r=VladBaicu
With Beta4 AndroidQ now ships with final APIs so the previous check we used,
VERSION.CODENAME now returns REL instead of Q.
But final APIs means AndroidQ will not share API level 28 with AndroidP anymore
so we can finally check for Build.VERSION.SDK_INT.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 11:56:02 +00:00
arthur.iakab
94d096ca36 Merge mozilla-central to mozilla-inbound 2019-06-06 01:06:38 +03:00
Alessio Placitelli
77991a7553 Bug 1547331 - Don't initialize legacy telemetry in GeckoView. r=chutten,kmag
This changes the registration code so that categories are
still registered in the manifest (and thus not registered
in GeckoView), but the component is still always shipped.

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

--HG--
extra : moz-landing-system : lando
2019-06-05 11:03:57 +00:00
Mihai Alexandru Michis
c70fbfe90e Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-06-05 18:56:22 +03:00
Mihai Alexandru Michis
d07d090c31 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-06-05 12:59:10 +03:00
Chris Pearce
0ebe8e14ac Bug 1552145 - Change HLS seek to seek before seek target and drop frames until next keyframe. r=jya
The Java ExoPlayer that we use for HLS support on Android does an accurate
seek, that is, it seeks to the frame at the seek target. This may not be a
keyframe, which we can start decoding at. So change the HLS seek to seek 2
seconds behind the seek target, and drop all frames up to the next keyframe.
This means that after a seek the HLSDemuxer will output a keyframe, and
hopefully (but we can't guarantee of course) it will lie behind the actual seek
target.

We also need to purge the GeckoHlsVideoRenderer's queue of frames which it
is holding onto in order to determine their durations, otherwise after a seek,
we'll get output from this queue of frames. That is, after a seek we would still
get a few frames from the old playback position.

This seek case is particularly problematic as we aggressively shutdown decoders
when the media is paused, including right after the load reaches
loadedmetadata, and we need to seek in order to recover from going dormant.

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

--HG--
extra : moz-landing-system : lando
2019-06-04 22:20:49 +00:00
Makoto Kato
fc2204cf13 Bug 1556617 - Remove old mozilla.widget.* prefs from GV. r=geckoview-reviewers,esawin
`mozilla.widget.*` was used by old Fennec (Maemo/GTK2). But Android widget doesn't reference this.

### `mozilla.widget.disable-native-theme`

This preference is unused on Android widget. This is for GTK and Windows.  Reftests on Android are disabled by `layout/reftests/reftest.list`.

### `mozilla.widget.force-24bpp`

This is unused on Android. This is GTK only.

### `mozilla.widget.use-buffer-pixmap`

No one uses this preference.

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

--HG--
extra : moz-landing-system : lando
2019-06-04 14:50:27 +00:00
Will Hawkins
c5c101d201 Bug 894567: Use MemoryInfo.totalMem to get the device's total memory rather than parse /proc/meminfo. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D33549

--HG--
extra : moz-landing-system : lando
2019-06-04 19:41:06 +00:00
Gurzau Raul
e64337e9ea Bug 1556667 - disabled testSessionFilePreservation on Android 4.3 r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D33627

--HG--
extra : moz-landing-system : lando
2019-06-04 15:35:18 +00:00
Gurzau Raul
7f5536bfd0 Backed out changeset 05f1a2a0ad69 (bug 1508939) for having the wrong bug number.
--HG--
extra : rebase_source : be531ad6f9b4a545faaf5a69b4d6b92f6028ece0
2019-06-04 18:25:04 +03:00
Gurzau Raul
64e224ad30 Bug 1508939 - disabled testSessionFilePreservation on Android 4.3 r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D33627

--HG--
extra : moz-landing-system : lando
2019-06-04 15:09:06 +00:00
Emily Toop
19e416d731 Bug 1500645 - Add tabs to GeckoViewExample. r=geckoview-reviewers,droeh
This gives the ability to open multiple tabs in GeckoViewExample and switch between them. It was decided to use a single `GeckoView` and use a session manager to hold the open sessions and switch the session attached to the `GeckoView` when switching between tabs. This was a more lightweight solution than trying to maintain several `GeckoView`s each with their own session.

1. Create concept of `TabSession` that tracks `GeckoSession`s and ties them with a specific URL and title.
2. Create `TabSessionManager` that takes responsibility for opening, closing and tracking sessions.
3. Update `GeckoViewActivity` to use the session manager to set the current session on the displaying `GeckoView`.
4. Add menu items for opening and closing new tabs.
5. Create new toolbar layout to include a tabs button for displaying open sessions and allowing the user to switch between them.

Possible follow up bug: add long press menu to links on web pages to allow them to be opened in new tabs.

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

--HG--
extra : moz-landing-system : lando
2019-06-04 14:05:50 +00:00
Daniel Varga
501dbfaa80 Bug 1532404 - Disable org.mozilla.geckoview.test.MediaElementTest.webmPlayMediaFromScript on pgo and debug for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D33128

--HG--
extra : moz-landing-system : lando
2019-06-04 13:24:33 +00:00
Cosmin Sabou
6f5f3a3079 Bug 1538430 - Disable org.mozilla.geckoview.test.RuntimeSettingsTest.automaticFontSize on Android pgo for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D33398

--HG--
extra : moz-landing-system : lando
2019-06-04 12:50:10 +00:00
John Lin
ea470ed33a Bug 1555691 - handle NPE during remote codec shutdown. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D33539

--HG--
extra : moz-landing-system : lando
2019-06-03 21:16:56 +00:00
Emilio Cobos Álvarez
b6728cedb7 Bug 1553769 - Have a single way of requesting window focus and switching to a tab. r=NeilDeakin,snorp
Right now there's some duplicated code with the focus manager and the
DOMWindowFocus event.

Android didn't handle the new framefocusrequested event, so the test-cases in
bug 416771 still didn't work there.

I think using the focus manager codepath everywhere is preferable. I confirmed
manually that the stuff that sent DOMWindowFocus events still works as expected
with this patch (i.e., switching to the right tab when you click on a
notification, etc.).

This fixes it so that it works in Fennec, and it sends the focus events right in
GeckoView Example (i.e., we get here[1] properly).

The snippet that Snorp provided on IRC to implement the "bring activity to
front" stuff (`startActivity(getIntent())`) didn't actually work for me, but I
confirmed that the right message is sent when the focus is requested, and that
we get there.

[1]: https://searchfox.org/mozilla-central/rev/952521e6164ddffa3f34bc8cfa5a81afc5b859c4/mobile/android/geckoview_example/src/main/java/org/mozilla/geckoview_example/GeckoViewActivity.java#503

Depends on D32353

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

--HG--
extra : moz-landing-system : lando
2019-06-03 19:42:28 +00:00
J.C. Jones
2b5a2efa96 Bug 1555425 - Enable Web Authentication in all Fennec Android channels r=cpeterson,KevinJacobs
Disable for Geckoview, but enable for Fennec.

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

--HG--
extra : moz-landing-system : lando
2019-06-03 17:51:57 +00:00
Csoregi Natalia
dd2213799a Bug 1554117 - Disabled org.mozilla.geckoview.test.MediaElementTest.oggPlayMediaFromScript for frequent failures. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D33414

--HG--
extra : moz-landing-system : lando
2019-06-02 01:26:28 +00:00
ksenia
301f85da17 Bug 1544359 - Fixed report site issue extension: added marfeel and mobify support, fixed labels being passed to the server r=twisniewski,Gijs
Fixed report site issue: added marfeel and mobify support, fixed labels being passed to the server

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

--HG--
rename : browser/extensions/report-site-issue/test/browser/fastclick2.html => browser/extensions/report-site-issue/test/browser/fastclick.html
rename : browser/extensions/report-site-issue/test/browser/fastclick1.html => browser/extensions/report-site-issue/test/browser/frameworks.html
extra : moz-landing-system : lando
2019-06-01 19:13:26 +00:00
Bogdan Tara
df8e17d093 Backed out changeset f34d86c242ae (bug 1554117) for MediaElementTest.kt related bustages CLOSED TREE 2019-06-01 20:13:51 +03:00
Cosmin Sabou
5c96fae7db Bug 1554117 - Disable org.mozilla.geckoview.test.MediaElementTest.oggPlayMediaFromScript on Android debug && pgo for frequent failures. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D33397

--HG--
extra : moz-landing-system : lando
2019-06-01 09:03:38 +00:00
Mike Shal
e52ded1092 Bug 1553065 - Move profile-use mozconfig info into common mozconfigs; r=firefox-build-system-reviewers,chmanchester
The 3-tier PGO builds used a separate mozconfig called 'profile-use' for
the final tier. This created a problem when it rode to beta, since the
same mozconfig was used for all trees, which meant we ended up with
nightly branding on beta builds.

With the PGO-enabling logic in common mozconfigs, we can enable it by
setting the MOZ_PGO_PROFILE_USE environment variable from the task
definition. All of the final-tier PGO builds now use the nightly, beta,
etc mozconfigs like before, so branding should be intact.

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

--HG--
extra : moz-landing-system : lando
2019-05-31 23:56:16 +00:00
Cosmin Sabou
85466f08fd Backed out 2 changesets (bug 1486042) for causing crashes @ servo_arc::Arc<T>::drop_slow. CLOSED TREE
Backed out changeset 5e85998c4d97 (bug 1486042)
Backed out changeset d083a8bd98ed (bug 1486042)
2019-06-01 02:19:19 +03:00
Nathan Froyd
92be49be62 Bug 1486042 - switch all existing MOZ_LTO configs to use cross-language LTO; r=dmajor
This change is a no-op for win64 configs, as they had this feature before.

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

--HG--
extra : moz-landing-system : lando
2019-05-31 17:48:40 +00:00
Sean Feng
9be59499b0 Bug 1549519 - Add page reload telemetry probe for geckoview r=bdekoz,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D32143

--HG--
extra : moz-landing-system : lando
2019-05-30 14:37:03 +00:00
Anca Manu
968b5fb44e Bug 1371217 - Top Sites, Bookmarks & History are not centered; r=AndreiLazar
Differential Revision: https://phabricator.services.mozilla.com/D28833

--HG--
extra : moz-landing-system : lando
2019-05-31 08:37:23 +00:00
Andrea Marchesini
b1b122fb20 Bug 1554464 - Merge nsICookie2 and nsICookie in 1 single interface, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D33031

--HG--
extra : moz-landing-system : lando
2019-05-31 09:36:44 +00:00
Geoff Brown
ba8887f2da Bug 1538430 - Skip junit test automaticFontSize more forcefully; r=aryx
In this case @Ignore works where assumeThat did not.

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

--HG--
extra : moz-landing-system : lando
2019-06-05 19:14:37 +00:00
Dylan Roeh
720c714821 Bug 1555447 - Throw exceptions rather than returning 0 from GeckoProcessManager.java r=rbarker
Differential Revision: https://phabricator.services.mozilla.com/D33705

--HG--
extra : moz-landing-system : lando
2019-06-05 16:43:03 +00:00
Matthew Noorenberghe
b57a900dc2 Bug 1148205 - Replace misnamed formSubmitURL and hostname properties on nsILoginInfo in mobile/. r=Grisha
Differential Revision: https://phabricator.services.mozilla.com/D33349

--HG--
extra : moz-landing-system : lando
2019-06-05 04:00:09 +00:00
Jonathan Watt
098392f093 Bug 1552785. Remove internal code for various frameset printing behaviors. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D33624

--HG--
extra : rebase_source : 336e87a05970895684602c9db3e5222918f861c8
extra : source : 98fbf1ed617549496036099b5aee333aa6b29925
2019-05-21 16:01:34 +01:00
Karan Sapolia
7b96f9e12f Bug 1556804 - Change callers of addTestEngines to use objects for details rather than an array. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D33798

--HG--
extra : moz-landing-system : lando
2019-06-06 11:35:12 +00:00
Nazım Can Altınova
91197b28a2 Bug 1552286 - Move back GeckoJavaSampler to GeckoView and enable for it and fennec r=nalexander,gerald
Bug 1303806 moved `GeckoJavaSampler` to be Fennec-only as part of a general push
to slim GeckoView down.  But there is no reason to restrict to Fennec and it is useful
for other non-Fennec GeckoView vehicles.

This patch moves the `GeckoJavaSampler` inside `geckoview` and changes profiler
code to make Java sampling work in both GeckoView and Fennec.

Depends on D33522

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

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/GeckoJavaSampler.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoJavaSampler.java
extra : moz-landing-system : lando
2019-06-05 10:58:47 +00:00
Nazım Can Altınova
62d3f06e55 Bug 1552286 - Fix Checkstyle errors on GeckoJavaSampler r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D33522

--HG--
extra : moz-landing-system : lando
2019-06-05 10:58:28 +00:00
shindli
c9ee4bb3ac Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : testing/web-platform/tests/referrer-policy/generic/iframe-inheritance.html => testing/web-platform/tests/referrer-policy/generic/inheritance/iframe-inheritance-data.html
rename : testing/web-platform/tests/referrer-policy/generic/iframe-inheritance.html => testing/web-platform/tests/referrer-policy/generic/inheritance/iframe-inheritance-srcdoc.html
2019-06-06 13:51:59 +03:00
Boris Zbarsky
223721a61e Bug 1557237. Stop using [array] in nsIPrompt and nsIPromptService. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D33909

--HG--
extra : moz-landing-system : lando
2019-06-06 08:03:56 +00:00
diana.iacos
66a7ddb52a Bug 1487013 - The new folder created doesn't have any title; r=petru
Differential Revision: https://phabricator.services.mozilla.com/D33786

--HG--
extra : moz-landing-system : lando
2019-06-05 15:28:10 +00:00
Cameron McCormack
683a4bd65a Bug 1555543 - Adjust scrollbar-apz.css rule so it applies to all scrollbar elements. r=kats
Currently it won't match scrollbar elements in HTML documents where the
root element has been switched out for something other than <html>, or
in shadow trees.

Also, move the rule into content.css now that we no longer switch
between apz and non-apz versions of this file.

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

--HG--
extra : moz-landing-system : lando
2019-05-31 02:10:25 +00:00
Nick Alexander
0886f39ee6 Bug 1508976 - Post: Don't include architecture in multi-architecture GeckoView artifactId. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D15772

--HG--
extra : moz-landing-system : lando
2019-05-30 15:22:19 +00:00
Nick Alexander
5893476bdb Bug 1508976 - Produce a multi-architecture GeckoView "fat AAR". r=glandium
This follows the model set down for EME artifacts:

- a new tier is added that uses a new Python build action to fetch and
  artifacts
- the action unpacks the fetched artifacts and moves specific inputs
  into places expected by the build and packager
- in automation, MOZ_ARTIFACT_TASK* is used to ensure the artifacts
  come from the correct tasks

In this case, the artifact fetching is done entirely in a new Python
build action that internally uses `mach artifact install --job ...`.
The action also verifies that the fetched artifacts are compatible and
that we're not assembling a fat AAR that is nonsensical.  The specific
inputs are not used in the Fennec APK that is produced; they're only
used in the GeckoView AAR that is produced.

The artifact fetching itself required tweaking to fetch only
`target.maven.zip` artifacts and to not unpack them.

The specific inputs used are the native libraries (libs/$ARCH/*.so)
and the architecture-specific preference files ($ARCH/greprefs.js and
defaults/pref/$ARCH/geckoview-prefs.js).  None of these inputs are
impacted by l10n.

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

--HG--
extra : moz-landing-system : lando
2019-05-30 15:22:09 +00:00
Andrea Marchesini
4c6ace6ac6 Bug 1551798 - Rename nsICookie2.SAMESITE_UNSET to nsICookie2.SAMESITE_NONE, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D31214

--HG--
extra : moz-landing-system : lando
2019-05-29 15:55:03 +00:00
Emily Toop
ea055cda5b Bug 1554693 - Remove unused constants. r=geckoview-reviewers,snorp
This was caused by a rebasing error that was missed.

Depends on D32830

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

--HG--
extra : moz-landing-system : lando
2019-05-29 14:57:15 +00:00
Emily Toop
da9b93a7f1 Bug 1554778 - Fetch dispatcher at the beginning of handleRecordingDeviceEvents. r=geckoview-reviewers,snorp
This is because in some circumstances, when navigating away from a page, the dispatcher is no longer present when trying to send the `GeckoView:MediaRecordingStatusChanged` causing the message not to be sent. Fetching the dispatcher earlier ensures that it is present at the point of message sending.

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

--HG--
extra : moz-landing-system : lando
2019-05-29 14:57:03 +00:00
Agi Sferro
3e697afbcb Bug 1553515 - Call geckoview.startup on DOMContentLoaded. r=geckoview-reviewers,snorp
Believe it or not this helps with getting PageStop events more reliably.

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

--HG--
extra : moz-landing-system : lando
2019-05-29 15:11:04 +00:00
arthur.iakab
944263f18a Backed out 5 changesets (bug 1551798) for multiple build bustages on StaticPrefList.h CLOSED TREE
Backed out changeset c89daff34d97 (bug 1551798)
Backed out changeset bbc3f88b8c03 (bug 1551798)
Backed out changeset b87996b8a411 (bug 1551798)
Backed out changeset d88b0002d736 (bug 1551798)
Backed out changeset 0fe740c90e2b (bug 1551798)
2019-05-29 18:07:26 +03:00
Andrea Marchesini
e9bbb85ed1 Bug 1551798 - Rename nsICookie2.SAMESITE_UNSET to nsICookie2.SAMESITE_NONE, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D31214

--HG--
extra : moz-landing-system : lando
2019-05-24 15:18:49 +00:00
Ehsan Akhgari
4cb428d268 Bug 1555205 - Move db/sqlite3 to third_party/; r=mak
Differential Revision: https://phabricator.services.mozilla.com/D32939

--HG--
rename : db/sqlite3/README => third_party/sqlite3/README
rename : db/sqlite3/README.MOZILLA => third_party/sqlite3/README.MOZILLA
rename : db/sqlite3/src/moz.build => third_party/sqlite3/src/moz.build
rename : db/sqlite3/src/sqlite.symbols => third_party/sqlite3/src/sqlite.symbols
rename : db/sqlite3/src/sqlite3.c => third_party/sqlite3/src/sqlite3.c
rename : db/sqlite3/src/sqlite3.h => third_party/sqlite3/src/sqlite3.h
extra : moz-landing-system : lando
2019-05-29 10:16:29 +00:00
Tom Ritter
ff200aa350 Bug 1539595 - Create a separate content process type for privleged mozilla content r=nika,flod
Differential Revision: https://phabricator.services.mozilla.com/D30276

--HG--
rename : browser/base/content/test/general/browser_e10s_about_page_triggeringprincipal.js => browser/base/content/test/tabs/browser_e10s_about_page_triggeringprincipal.js
rename : browser/base/content/test/general/browser_e10s_about_process.js => browser/base/content/test/tabs/browser_e10s_about_process.js
rename : browser/base/content/test/general/browser_e10s_chrome_process.js => browser/base/content/test/tabs/browser_e10s_chrome_process.js
rename : browser/base/content/test/general/browser_e10s_javascript.js => browser/base/content/test/tabs/browser_e10s_javascript.js
rename : browser/base/content/test/general/browser_e10s_switchbrowser.js => browser/base/content/test/tabs/browser_e10s_switchbrowser.js
rename : browser/base/content/test/general/file_about_child.html => browser/base/content/test/tabs/file_about_child.html
rename : browser/base/content/test/general/file_about_parent.html => browser/base/content/test/tabs/file_about_parent.html
rename : browser/base/content/test/general/test_process_flags_chrome.html => browser/base/content/test/tabs/test_process_flags_chrome.html
extra : moz-landing-system : lando
2019-05-29 11:31:50 +00:00
diana.iacos
8710fd9939 Bug 1555044 - Update Onboarding's Sync screen text; r=petru
Because the news strings are unused we need to add them in lint.xml as UnusedResources.
The suppress will be removed it in a future patch.

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

--HG--
extra : moz-landing-system : lando
2019-05-29 10:55:32 +00:00
Andrei Lazar
548ca382a5 Bug 1371618 Pop-ups not displayed if never show checkbox left unmarked r=johannh,petru
Added the missing data to the UpdateBlockedPopups event fired from PopupBlockingChild component.

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

--HG--
extra : moz-landing-system : lando
2019-05-29 09:46:39 +00:00
Matthew Noorenberghe
328093cc71 Bug 1166113 - Use the autocomplete result GUID to fill the correct password. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D32914

--HG--
extra : moz-landing-system : lando
2019-05-29 08:08:47 +00:00
Brad Arant
b091c956c1 Bug 1538270 - Removal of extra space at end of message.;r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D32411

--HG--
extra : moz-landing-system : lando
2019-05-27 19:23:58 +00:00
Nick Alexander
f0748df614 Bug 1554256 - Read GeckoView configuration file in release builds when package is the current Android "debug-app". r=geckoview-reviewers,snorp
Bug 1533385 taught GeckoView to read configuration from a file. But
right now, release APKs don't read that configuration: see the
documentation at See
https://mozilla.github.io/geckoview/tutorials/automation.html#enabling-reading-configuration-from-a-file-for-release-builds.
However, Android has a flag -- the "debug_app" flag -- that Chrome
uses to control this configuration file behaviour, and this commit
makes GeckoView uses that flag as well.

To use this, invoke `adb shell am set-debug-app --persistent PACKAGE`
(see https://developer.android.com/studio/command-line/adb).

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

--HG--
extra : moz-landing-system : lando
2019-05-28 22:08:41 +00:00
chrmod
aa9e661a42 Bug 1551377 - GeckoView unique tab id r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D32824

--HG--
extra : moz-landing-system : lando
2019-05-28 16:54:40 +00:00
Oana Pop Rus
ac6f9d6c71 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-29 01:09:35 +03:00
Oana Pop Rus
bb39524dc6 Merge inbound to mozilla-central. a=merge 2019-05-29 00:48:04 +03:00
Sebastian Hengst
fba75a919c Backed out 4 changesets (bug 1539595) for build bustage in nsAboutRedirector.cpp. CLOSED TREE
Backed out changeset 2b0bb889b087 (bug 1539595)
Backed out changeset 95f0b82ec253 (bug 1539595)
Backed out changeset 6310e6dabceb (bug 1539595)
Backed out changeset ba3e353c6957 (bug 1539595)

--HG--
rename : browser/base/content/test/tabs/browser_e10s_about_page_triggeringprincipal.js => browser/base/content/test/general/browser_e10s_about_page_triggeringprincipal.js
rename : browser/base/content/test/tabs/browser_e10s_about_process.js => browser/base/content/test/general/browser_e10s_about_process.js
rename : browser/base/content/test/tabs/browser_e10s_chrome_process.js => browser/base/content/test/general/browser_e10s_chrome_process.js
rename : browser/base/content/test/tabs/browser_e10s_javascript.js => browser/base/content/test/general/browser_e10s_javascript.js
rename : browser/base/content/test/tabs/browser_e10s_switchbrowser.js => browser/base/content/test/general/browser_e10s_switchbrowser.js
rename : browser/base/content/test/tabs/file_about_child.html => browser/base/content/test/general/file_about_child.html
rename : browser/base/content/test/tabs/file_about_parent.html => browser/base/content/test/general/file_about_parent.html
rename : browser/base/content/test/tabs/test_process_flags_chrome.html => browser/base/content/test/general/test_process_flags_chrome.html
rename : browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js => browser/base/content/test/tabs/browser_new_tab_in_privileged_process_pref.js
2019-05-28 19:49:17 +02:00
Tom Ritter
21a98d921b Bug 1539595 - Create a separate content process type for privleged mozilla content r=nika,flod
Differential Revision: https://phabricator.services.mozilla.com/D30276

--HG--
rename : browser/base/content/test/general/browser_e10s_about_page_triggeringprincipal.js => browser/base/content/test/tabs/browser_e10s_about_page_triggeringprincipal.js
rename : browser/base/content/test/general/browser_e10s_about_process.js => browser/base/content/test/tabs/browser_e10s_about_process.js
rename : browser/base/content/test/general/browser_e10s_chrome_process.js => browser/base/content/test/tabs/browser_e10s_chrome_process.js
rename : browser/base/content/test/general/browser_e10s_javascript.js => browser/base/content/test/tabs/browser_e10s_javascript.js
rename : browser/base/content/test/general/browser_e10s_switchbrowser.js => browser/base/content/test/tabs/browser_e10s_switchbrowser.js
rename : browser/base/content/test/general/file_about_child.html => browser/base/content/test/tabs/file_about_child.html
rename : browser/base/content/test/general/file_about_parent.html => browser/base/content/test/tabs/file_about_parent.html
rename : browser/base/content/test/general/test_process_flags_chrome.html => browser/base/content/test/tabs/test_process_flags_chrome.html
extra : moz-landing-system : lando
2019-05-28 14:18:23 +00:00
Brad Arant
f8c1d206ce Bug 1524868 - StartActivity must be called from Activity context and not Application context.;r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D32481

--HG--
extra : moz-landing-system : lando
2019-05-24 15:11:23 +00:00
Kris Maglione
680528af69 Bug 1551183: Part 1 - Add SCOPE_APPLICATION to enabledScopes for Fennec. r=aswan
This scope now controls add-ons bundled in omni.ja as well as those in the app
directory, so we need to enable it on Fennec in order for the default theme to
work.

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

--HG--
extra : rebase_source : 3dd7ddec5b73e41dc385e60f2e8f8ce36db5be1b
2019-05-22 14:30:40 -07:00
Adam Orban
2751328797 Bug 1179266 - [Tablet] Fix Android L "share" list item in long press context menu; r=petru
Fix padding for mdpi tablets

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

--HG--
rename : mobile/android/app/src/main/res/values-sw720dp-v21/dimens.xml => mobile/android/app/src/main/res/values-sw600dp-v21/dimens.xml
rename : mobile/android/app/src/main/res/values-sw720dp/dimens.xml => mobile/android/app/src/main/res/values-sw600dp/dimens.xml
extra : moz-landing-system : lando
2019-05-28 07:21:34 +00:00
Petru Lingurar
00c7fb358e Bug 1547924 - Ensure Leanplum Onboarding falls back to the new Onboarding UX; r=VladBaicu
Summary:
- Added the `LAST_PRIVACY` case for when the user is already signed into Firefox;
- Use the new default onboarding strings and images. If they are localized.

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

--HG--
extra : rebase_source : a16820dd1da8885e4479a81f200f29ce994aeb3e
extra : source : 45002329fc202fd4783b5dd834235009be31970c
2019-04-30 16:43:46 +03:00
Eugen Sawin
52bea1fda2 Bug 1553454 - [1.1] Only enable handling of CLEAR_HISTORY when Places is supported. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D32473

--HG--
extra : moz-landing-system : lando
2019-05-27 11:09:50 +00:00
Sebastian Hengst
11a4dfbcd7 Bug 1543355 - Move early return in org.mozilla.geckoview.test.ContentDelegateTest.download on Android pgo to start of test to avoid timeouts. a=move-of-test-disabling 2019-05-27 14:31:04 +02:00
diana.iacos
15ff313e56 Bug 1553474 - "Remove bookmark" option is displayed for pages that were not bookmarked; r=petru
Differential Revision: https://phabricator.services.mozilla.com/D32664

--HG--
extra : moz-landing-system : lando
2019-05-27 07:43:43 +00:00
Liang-Heng Chen
9ff316fe67 Bug 1330467 - part 9. Use principal with mobile permissions; r=johannh,snorp
Differential Revision: https://phabricator.services.mozilla.com/D19930

--HG--
extra : moz-landing-system : lando
2019-05-26 17:00:54 +00:00
Emily Toop
454438c657 Bug 1549633- Update GeckoViewExample to show new MediaDelegate recording device status handling. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D31073

--HG--
extra : moz-landing-system : lando
2019-05-24 07:45:48 +00:00
Emily Toop
f00e577132 Bug 1549633 - Enable listening for recording-device-events. r=esawin,geckoview-reviewers,snorp
This is to allow us to detect the enabling and disabling of recording so that we can notify the embedding application of the change in status.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 07:45:41 +00:00
Nathan Froyd
93a44ee14e Bug 1553972 - make --with-pgo-profile-path take a directory; r=nalexander
e10s profiling or IR-based PGO instrumentation will both produce
multiple `.profraw` files that need to be handled in some way.  Since
clang's `-fprofile-generate` option takes a directory, it seems fitting
to make `--with-pgo-profile-path` mirror that by taking a directory, and
letting `merge_profdata.py` deal with whatever files it might find in
said directory.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 01:53:59 +00:00
Sylvestre Ledru
993c03acb1 Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D31769

--HG--
extra : moz-landing-system : lando
2019-05-22 22:37:14 +00:00
Petru Lingurar
f2f3601226 Bug 1511839 - Return the generated file if the camera result has "inline-data" action; r=VladBaicu
Handle the case when Camera would actually save a new photo but would return
just a thumbnail and not the full image
33c59af04a/src/com/android/camera/PhotoModule.java (L1345-L1371)

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

--HG--
extra : moz-landing-system : lando
2019-05-23 12:17:34 +00:00
Emilio Cobos Álvarez
25a7ac45cc Bug 1553772 - Bug 1549812 - fix testAccessibleCarets.js to account for more async event dispatching. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D32194

--HG--
extra : moz-landing-system : lando
2019-05-23 09:47:00 +00:00
Sebastian Hengst
2dfd6c88d0 Bug 1543387 - Ignore initial about:blank load when restoring scroll position: add missing semicolon. CLOSED TREE
--HG--
extra : amend_source : fcb1b376a2d232ec585d33e014c4c7d6ed39a212
2019-05-23 00:20:31 +02:00
Eugen Sawin
c0069258a0 Bug 1489669 - [1.4] Add Storage Controller API. r=baku,snorp
Differential Revision: https://phabricator.services.mozilla.com/D32153

--HG--
extra : moz-landing-system : lando
2019-05-22 20:21:09 +00:00
Nick Alexander
0f10c34f1d Bug 1533051 - Package greprefs.js and geckoview-prefs.js at architecture-specific paths for Android fat AAR/GeckoView multi-architecture builds. r=glandium
Bug 1533425 makes Gecko try to load from $ARCH/greprefs.js, etc on
Android.  This patch teaches the packager to put certain preferences
into those architecture-specific locations for that code to find.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 18:27:11 +00:00
Dylan Roeh
54ce8c8653 Bug 1543387 - Ignore initial about:blank load when restoring scroll position. r=snorp
When restoreState is called early in a GeckoSession's life, the scroll position restore code can catch the pageshow event for the initial about:blank load rather than for the page being restored, resulting in a failure to restore scroll position.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 16:53:07 +00:00
Agi Sferro
6994cf11f2 Bug 1553371 - Load chrome frameScripts when switching processes. r=snorp
Whenever we switch processes in GeckoView we didn't inject frameScripts.

This change adds a new method `loadInitFrameScript` that is called whenever a
module's new browser is attached to a window so that the frame script is loaded
correctly into the new browser.

This fixes a bug in WebExtension pages where the WebExtension Process Script
would never be notified of a new WebExtension page window, breaking privileged
APIs.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 19:20:54 +00:00
Agi Sferro
92c0a96191 Bug 1553371 - Load moz-extension pages in extension principal. r=snorp
WebExtension can always open their respective WebExtension pages even when the
WebExtension page is not content accessible.

However, this is not true for `tabs.update`, which couldn't link to
WebExtension pages at all.

Similarly, a user should be able to open a WebExtension page directly by typing
the URL.

To fix the above problems we pass the correct `triggeringPrincipal` when
loading such URIs. This change also makes URI typed by the user not use the
`systemPrincipal` anymore but a more restrictive codebase principal local to
the page that's being typed to avoid unintended side-effects. This also makes
the triggering URI always the page for these privileged pages, so we need to
adjust some tests to account for that by loading unprivileged `http` pages
instead.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 19:20:54 +00:00
Andrei Lazar
f8a8149014 Bug 1552535 Ci.nsIScriptSecurityManager.NO_APP_ID / UNKNOWN_APP_ID are undefined r=VladBaicu
Removed variable that resolved to undefined.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 13:11:39 +00:00
Michal Novotny
9358f2191e Bug 1553166 - Android browser.cache.disk.max_entry_size is too restrictive, r=valentin
We no longer use small cache on mobile, so such small max_entry_size is inadequate.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 11:23:44 +00:00
Brad Arant
aa3dd59877 Bug 1538270 - Show toast for default file picker when permissions denied.;r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D32073

--HG--
extra : moz-landing-system : lando
2019-05-22 09:10:45 +00:00
Eitan Isaacson
cb019e769a Bug 1553304 - Use APZC for accessibility scroll action on root node. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D32062

--HG--
extra : moz-landing-system : lando
2019-05-21 21:38:57 +00:00
Thomas Wisniewski
74b6b6997d Bug 1551672 - add a site patch to fix PDK video player versions that are broken on Fennec; r=denschub,aswan
add a site patch to fix PDK video player versions that are broken on Fennec

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

--HG--
extra : moz-landing-system : lando
2019-05-21 16:16:33 +00:00
diana.iacos
967d1baf46 Bug 1533365 - On tablets the icon from Sync page its not displayed correctly; r=petru
Differential Revision: https://phabricator.services.mozilla.com/D31963

--HG--
extra : moz-landing-system : lando
2019-05-21 08:20:55 +00:00
Ran Xu
30d5c2a4db Bug 1547184 - Remove taobao in android search plugins r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D28945

--HG--
extra : moz-landing-system : lando
2019-05-21 04:54:31 +00:00
Brendan Dahl
543c10a1d2 Bug 1551320 - Replace all CreateElement calls in XUL documents with CreateXULElement. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D31295

--HG--
extra : moz-landing-system : lando
2019-05-20 16:50:28 +00:00
J.C. Jones
0195fbe70b Bug 1552601 - Annotate WebAuthn reflection methods as @ReflectionTarget r=nalexander
A Proguard update in Bug 1550596 optimized away the WebAuthn methods, but
there's a convenient ReflectionTarget defined to say 'hey, don't do that.'

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

--HG--
extra : moz-landing-system : lando
2019-05-18 03:18:20 +00:00
Nick Alexander
ec2255472a Bug 1521996 - Part 3: Make mach run for Android bring Fennec forward by default. r=gbrown
`mach run` as it is doesn't really parallel `mach run` on Desktop;
this makes it a little closer more fully featured.  The underlying
functionality is all there in layers of mozharness; let's make it
easier to get to.

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

--HG--
extra : moz-landing-system : lando
2019-05-17 22:21:20 +00:00
Nick Alexander
3dd3a36ec4 Bug 1521996 - Part 2: Specialize mach {run,install} for Android. r=ahal,gbrown
This just separates out the Android definitions into
mobile/android/mach_commands.py.  There was vestigial support for
running on Android with debuggers, but it was for wiring up JimDB,
which is no longer supported and in fact hasn't worked on actual
devices for a very long time.  (The new flow for running on Android
under a debugger goes through the Android Studio hybrid debugger.)

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

--HG--
extra : moz-landing-system : lando
2019-05-17 21:40:15 +00:00
J.C. Jones
faca948234 Bug 1551229 - Make it easier to test Android WebAuthn in local builds r=keeler
Depends on D31360

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

--HG--
extra : source : 31953bf83dfd9710390419a006d41c51ff61b101
2019-05-16 17:37:35 +00:00
J.C. Jones
8d663042b9 Bug 1552539 - Refactor Android WebAuthn methods to use more GeckoBundles r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D31636

--HG--
extra : moz-landing-system : lando
2019-05-17 18:36:01 +00:00
Bogdan Tara
bf7f3e19e9 Backed out changeset 31953bf83dfd (bug 1551229) for Bugzilla lint failuires CLOSED TREE 2019-05-17 23:10:22 +03:00
J.C. Jones
d685b2cdfd Bug 1551229 - Make it easier to test Android WebAuthn in local builds r=keeler
Depends on D31360

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

--HG--
extra : moz-landing-system : lando
2019-05-16 17:37:35 +00:00
Matthew Finkel
15773980e5 Bug 1478438 - Delete unused confvars entries on Android r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D31421

--HG--
extra : moz-landing-system : lando
2019-05-17 16:37:35 +00:00
Matthew Finkel
86bff4d747 Bug 1480877 - Only add RECEIVE_BOOT_COMPLETED Android permission with Stumbler r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D31525

--HG--
extra : moz-landing-system : lando
2019-05-17 07:38:54 +00:00
Agi Sferro
1324e8b036 Bug 1550877 - Use correct E10SUtils in GeckoViewNavigation. r=snorp
This fixes a crash in `browser.tabs.update` when used with WebExtension pages.

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

--HG--
extra : moz-landing-system : lando
2019-05-17 13:43:44 +00:00
Agi Sferro
b6a082b167 Bug 1552328 - Add missing unregisterListener in GeckoViewProgress. r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D31538

--HG--
extra : moz-landing-system : lando
2019-05-17 13:43:44 +00:00
Mihai Alexandru Michis
97df17e745 Backed out 11 changesets (bug 1330467) as requested by xeonchen on IRC. CLOSED TREE
Backed out changeset 0229d5353d50 (bug 1330467)
Backed out changeset 2f2308fe5747 (bug 1330467)
Backed out changeset 2cd09bae2bdf (bug 1330467)
Backed out changeset 2648f5bb1804 (bug 1330467)
Backed out changeset 4686eebd8962 (bug 1330467)
Backed out changeset b43fa07d5756 (bug 1330467)
Backed out changeset 35d96a4ff659 (bug 1330467)
Backed out changeset 6ac44130d2bb (bug 1330467)
Backed out changeset f939c61e051f (bug 1330467)
Backed out changeset 0ae215d91758 (bug 1330467)
Backed out changeset 1d48bdbb4035 (bug 1330467)
2019-05-17 16:19:06 +03:00
Narcis Beleuzu
ac51017892 Backed out 2 changesets (bug 1550877, bug 1552328) for causing perma geckoview-junit failures on contentPortDisconnectFromApp
Backed out changeset 877ae9359a27 (bug 1550877)
Backed out changeset aee7bbc03bff (bug 1552328)
2019-05-17 10:50:50 +03:00
Agi Sferro
bdf3d1a97c Bug 1550877 - Use correct E10SUtils in GeckoViewNavigation. r=snorp
This fixes a crash in `browser.tabs.update` when used with WebExtension pages.

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

--HG--
extra : moz-landing-system : lando
2019-05-17 04:10:53 +00:00
Agi Sferro
432633e493 Bug 1552328 - Add missing unregisterListener in GeckoViewProgress. r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D31538

--HG--
extra : moz-landing-system : lando
2019-05-17 04:11:29 +00:00
arthur.iakab
90e3810429 Backed out 2 changesets (bug 1549855) for failing Android mochitests on robocop_text_page.html CLOSED TREE
Backed out changeset 928038c23227 (bug 1549855)
Backed out changeset 9383ea5938fe (bug 1549855)
2019-05-17 02:06:35 +03:00
J.C. Jones
21b9fb5c7d Bug 1551342 - Don't assert the thread calling JNI WebAuthn functions r=snorp
The mozilla::java::WebAuthnTokenManager asserts its return-to-C++ callbacks as
being run on the main Android UI thread, but since these methods are called
directly from the Fido2PendingIntent listeners, there's no guarantee of that.
We don't actually care what thread was tasked with returning us data, just that
it gets done, so let's not assert the thread here.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 19:08:15 +00:00
Matt Brubeck
246448a05a Bug 1543823 - Compute Accept-Language header based on app and OS prefs. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D30946

--HG--
extra : moz-landing-system : lando
2019-05-13 20:52:10 +00:00
Gijs Kruitbosch
95d90b94d2 Bug 1549855 - remove references to e10s force-enable pref that is no longer used, r=ato,snorp,eeejay
Differential Revision: https://phabricator.services.mozilla.com/D31417

--HG--
extra : moz-landing-system : lando
2019-05-16 16:21:56 +00:00
Adam Orban
948ce99bd1 Bug 1179266 - [Tablet] Fix Android L "share" list item in long press context menu; r=petru
Differential Revision: https://phabricator.services.mozilla.com/D31392

--HG--
extra : moz-landing-system : lando
2019-05-16 06:47:23 +00:00
Botond Ballo
f638ab1178 Bug 1552040 - Make layout.scroll.root-frame-containers a regular (not override) pref. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D31350

--HG--
extra : moz-landing-system : lando
2019-05-16 01:07:41 +00:00
Imanol Fernandez
2076c0d6d2 Bug 1544584 - Make it possible to remove android.speech dependencies using Proguard r=snorp,rbarker,eeejay
Some minor refactor to make it possible to remove android.speech dependencies using Proguard

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

--HG--
extra : moz-landing-system : lando
2019-05-16 01:05:01 +00:00
Dorel Luca
f8c68f3fd8 Backed out changeset b60e7b3407b3 (bug 1544584) for Android Checkstyle in /builds/worker/workspace/build/src/mobile/android/geckoview/src/main/java/org/mozilla/gecko/SpeechSynthesisService.java 2019-05-16 03:18:35 +03:00
Imanol Fernandez
d9bc4e00c7 Bug 1544584 - Make it possible to remove android.speech dependencies using Proguard r=snorp,rbarker,eeejay
Some minor refactor to make it possible to remove android.speech dependencies using Proguard

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

--HG--
extra : moz-landing-system : lando
2019-05-15 19:56:43 +00:00
Randall E. Barker
a9d1bb817c Bug 1551988 - Move util classes not used in GeckoView into Fennec r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D31324

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/ActivityResultHandler.java => mobile/android/base/java/org/mozilla/gecko/util/ActivityResultHandler.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/ActivityResultHandlerMap.java => mobile/android/base/java/org/mozilla/gecko/util/ActivityResultHandlerMap.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/InputOptionsUtils.java => mobile/android/base/java/org/mozilla/gecko/util/InputOptionsUtils.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/JSONUtils.java => mobile/android/base/java/org/mozilla/gecko/util/JSONUtils.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/MapUtils.java => mobile/android/base/java/org/mozilla/gecko/util/MapUtils.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/MenuUtils.java => mobile/android/base/java/org/mozilla/gecko/util/MenuUtils.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/PrefUtils.java => mobile/android/base/java/org/mozilla/gecko/util/PrefUtils.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/WindowUtils.java => mobile/android/base/java/org/mozilla/gecko/util/WindowUtils.java
extra : moz-landing-system : lando
2019-05-15 19:12:53 +00:00
Vlad Baicu
32c011ff8e Bug 1534451 - Send Mobile Activation Telemetry ping. r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D29668

--HG--
extra : moz-landing-system : lando
2019-05-15 14:00:12 +00:00
Boris Zbarsky
fe64901ac4 Bug 1551657 part 5. Stop using [array] in promptToChangePasswordWithUsernames. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D31121

--HG--
extra : moz-landing-system : lando
2019-05-14 19:33:21 +00:00
Boris Zbarsky
47a701ff47 Bug 1551657 part 3. Stop using [array] in findLogins. r=MattN
I audited the results from
https://searchfox.org/mozilla-central/search?q=%5B%5EA-Za-z_%5D%5BFf%5DindLogins%5B%5EA-Za-z_%5D&case=true&regexp=true&path=

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

--HG--
extra : moz-landing-system : lando
2019-05-14 19:28:52 +00:00
Petru Lingurar
55e7536f9a Bug 1537701 - Update SSL ciphers and protocols for Android Q; r=mt
Added the new Android API 29+ ciphers
https://developer.android.com/reference/javax/net/ssl/SSLEngine#cipher-suites
and also added TLSv1.3
https://developer.android.com/reference/javax/net/ssl/SSLEngine#protocols

Will prefer ChaCha20-Poly1305 which is fastest, thoroughly vetted and battle tested -
https://blog.cloudflare.com/do-the-chacha-better-mobile-performance-with-cryptography/

Beside the new additions will still keep support for previous TLSv1.2 and already
used ciphers still compatible with Android Q while favoring the 128 versions.

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

--HG--
extra : moz-landing-system : lando
2019-05-14 13:09:22 +00:00
shindli
ab107cf77e Backed out changeset 6ff9d6783ae0 (bug 1534451) for causing build bustages in AdvertisingUtil.java:6 CLOSED TREE 2019-05-15 01:48:51 +03:00
Vlad Baicu
1e92dbe339 Bug 1534451 - Send Mobile Activation Telemetry ping. r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D29668

--HG--
extra : moz-landing-system : lando
2019-05-14 12:28:51 +00:00
Andrei Lazar
679a252557 Bug 1541423 Fennec is remembering site permissions in private mode r=johannh
Now checking for private mode in order to ignore any permissions that had been set in previous sessions.

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

--HG--
extra : moz-landing-system : lando
2019-05-14 10:43:01 +00:00
Cosmin Sabou
c3b851df0d Bug 1543355 - Disable org.mozilla.geckoview.test.ContentDelegateTest.download for frequent failures. r=gbrown 2019-05-14 09:13:26 +03:00
Andreea Pavel
4bf5812d4c Merge mozilla-inbound to mozilla-central. a=merge 2019-05-14 07:10:36 +03:00
Nagy Mihaly
b72de12fc1 Bug 1549741 - Removed TrackingProtectionPrompt. r=VladBaicu
***

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

--HG--
extra : moz-landing-system : lando
2019-05-13 14:17:33 +00:00
Ciure Andrei
126ca52e77 Backed out changeset 91bc05242c6f (bug 1534451) for causing AdvertisingUtil.java build bustages CLOSED TREE 2019-05-14 02:46:28 +03:00
Vlad Baicu
b597c1dbab Bug 1534451 - Send Mobile Activation Telemetry ping. r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D29668

--HG--
extra : moz-landing-system : lando
2019-05-10 22:03:10 +00:00
Will Hawkins
f40ac82e3f Bug 1550596: Remove overly broad keep rule from GV proguard rules. r=snorp,agi
Requesting reviewers based on `hg blame` output and general knowledge of who is working on the project. I hope that's okay.

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

--HG--
extra : moz-landing-system : lando
2019-05-13 21:35:09 +00:00
Randall E. Barker
0e8f14f767 Bug 1550901 - Prevent GeckoView PanZoomController crash when InputDevice.getDevice(event.getDeviceId()) returns null r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D30739

--HG--
extra : moz-landing-system : lando
2019-05-13 17:15:54 +00:00