Commit Graph

28955 Commits

Author SHA1 Message Date
Gabriele Svelto
50f416564f Bug 1570789 - Remove the unused field from GeckoView/Fennec crash reports r=nalexander,agi
Differential Revision: https://phabricator.services.mozilla.com/D40331

--HG--
extra : moz-landing-system : lando
2019-08-02 08:26:05 +00:00
Kris Maglione
22592538f5 Bug 1561015: Part 1 - Use BrowsingContext in window provider APIs. r=bzbarsky,mossop
This is the first step in making it possible to return remote WindowProxy
objects from window.open() and related APIs.

This patch also incidentally fixes a bug where getContentWindowOrOpenURI
returned the top-level browser window rather than the new content window when
passed OPEN_NEWWINDOW for the `aWhere` parameter. This was not the expected
behavior, and was a potentially major footgun for any new users who expected
to always get the content window for the URL they were loading, rather than
sometimes getting a chrome browser window instead.

For now, that case just returns null, which is only a minor footgun, rather
than the major one we had before.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:48:33 +00:00
Nick Alexander
e592c76817 Bug 1512487 - Part 4: Deprecate mach android {api-lint,checkstyle,findbugs,lint,test}. r=agi
It's a pity that Mach's conditions facility can't handle subcommands,
but it's a deep enough limitation that it's not worth addressing for
this patch.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:30:30 +00:00
Nick Alexander
c5f931e3b5 Bug 1512487 - Part 3: Convert Android-specific code analyses into mozlints. r=ahal,agi
API lint is arguably the most valuable lint of all, but it's also hard
to fit into the Phab ecosystem, since there's no place to hang the
"API hash not correct" message in the case when the hash hasn't been
updated at all.  Therefore, this commit doesn't convert it.  See also
https://github.com/mozilla-mobile/gradle-apilint/issues/61 for adding
file/line information to API lint.

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

--HG--
rename : mobile/android/config/mozconfigs/android-api-16-frontend/nightly => mobile/android/config/mozconfigs/android-api-16/nightly-android-lints
extra : moz-landing-system : lando
2019-08-02 20:34:23 +00:00
Nick Alexander
524e59dc74 Bug 1512487 - Pre: Expose gradle_lock to consumers. r=agi
It's not worth accommodating all the ways to invoke commands from
Python, so expose the lock itself so that consumers can use
subprocess, Popen, etc as they choose.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:29:46 +00:00
Nick Alexander
1b457812c6 Bug 1512487 - Pre: Remove unused android-api-16-gradle mozconfig. r=agi
This was Gradle-only and then !Gradle-only.  Now Gradle is required
and this is unused.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:29:39 +00:00
Andreea Pavel
55a6aabc6b Bug 1555656 - disabled testDeviceRecordingEventAudio on android debug r=fluffyemily
Differential Revision: https://phabricator.services.mozilla.com/D40359

--HG--
extra : moz-landing-system : lando
2019-08-02 13:51:28 +00:00
Cosmin Sabou
2a61037dec Backed out changeset 8f1beb012fe9 (bug 1555656) for causing Android build bustages. 2019-08-02 14:43:57 +03:00
Andreea Pavel
4f94425441 Bug 1555656 - disabled testDeviceRecordingEventAudio on android debug r=fluffyemily
Differential Revision: https://phabricator.services.mozilla.com/D40359

--HG--
extra : moz-landing-system : lando
2019-08-02 09:53:25 +00:00
Ciure Andrei
d7ec6fb695 Backed out changeset 6862186e032b (bug 1570764) for causing toolchains bustages CLOSED TREE 2019-08-02 06:57:44 +03:00
Nick Alexander
aba3c8f154 Bug 1570764 - Include MOZ_SOURCE_* fields in GeckoView POM files. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D40306

--HG--
extra : moz-landing-system : lando
2019-08-02 01:05:07 +00:00
Brad Arant
228c3aa18d Bug 1562622 - Calling getViewTreeObserver again to get new object to test isAlive().;r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D39929

--HG--
extra : moz-landing-system : lando
2019-07-31 14:35:08 +00:00
Imanol Fernandez
613d14e352 Bug 1570383 - Call GeckoThread.onPause() and onResume() on GeckoRuntime lifecycle events. r=snorp,rbarker
Call GeckoThread.onPause() and onResume() on GeckoRuntime lifecycle events.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 16:02:56 +00:00
Grisha Kruglov
33327053e3 Bug 1570496 - Forward-compatible treatment of 'action' WebChannel payload param r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40118

--HG--
extra : moz-landing-system : lando
2019-08-01 00:09:23 +00:00
Bogdan Tara
331634801e Backed out changeset bcdd64c29e02 (bug 1570496) for ES Lint failure on FxAccountsWebChannel.jsm CLOSED TREE 2019-08-01 02:44:24 +03:00
Grisha Kruglov
b86d74ef84 Bug 1570496 - Forward-compatible treatment of 'action' WebChannel payload param r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40118

--HG--
extra : moz-landing-system : lando
2019-07-31 23:01:22 +00:00
Grisha Kruglov
eaeb821d6a Bug 1568605 - Send corrent Leanplum events during signin, signup and reconnect r=nalexander
This patch augments FxA messages sent to native code with just enough information that we are able
to differentiate between "signin", "signup" and "reconnect" events.

Corresponding Leanplum events are sent on the receiving end of the FxA messages.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 18:28:25 +00:00
Olli Pettay
85a74a85cd Bug 1507495, Enable Pointer events on GeckoView by default, r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D39965

--HG--
extra : moz-landing-system : lando
2019-07-31 01:02:32 +00:00
Johan Lorenzo
13648fa0df Bug 1563711 - Remove target.maven.zip r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38175

--HG--
extra : moz-landing-system : lando
2019-07-30 15:35:12 +00:00
Petru Lingurar
54ed625fc0 Bug 1568810 - Intersect platform TLS ciphers with our desired ones; r=nalexander
This would ensure we will not use ciphers not supported by the platform.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 15:55:46 +00:00
Dylan Roeh
1e945a8dd6 Bug 1553603 - Support "capture" attribute in Gecko and expose in GV. r=geckoview-reviewers,smaug,snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D38746

--HG--
extra : moz-landing-system : lando
2019-07-30 18:13:05 +00:00
ksenia
8f578bcca2 Bug 1568636 - Import WebCompat GoFaster 5.0.2 sources r=denschub,rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D39351

--HG--
rename : browser/extensions/webcompat/AboutCompat.jsm => browser/extensions/webcompat/about-compat/AboutCompat.jsm
rename : browser/extensions/webcompat/aboutCompat.css => browser/extensions/webcompat/about-compat/aboutCompat.css
rename : browser/extensions/webcompat/aboutCompat.html => browser/extensions/webcompat/about-compat/aboutCompat.html
rename : browser/extensions/webcompat/aboutCompat.js => browser/extensions/webcompat/about-compat/aboutCompat.js
rename : browser/extensions/webcompat/aboutPage.js => browser/extensions/webcompat/about-compat/aboutPage.js
rename : browser/extensions/webcompat/aboutPage.json => browser/extensions/webcompat/about-compat/aboutPage.json
rename : browser/extensions/webcompat/aboutPageProcessScript.js => browser/extensions/webcompat/about-compat/aboutPageProcessScript.js
rename : browser/extensions/webcompat/ua_overrides.js => browser/extensions/webcompat/data/ua_overrides.js
rename : browser/extensions/webcompat/aboutConfigPrefs.js => browser/extensions/webcompat/experiment-apis/aboutConfigPrefs.js
rename : browser/extensions/webcompat/aboutConfigPrefs.json => browser/extensions/webcompat/experiment-apis/aboutConfigPrefs.json
rename : browser/extensions/webcompat/injections/css/bug0000000-dummy-css-injection.css => browser/extensions/webcompat/injections/css/bug0000000-testbed-css-injection.css
rename : mobile/android/extensions/webcompat/injections/js/bug0000000-dummy-js-injection.js => browser/extensions/webcompat/injections/js/bug0000000-testbed-js-injection.js
rename : mobile/android/extensions/webcompat/AboutCompat.jsm => mobile/android/extensions/webcompat/about-compat/AboutCompat.jsm
rename : browser/extensions/webcompat/aboutCompat.css => mobile/android/extensions/webcompat/about-compat/aboutCompat.css
rename : mobile/android/extensions/webcompat/aboutCompat.html => mobile/android/extensions/webcompat/about-compat/aboutCompat.html
rename : mobile/android/extensions/webcompat/aboutCompat.js => mobile/android/extensions/webcompat/about-compat/aboutCompat.js
rename : mobile/android/extensions/webcompat/aboutPage.js => mobile/android/extensions/webcompat/about-compat/aboutPage.js
rename : browser/extensions/webcompat/aboutPage.json => mobile/android/extensions/webcompat/about-compat/aboutPage.json
rename : browser/extensions/webcompat/aboutPageProcessScript.js => mobile/android/extensions/webcompat/about-compat/aboutPageProcessScript.js
rename : mobile/android/extensions/webcompat/ua_overrides.js => mobile/android/extensions/webcompat/data/ua_overrides.js
rename : browser/extensions/webcompat/aboutConfigPrefs.js => mobile/android/extensions/webcompat/experiment-apis/aboutConfigPrefs.js
rename : browser/extensions/webcompat/aboutConfigPrefs.json => mobile/android/extensions/webcompat/experiment-apis/aboutConfigPrefs.json
rename : browser/extensions/webcompat/injections/css/bug0000000-dummy-css-injection.css => mobile/android/extensions/webcompat/injections/css/bug0000000-testbed-css-injection.css
rename : mobile/android/extensions/webcompat/injections/js/bug0000000-dummy-js-injection.js => mobile/android/extensions/webcompat/injections/js/bug0000000-testbed-js-injection.js
extra : moz-landing-system : lando
2019-07-30 17:07:40 +00:00
Alex Catarineu
536fd2e65f Bug 1561322 - Allow spoofing strings in HTML forms r=baku,Pike
When privacy.spoof_english = 2, we should hide the user's
locale in content. So we use en-US default strings for HTML
form elements, such as a Submit button.

We also force GetLocalizedEllipsis() to always return the
ellipsis used by en-US.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 13:22:22 +00:00
Andrei Lazar
95c2abace2 Bug 1566406 Upgrade Leanplum SDK from 3.0.2 to 4.2.7 r=petru
Differential Revision: https://phabricator.services.mozilla.com/D38675

--HG--
extra : moz-landing-system : lando
2019-07-24 14:27:19 +00:00
Emily Toop
8a99fa75f8 Bug 1562301: Stop URL bar hiding tab switcher in GVE. r=geckoview-reviewers,agi
The URL bar was expanding to cover the tab switcher button, meaning that a new tab could not be navigated to after opening.

This is needed so that members of the Gecko media team can replicate an issue in GVE that causes images not to be displayed in Fenix.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 15:40:20 +00:00
James Willcox
6c9d00461e Bug 1561913 - Correctly propagate referrer policy in GeckoView nsIBrowserDOMWindow impl r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36617

--HG--
extra : moz-landing-system : lando
2019-07-29 15:34:45 +00:00
James Willcox
4274c61812 Bug 1561079 - Add a GeckoSession.loadUri() overload that takes a referring GeckoSession r=geckoview-reviewers,ckerschb,esawin,agi
Differential Revision: https://phabricator.services.mozilla.com/D36526

--HG--
extra : moz-landing-system : lando
2019-07-29 15:34:40 +00:00
Thomas Nguyen
180aa6b0a1 Bug 1566833 - Update to use ReferrerInfo in nsIWebBrowserChrome3 r=Gijs,snorp
Differential Revision: https://phabricator.services.mozilla.com/D38381

--HG--
extra : moz-landing-system : lando
2019-07-29 10:13:45 +00:00
Makoto Kato
9285dad516 Bug 1545393 - Remove layout.reflow.synthMouseMove setting from GeckoView r=geckoview-reviewers,agi
`layout.reflow.synthMouseMove` was added by Fennec/Maemo era (bug 657844) since this was low-end device. Since `layout.reflow.synthMouseMove` is false even if now, sampling rate of GeckoView's mouse event is still very sparse.

Since today is 2019, so we should change this to match sampling rate of mouse event with desktop.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 16:59:08 +00:00
Agi Sferro
089df843eb Bug 1566704 - Prevent stall if GV is initialized with a non-Activity context. r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D39418

--HG--
extra : moz-landing-system : lando
2019-07-26 21:29:17 +00:00
chrmod
271cd169eb Bug 1565782 - Implement browser.tabs.remove for GeckoView webextensions APIs r=agi,robwu,rpl,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D38216

--HG--
rename : mobile/android/geckoview/src/androidTest/assets/web_extensions/tabs/background.js => mobile/android/geckoview/src/androidTest/assets/web_extensions/tabs-create/background.js
rename : mobile/android/geckoview/src/androidTest/assets/web_extensions/tabs/manifest.json => mobile/android/geckoview/src/androidTest/assets/web_extensions/tabs-create/manifest.json
extra : moz-landing-system : lando
2019-07-26 20:26:47 +00:00
Agi Sferro
194ec7662a Bug 1568982 - Include source line information in apilint. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39401

--HG--
extra : moz-landing-system : lando
2019-07-25 20:31:38 +00:00
Emily Toop
5c825f981a Bug 1560641: Add a lock around mCapturePixelsResults. @geckoview-reviewers r=geckoview-reviewers,snorp
This is to ensure that multiple completions cannot be attempted on the same `GeckoResult`, resulting in crashes.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 16:23:30 +00:00
Grisha Kruglov
09a27de816 Bug 1568352 - Add Firefox Preview Nightly to AuthStateProvider's whitelist r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39113

--HG--
extra : moz-landing-system : lando
2019-07-24 21:22:54 +00:00
Bobby Holley
5d23efb2eb Bug 1566583 - Bridge GeckoResult to MozPromise and return a GeckoResult from GeckoProcessManager::start. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D38436

--HG--
extra : moz-landing-system : lando
2019-07-24 21:10:14 +00:00
Bobby Holley
59bcd549ee Bug 1566583 - Associate each GeckoResult listener with an explicit dispatcher. r=snorp
This paves the way for us to use a dispatcher other than mDispatcher,
which will be useful in the MozPromise integration in the coming
patches.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 21:10:12 +00:00
Bobby Holley
e887cf0b8d Bug 1566583 - Generalize GeckoResult.mHandler to a Dispatcher interface. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D39089

--HG--
extra : moz-landing-system : lando
2019-07-24 21:10:11 +00:00
Coroiu Cristina
f3386dea34 Backed out 4 changesets (bug 1566583) for apilint and checkstyle failure at geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java on a CLOSED TREE
Backed out changeset 3700ef585384 (bug 1566583)
Backed out changeset fbc829be6c4f (bug 1566583)
Backed out changeset 14ea9c84bb0e (bug 1566583)
Backed out changeset 92f3b1bb34a4 (bug 1566583)
2019-07-24 22:59:54 +03:00
Agi Sferro
094f958c69 Bug 1522795 - Update android gradle plugin to 3.4.2. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39106

--HG--
extra : moz-landing-system : lando
2019-07-24 18:48:54 +00:00
Bobby Holley
53719788a1 Bug 1566583 - Bridge GeckoResult to MozPromise and return a GeckoResult from GeckoProcessManager::start. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D38436

--HG--
extra : moz-landing-system : lando
2019-07-24 19:19:40 +00:00
Bobby Holley
c92332afaf Bug 1566583 - Associate each GeckoResult listener with an explicit dispatcher. r=snorp
This paves the way for us to use a dispatcher other than mDispatcher,
which will be useful in the MozPromise integration in the coming
patches.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 19:19:38 +00:00
Bobby Holley
79668e85e1 Bug 1566583 - Generalize GeckoResult.mHandler to a Dispatcher interface. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D39089

--HG--
extra : moz-landing-system : lando
2019-07-24 19:19:31 +00:00
Kershaw Chang
0bcf85d6e8 Bug 1566030 - Remove nsIClientAuthUserDecision r=keeler,snorp
This patch removes nsIClientAuthUserDecision and add another output parameter to nsIClientAuthDialogs.chooseCertificate.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 17:49:45 +00:00
Coroiu Cristina
075c52994f Backed out 4 changesets (bug 1561079, bug 1561913) for mochitest failures at dom/base/test/test_bug375314.html on a CLOSED TREE
Backed out changeset 0d1eaf86253f (bug 1561913)
Backed out changeset 1d1be67a5950 (bug 1561079)
Backed out changeset 528a46ffe2af (bug 1561079)
Backed out changeset f562e67e38cf (bug 1561079)
2019-07-24 20:56:30 +03:00
James Willcox
ffd5747f58 Bug 1561913 - Correctly propagate referrer policy in GeckoView nsIBrowserDOMWindow impl r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36617

--HG--
extra : moz-landing-system : lando
2019-07-24 16:34:00 +00:00
James Willcox
3d039180df Bug 1561079 - Add a GeckoSession.loadUri() overload that takes a referring GeckoSession r=geckoview-reviewers,ckerschb,esawin,agi
Differential Revision: https://phabricator.services.mozilla.com/D36526

--HG--
extra : moz-landing-system : lando
2019-07-24 16:33:52 +00:00
Imanol Fernandez
d37254f9ca Bug 1567232 - Add more proguard rules for R8 compatibility. r=agi,rbarker
Add more proguard rules for R8 compatibility

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

--HG--
extra : moz-landing-system : lando
2019-07-24 16:13:15 +00:00
Bogdan Tara
e82c5fe738 Backed out 4 changesets (bug 1561079, bug 1561913) for apilint and checkstyle failures CLOSED TREE
Backed out changeset 50244d8132f9 (bug 1561913)
Backed out changeset 9abb44cca93b (bug 1561079)
Backed out changeset e6e23c902808 (bug 1561079)
Backed out changeset e48cf42b707f (bug 1561079)
2019-07-24 19:23:44 +03:00
Andrei Lazar
4f11cdabb3 Bug 1568521 Tracking protection doorhanger's Enable/Disable states don't work r=VladBaicu
Now using lastURI instead of principal and now we are using the right functions in order to test permissions.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 16:00:32 +00:00
James Willcox
83bfba712a Bug 1561913 - Correctly propagate referrer policy in GeckoView nsIBrowserDOMWindow impl r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36617

--HG--
extra : moz-landing-system : lando
2019-07-24 15:48:02 +00:00
James Willcox
b06b598252 Bug 1561079 - Add a GeckoSession.loadUri() overload that takes a referring GeckoSession r=geckoview-reviewers,ckerschb,esawin,agi
Differential Revision: https://phabricator.services.mozilla.com/D36526

--HG--
extra : moz-landing-system : lando
2019-07-24 15:48:00 +00:00
Bogdan Tara
6d06c40c7c Backed out 2 changesets (bug 1561079, bug 1561913) for apilint and checkstyle failures CLOSED TREE
Backed out changeset c21bf3dfa6e5 (bug 1561913)
Backed out changeset 77ef4f2e0a8d (bug 1561079)
2019-07-24 18:34:06 +03:00
James Willcox
c6482d6bcf Bug 1561913 - Correctly propagate referrer policy in GeckoView nsIBrowserDOMWindow impl r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36617

--HG--
extra : moz-landing-system : lando
2019-07-24 14:52:42 +00:00
James Willcox
c0a84486f6 Bug 1561079 - Add a GeckoSession.loadUri() overload that takes a referring GeckoSession r=geckoview-reviewers,ckerschb,esawin,agi
Differential Revision: https://phabricator.services.mozilla.com/D36526

--HG--
extra : moz-landing-system : lando
2019-07-24 15:03:36 +00:00
James Willcox
5f8a13fc44 Bug 1510314 - Add some initial basic tests for the GeckoView class r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D36113

--HG--
extra : moz-landing-system : lando
2019-07-24 14:53:19 +00:00
James Willcox
72ccde08db Bug 1510314 - Don't manage GeckoSession opening/closing in GeckoView class r=geckoview-reviewers,esawin,agi
Differential Revision: https://phabricator.services.mozilla.com/D34226

--HG--
extra : moz-landing-system : lando
2019-07-24 14:51:36 +00:00
Boris Zbarsky
a818800ec5 Bug 1568278. Remove various unnecessary QIs to nsIDOMWindow. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D39065

--HG--
extra : moz-landing-system : lando
2019-07-24 01:26:07 +00:00
Grisha Kruglov
d3afb838d4 Bug 1568336 - Share credentials in Cohabiting as well as Married states r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39111

--HG--
extra : moz-landing-system : lando
2019-07-23 23:13:27 +00:00
Boris Zbarsky
3381384634 Bug 1568279. Remove some unnecessary QIs to nsIDOMChromeWindow. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39066

--HG--
extra : moz-landing-system : lando
2019-07-23 19:08:55 +00:00
Nick Alexander
1acd86f7f7 Bug 1566359 - Pack GeckoView-specific metrics.yaml file into published AAR. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D38698

--HG--
extra : moz-landing-system : lando
2019-07-22 20:06:30 +00:00
Eugen Sawin
69fe17c8a6 Bug 1501108 - [6.0] Update changelog.
Differential Revision: https://phabricator.services.mozilla.com/D38727

--HG--
extra : moz-landing-system : lando
2019-07-21 17:23:16 +00:00
Eugen Sawin
54c69d2380 Bug 1501108 - [5.1] Ensure that the context ID string is safe for Gecko processing. r=Ehsan,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D38188

--HG--
extra : moz-landing-system : lando
2019-07-21 17:36:41 +00:00
Eugen Sawin
10b4aa39cc Bug 1501108 - [3.6] Extend StorageController API to delete session context data. r=baku,snorp,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D23732

--HG--
extra : moz-landing-system : lando
2019-07-21 17:20:19 +00:00
Eugen Sawin
a953b9ae74 Bug 1501108 - [2.4] Add Session Context ID test. r=snorp,baku
Differential Revision: https://phabricator.services.mozilla.com/D20008

--HG--
extra : moz-landing-system : lando
2019-07-21 17:19:51 +00:00
Eugen Sawin
532f60a55d Bug 1501108 - [1.7] Add GeckoView Session Context ID support. r=snorp,baku,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D19182

--HG--
extra : moz-landing-system : lando
2019-07-21 17:18:37 +00:00
Agi Sferro
d0cb127dad Bug 1515248 - Upgrade to Android-Gradle plugin 3.2.1 and build-tools 28.0.3. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D15159

--HG--
extra : moz-landing-system : lando
2019-07-20 17:27:53 +00:00
Agi Sferro
c0e92a8ba1 Bug 1515248 - Run android lints against GeckoView. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38787

--HG--
extra : moz-landing-system : lando
2019-07-20 17:27:53 +00:00
Daniel Varga
d3c740b0f9 Backed out changeset e9cc61207fb8 (bug 1507495) for mochitest failure at dom/tests/mochitest/general/test_interfaces.html. On a CLOSED TREE
--HG--
extra : rebase_source : df6aab0131cd9a71548976ade368a8f341311d23
extra : amend_source : 4cd50e2d275ad32dddd5da186cd72febd09babdd
2019-07-20 00:10:09 +03:00
Eugen Sawin
a01ada2c8a Bug 1489669 - [2.2] Add test for Storage Controller API. r=baku,snorp
Differential Revision: https://phabricator.services.mozilla.com/D32154

--HG--
extra : moz-landing-system : lando
2019-07-19 19:50:39 +00:00
Olli Pettay
4d0364f7ec Bug 1507495, Enable Pointer events on GeckoView by default,
Differential Revision: https://phabricator.services.mozilla.com/D38719

--HG--
extra : moz-landing-system : lando
2019-07-19 19:01:47 +00:00
ksenia
e8e4790c10 Bug 1567198 - create UA override for corporate.santander.co.uk r=denschub,rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D38509

--HG--
extra : moz-landing-system : lando
2019-07-19 17:40:28 +00:00
Edwin Gao
ae0d488344 Bug 1559975 - fix python2 linter errors in mobile r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37667

--HG--
extra : moz-landing-system : lando
2019-07-16 17:46:25 +00:00
Bogdan Tara
52d02305c2 Backed out changeset db7b66954bde (bug 1507495) for ES lint failure on geckoview.js CLOSED TREE 2019-07-19 19:42:47 +03:00
Olli Pettay
345ad4ab17 Bug 1507495, Enable Pointer events on GeckoView by default, r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D38528

--HG--
extra : moz-landing-system : lando
2019-07-19 13:31:56 +00:00
Luca Greco
d8f68f5ee3 Bug 1472740 - Remove usage of deprecated lwt aliases from Fennec robocop tests. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D38300

--HG--
extra : moz-landing-system : lando
2019-07-17 14:21:56 +00:00
Nathan Froyd
bde244933a 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-07-16 02:39:16 +00:00
Agi Sferro
9312511318 Bug 1567314 - Add missing docs for TabDelegate.onNewTab. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38574

--HG--
extra : moz-landing-system : lando
2019-07-18 21:49:40 +00:00
Imanol Fernandez
83b19f30bb Bug 1567232 - Add extra proguard rules for R8 compatibility. r=agi
Summary Add extra proguard rules for R8 compatibility.:

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

--HG--
extra : moz-landing-system : lando
2019-07-18 17:18:32 +00:00
John Lin
afc3f16477 Bug 1560611 - remember valid buffers only. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D38129

--HG--
extra : moz-landing-system : lando
2019-07-18 00:05:57 +00:00
Alvina Waseem
bf830a7844 Bug 1557096 - Add ContentDelegate.onKill() to differentiate between content process crashes and kills. r=geckoview-reviewers,agi,snorp
Differential Revision: https://phabricator.services.mozilla.com/D35874

--HG--
extra : moz-landing-system : lando
2019-07-18 15:12:28 +00:00
ksenia
64dcd6ee69 Bug 1510067 - change structure of console log messages reporting, create preview of objects and arrays r=twisniewski,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37675

--HG--
extra : moz-landing-system : lando
2019-07-15 20:34:38 +00:00
Agi Sferro
2b4677581d Bug 1565410 - Don't expose BundleEventListener in the API. r=esawin
This also updates apilint to 0.2.2 to ensure that future instances of this
problem will be caught automatically.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 15:48:58 +00:00
Gurzau Raul
a40be3ff67 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-17 06:53:00 +03:00
Gurzau Raul
b34b6dead9 Merge autoland to mozilla-central. a=merge 2019-07-17 06:43:28 +03:00
Gurzau Raul
9e92bbfdc8 Backed out 2 changesets (bug 1557096, bug 1565410) for multiple regressions linked to Bug 1557096. a=backout CLOSED TREE
Backed out changeset d35d90d0322b (bug 1565410)
Backed out changeset 4629e855ea33 (bug 1557096)

--HG--
extra : amend_source : a32a416570e06b3905d482ebf313a0da21e53cb6
2019-07-17 00:07:39 +03:00
Jared Wein
d046711c81 Bug 1550171 - Don't apply Password Manager to about: pages. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D37998

--HG--
extra : moz-landing-system : lando
2019-07-15 21:14:12 +00:00
Thomas Nguyen
b0fa7cedfe Bug 1554947 - Update saveURL to use referrerInfo class instead of referrer and referrerr policy r=Gijs,snorp
Differential Revision: https://phabricator.services.mozilla.com/D33939

--HG--
extra : moz-landing-system : lando
2019-07-16 17:59:28 +00:00
Byron Campen [:bwc]
a381540292 Bug 1555792: Update android manifest files to include the socket process. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D34885

--HG--
extra : moz-landing-system : lando
2019-07-11 14:50:17 +00:00
Andrei Lazar
7322b26929 Bug 1564082 The app crash after reopening the recent closed tabs r=petru
The cursor was trying to move to first record after it was closed which lead into
IllegalStateException.
In order to avoid this exception, we should simply check if the cursor was already
closed before trying to move to the first record.

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

--HG--
extra : moz-landing-system : lando
2019-07-15 15:04:31 +00:00
Brad Arant
2eabf6d0f6 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-07-15 09:36:47 +00:00
Cosmin Sabou
d55b8e80a6 Backed out changeset b8f19d6b8762 (bug 1564846) for causing high failure rate in bug 1565072. 2019-07-13 13:13:47 +03:00
Agi Sferro
61f5744ce6 Bug 1565410 - Don't expose BundleEventListener in the API. r=esawin
This also updates apilint to 0.2.2 to ensure that future instances of this
problem will be caught automatically.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 20:04:38 +00:00
Alvina Waseem
485de70925 Bug 1557096 - Add ContentDelegate.onKill() to differentiate between content process crashes and kills. r=geckoview-reviewers,agi,snorp
Differential Revision: https://phabricator.services.mozilla.com/D35874

--HG--
extra : moz-landing-system : lando
2019-07-11 22:03:43 +00:00
Petru Lingurar
6177d83601 Bug 1480031 - Truncate floating menu labels if they overflow screen width; r=VladBaicu
There's currently a bug in Android's framework that manifests by placing the
floating menu off-screen if a menu label overflows the menu's width.
https://issuetracker.google.com/issues/137169336
To overcome this we'll manually check and truncate any menu label that could
cause issues based on the floating menu style declared upstream.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 11:30:48 +00:00
Sam Foster
ae8c1da8cb Bug 1559994 - Add 'attention'-styled dismissed doorhanger when auto-saving a generated password. r=MattN
* Add a new optional 'notifySaved' argument to promptToSavePassword
* Give the notification an attention style when showing a login doorhanger for an auto-saved login with a generated password

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

--HG--
extra : moz-landing-system : lando
2019-07-12 00:34:08 +00:00
Csoregi Natalia
fcccd2b6b0 Merge mozilla-central to autoland. CLOSED TREE 2019-07-12 02:06:45 +03:00
Petru Lingurar
31fcdf1aac Bug 1529557 - Mutate share drawable to prevent against it being reused from cache; r=VladBaicu
Summary:
The share drawable is used in multiple places in code.
Android would cache it and subsequently serve a now dirty version of it with
transformations potentially added.
By mutating it into a new drawable we ensure we'll always have it clean.

Reviewers: VladBaicu

Reviewed By: VladBaicu

Subscribers: emilio

Bug #: 1529557

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

--HG--
extra : rebase_source : 864946cb3d5a256b26a380fbf6a0cbe70a20ca12
extra : histedit_source : 941d909f040426046d71028b21644d0652fa1238
2019-07-11 23:15:30 +03:00
Bogdan Tara
556047a14b Backed out changeset 81f121f3a7cb (bug 1557096) for ES lint failure on GeckoViewContent.jsm CLOSED TREE 2019-07-12 00:40:18 +03:00
Agi Sferro
1726d85fea Bug 1563844 - Add @ReflectionTarget to DebugConfig. r=csadilek,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D37753

--HG--
extra : moz-landing-system : lando
2019-07-11 20:48:11 +00:00
Alvina Waseem
133133e12f Bug 1557096 - Add ContentDelegate.onKill() to differentiate between content process crashes and kills. r=geckoview-reviewers,agi,snorp
Differential Revision: https://phabricator.services.mozilla.com/D35874

--HG--
extra : moz-landing-system : lando
2019-07-11 18:34:55 +00:00
Rob Wu
1b2dc590f5 Bug 1539144 - Follow-up checkstyle fix in WebExtensionController.java
Verified with `./mach android checkstyle`

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

--HG--
extra : moz-landing-system : lando
2019-07-11 11:57:40 +00:00
chrmod
8e1240dc4b Bug 1539144 - GeckoView extensions support chrome.tabs.create r=snorp,agi,geckoview-reviewers,robwu,rpl
Differential Revision: https://phabricator.services.mozilla.com/D32796

--HG--
rename : mobile/android/geckoview/src/androidTest/assets/web_extensions/messaging/background.js => mobile/android/geckoview/src/androidTest/assets/web_extensions/tabs/background.js
extra : moz-landing-system : lando
2019-07-11 11:35:25 +00:00
Brindusan Cristian
8594594498 Backed out changeset aebbb469f1d5 (bug 1539144) for ESlint failure at background.js:2:1 and checkstyle bustage. CLOSED TREE 2019-07-11 13:44:29 +03:00
Nicholas Nethercote
0d47e90e70 Bug 1562305 - Remove browser.cache.compression_level pref. r=michal
It's unused.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 04:13:45 +00:00
chrmod
eb49662142 Bug 1539144 - GeckoView extensions support chrome.tabs.create r=snorp,agi,geckoview-reviewers,robwu,rpl
Differential Revision: https://phabricator.services.mozilla.com/D32796

--HG--
rename : mobile/android/geckoview/src/androidTest/assets/web_extensions/messaging/background.js => mobile/android/geckoview/src/androidTest/assets/web_extensions/tabs/background.js
extra : moz-landing-system : lando
2019-07-11 10:18:02 +00:00
John Lin
95099600d5 Bug 1563734 - always sync session ID from remote decoder. r=jya
In bug 1552607/D36382, RemoteDataDecoder always increases session ID but
CodecProxy only performs flush IPC when neccessary. This will cause the
ID numbers out of sync and prevent remote decoder from receiving any
more input. By reading the session ID in dequeued input samples, the
numbers can always be in sync.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 07:25:30 +00:00
Nicholas Nethercote
4dada5f88a Bug 1562305 - Make browser.cache.memory.capacity a static pref. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37182

--HG--
extra : moz-landing-system : lando
2019-07-11 04:11:39 +00:00
Nicholas Nethercote
678da168fa Bug 1562305 - Make browser.cache.disk.smart_size.enabled a static pref. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37181

--HG--
extra : moz-landing-system : lando
2019-07-11 04:40:17 +00:00
Nicholas Nethercote
dcb65203e0 Bug 1562305 - Make browser.cache.memory.enable a static pref. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37178

--HG--
extra : moz-landing-system : lando
2019-07-11 04:10:13 +00:00
Nicholas Nethercote
17b83b6b8b Bug 1562305 - Make browser.cache.disk.enable a static pref. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37177

--HG--
extra : moz-landing-system : lando
2019-07-11 04:09:50 +00:00
Agi Sferro
cbde79674f Bug 1545931 - Double timeout for CrashTest.crashContent. r=bholley
This test is a little slow sometimes and times out (even though nothing is
going wrong). Doubling the timeout seems to be enough.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 03:31:57 +00:00
Gijs Kruitbosch
c71b8f39cc Bug 1565064 - remove obsolete pref from default files, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D37657

--HG--
extra : moz-landing-system : lando
2019-07-10 22:26:35 +00:00
James Willcox
d8e61a2603 Bug 1564846 - Do better at managing secondary windows in TestRunnerActivity r=kats
Differential Revision: https://phabricator.services.mozilla.com/D37570

--HG--
extra : moz-landing-system : lando
2019-07-10 15:36:15 +00:00
Petru Lingurar
76bca06a4f Bug 1529557 - Use smaller share image to ensure consistency; r=AndreiLazar
Differential Revision: https://phabricator.services.mozilla.com/D38195

--HG--
extra : moz-landing-system : lando
2019-07-16 15:25:20 +00:00
ksenia
956774ff41 Bug 1563839 - add UA for rolb.santanderbank.com r=twisniewski,rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D37455

--HG--
extra : moz-landing-system : lando
2019-07-09 18:14:03 +00:00
Ciure Andrei
f372470e10 Merge inbound to mozilla-central. a=merge 2019-07-10 12:41:47 +03:00
Nicholas Nethercote
40fa4b7402 Bug 1563996 - [Attempt 2] Make consoleservice.logcat a static pref. r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D37203
2019-07-09 20:59:59 +10:00
Csoregi Natalia
d574162f0d Backed out changeset fb76e4e1d9e0 (bug 1563996) for crashes on consoleservice.logcat. CLOSED TREE 2019-07-09 13:26:14 +03:00
Nicholas Nethercote
508aad2c70 Bug 1563996 - Make consoleservice.logcat a static pref. r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D37203

--HG--
extra : moz-landing-system : lando
2019-07-09 07:59:41 +00:00
Nicholas Nethercote
7c43c6f952 Bug 1563996 - Make browser.xul.error_pages.enabled a static pref. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D37201

--HG--
extra : moz-landing-system : lando
2019-07-09 07:59:03 +00:00
Agi Sferro
68d3e0d0c1 Bug 1553515 - Always send navigation events for about:blank. r=snorp
Some background information on this change:

DocShell loads about:blank when first starting up. This initial load can be
avoided by setting `nodefaultsrc` on the browser element, but this will still
cause some load events related to `about:blank` to fire anyway, as they are
specified in the DOM spec (see e.g. bz's Comment #2 Bug 1447406). In particular
`onSecurityChange` and `onLocationChange` are still fired, `onPageStart` and
onPageStop` are not.

These messages are unreliable and sometimes do not fire, to unrestand why it's
helpful to look at a timeline of the events when starting up a GeckoSession.

page           about:blank ---------------------------------------------------------

nsDocShell     --- startup --- onPageStart --- onLocationChange --- onPageStop -----

busyState      idle ---------- busy ------------------------------------------ idle-
                ^           ^               ^                    ^               ^
geckoview.js   (0)         (1)             (2)                  (3)             (4)

geckoview.js loads in parallel with nsDocShell startup process (and loading of
about:blank). This means that consumers of GeckoView might start receiving
navigation events at any of the points marked with (0) - (4). E.g. if geckoview
starts up at (4) a consumer waiting for onPageStop for `about:blank` will
actually wait forever (this is what happens before this change for our tests).

As it can be seen there's not really a way to detect in which of the (0) - (4)
state DocShell is when starting up geckoview.js. Checking for the busy state is
not enough as an `idle` busy state might mean that we're in (0) or (4).
Furthermore a consumer of geckoview has no way to know which onPageStop
messages to wait for after an initial loadUri as e.g. the following is what
would happen if geckoview.js happens to startup at (3):

- loadUri(hello.html)
- onPageStop (for about:blank)
- onLoadRequest (for hello.html)

which confuses any code that just waits for onPageStop.

Desktop deals with this in `TabProgressListener.onStateChange` where the
initial `about:blank` navigation is ignored and fake events are triggered at a
convenient time.

To patch implements a very similar behavior for geckoview, we ignore the
initial `about:blank` `onLoadRequest` call, set `nodefaultsrc` so `onPageStart`
and `onPageStop` events don't fire and fire the above calls when the
`GeckoViewProgress` module has finished loading.

This makes `about:blank` events deterministic with the exception of reloading
an empty `GeckoSession`, which will often not fire any extra events. To account
for that we load a dummy html page before the tests that used to rely on this
behavior (which would actually fail occasionally due to the startup race
condition explained above).

This makes the tests pass reliably on x86_64 (20/20 runs passed in try).

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

--HG--
extra : moz-landing-system : lando
2019-07-08 21:08:32 +00:00
Agi Sferro
c33d97d67e Bug 1553515 - Re-enable geckoview-junit on x86_64. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D35949

--HG--
extra : moz-landing-system : lando
2019-07-09 00:13:28 +00:00
Agi Sferro
faad566428 Bug 1551278 - Make WebExtension listeners per-extension. r=snorp
Right now listeners for a given native app receive messages from all
WebExtensions. This is wrong as listeners should be extension specific so that
only the intended extension can send messages to the app.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 21:08:15 +00:00
Agi Sferro
32c65ee29f Bug 1553515 - Wait for link color in HistoryDelegateTest.getVisited. r=snorp
This helps making this test more reliable.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 21:08:29 +00:00
Agi Sferro
f7f8ee977b Bug 1553515 - Remove all remaining bits of RDP for tests. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32594

--HG--
extra : moz-landing-system : lando
2019-07-08 21:08:22 +00:00
Agi Sferro
53e4399d87 Bug 1553515 - Move getLinkColor to WebExtension. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32593

--HG--
extra : moz-landing-system : lando
2019-07-08 21:08:20 +00:00
Agi Sferro
0f3dc76ea8 Bug 1553515 - Use WebExtension to set prefs in tests. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32592

--HG--
extra : moz-landing-system : lando
2019-07-08 21:08:18 +00:00
Agi Sferro
47985d1c39 Bug 1553515 - Fix for ContentDelegateTest.autoFill_navigation. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32591

--HG--
extra : moz-landing-system : lando
2019-07-08 21:08:16 +00:00
Agi Sferro
9c675d278a Bug 1553515 - Add GeckoSessionTestRule.createFromParcel. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32590

--HG--
extra : moz-landing-system : lando
2019-07-08 21:08:14 +00:00
Agi Sferro
e022f20c31 Bug 1553515 - Use .equals instead of == for GeckoSession. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32589

--HG--
extra : moz-landing-system : lando
2019-07-08 21:08:07 +00:00
Agi Sferro
5364996b9f Bug 1553515 - Use WebExtension to run content javascript in tests. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32587

--HG--
extra : moz-landing-system : lando
2019-07-08 21:08:05 +00:00
Agi Sferro
55537adc42 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-07-08 20:48:44 +00:00
Agi Sferro
f23e6ab814 Bug 1553515 - Replace loopUntilIdle -> waitForCondition. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32583

--HG--
extra : moz-landing-system : lando
2019-07-08 20:48:42 +00:00
Agi Sferro
c54dc66a26 Bug 1553515 - Add GeckoResult.accept. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32582

--HG--
extra : moz-landing-system : lando
2019-07-08 20:48:35 +00:00
Agi Sferro
f3c69e1f87 Bug 1553515 - Add waitForCondition. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32581

--HG--
extra : moz-landing-system : lando
2019-07-08 20:48:33 +00:00
Agi Sferro
7371119f56 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-07-08 20:48:31 +00:00
Agi Sferro
2948bcd9a2 Bug 1553515 - Add FOREGROUND_SERVICE for CrashTest. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32579

--HG--
extra : moz-landing-system : lando
2019-07-08 20:48:29 +00:00
Agi Sferro
346d13b264 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-07-08 20:48:27 +00:00
Agi Sferro
ba4c3abb36 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-07-08 20:48:25 +00:00
Agi Sferro
a9366e6af5 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-07-08 20:48:23 +00:00
Agi Sferro
1049cdd19e Bug 1553515 - Use environment.defaultTimeoutMillis in tests. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32575

--HG--
extra : moz-landing-system : lando
2019-07-08 20:48:22 +00:00
Agi Sferro
42874778c0 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-07-08 20:48:20 +00:00
Agi Sferro
d28d2f70e2 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 21:21:15 +00:00
Jonathan Kingston
31441f82ea Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35504

--HG--
extra : moz-landing-system : lando
2019-07-08 16:37:45 +00:00
Eugen Sawin
4365e8f0ed Bug 1561385 - [1.0] Change GeckoView cookie behavior default to block third-party trackers (ETP). r=snorp,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D36980

--HG--
extra : moz-landing-system : lando
2019-07-08 14:47:15 +00:00
Mihai Alexandru Michis
4837addb3d Bug 1542525 - Disable PermissionDelegateTest.notification_reject and TextInputDelegateTest.restartInput_temporaryFocus for frequent failures r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D37255

--HG--
extra : moz-landing-system : lando
2019-07-08 14:16:26 +00:00
Noemi Erli
bdf68fe902 Bug 1561844 - ES lint failure fix CLOSED TREE 2019-07-08 17:03:25 +03:00
Andrei Lazar
5f0926e20d Bug 1561844 Remove OpenH264 plugin from about:addons r=VladBaicu
Removed OpenH264 plugin from addons list for users that doesn't have it installed.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 12:15:44 +00:00
Mihai Alexandru Michis
6484e16fce Bug 1532186 - Disable SessionLifecycleTest.readFromParcel_throwOnAlreadyOpen for frequent failures r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D37236

--HG--
extra : moz-landing-system : lando
2019-07-08 12:14:41 +00:00
Karan Sapolia
64633547a3 Bug 1562903 - Fix adding a search engine from a web page on android. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D37456

--HG--
extra : moz-landing-system : lando
2019-07-09 19:52:46 +00:00
Jan Henning
04b5ee610a Bug 1563039 - Fix erroneous base domain highlighting. r=VladBaicu
Domain highlighting needs to find the *last* instance of the base domain within
the domain part of the URL. Otherwise, there's a chance we mistakenly highlight
(parts of) a subdomain if it matches the base domain, too.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 11:43:32 +00:00
Petru Lingurar
d79bc4f9be Bug 1556437 - Use VectorDrawableCompat to load the error svg; r=AndreiLazar
VectorDrawableCompat allows backwards compatibility up to API 14.

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

--HG--
extra : moz-landing-system : lando
2019-07-16 13:21:54 +00:00
Johan Lorenzo
fb4aabb03b Bug 1557269 - part 1: Re-expose all maven artifacts and beetmove them r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D34865

--HG--
extra : moz-landing-system : lando
2019-07-05 15:19:14 +00:00
Dylan Roeh
3a35c73191 Bug 1563353 - Disable two PromptDelegate tests for intermittent failures. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D37071

--HG--
extra : moz-landing-system : lando
2019-07-05 15:19:48 +00:00
Randall E. Barker
0f6b776ba1 Bug 1556540 - Fix GeckoSession.loadData() so that it can load data URLs r=geckoview-reviewers,agi,esawin,snorp
Differential Revision: https://phabricator.services.mozilla.com/D37343

--HG--
extra : moz-landing-system : lando
2019-07-09 17:27:05 +00:00
Andrei Lazar
2aa60f3671 Bug 1554071 Added support for Enhanced Tracking Protection. r=esawin
Exposed "Enabled, excluding tracking cookies" Cookie behavior option.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 12:38:06 +00:00
Petru Lingurar
945c3d6a34 Bug 1529557 - Ensure share icons will have the same size r=VladBaicu
Used `fitCenter` and`adjustViewBounds` to ensure the images will be scaled to
fit their container while keeping their aspect ratio.
Increased resolution of some images used in the share menu to maths the others'
and also remove some bluriness of the previous' when they are enlarged.
They were losslessly optimized with an average of 18% savings.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 11:41:48 +00:00
Victor Porof
9e9be26a9b Bug 1561435 - Fix linting errors for mobile/, r=standard8
# ignore-this-changeset

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

--HG--
extra : source : 2072cc33ae8e2b64a761ece5ab32ce711d547c97
extra : intermediate-source : afb89fcad8e41f4f03ea5d16a7528002820b8305
2019-06-20 11:33:11 -07:00
Victor Porof
e999ae1989 Bug 1561435 - Format mobile/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : eafb1052afc7712c969e57552da5affc63093e9e
2019-07-05 10:53:35 +02:00
Victor Porof
b5a4cb3848 Bug 1558517 - Pre 3.0: Remove conflicting eslint rules, and turn on "curly: all" everywhere, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34535

--HG--
extra : source : 74ed7ee773393d305c4e948a57a1b1e32b1f12e8
extra : intermediate-source : 403d0757d61683e0a85d0bb07768eb39fbd0af72
2019-06-28 17:14:01 +02:00
Mihai Alexandru Michis
3b33f02a03 Bug 1557569 - Disable ScreenshotTest.capturePixelsThrowsCompositorNotReady for frequent failures. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D36901

--HG--
extra : moz-landing-system : lando
2019-07-04 15:27:28 +00:00
Rob Wu
2683e4553c Bug 1563284 - Re-enable some extension mochitests in GeckoView r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D36786

--HG--
extra : moz-landing-system : lando
2019-07-03 22:25:37 +00:00
Petru Lingurar
3f5101c956 Bug 1562831 - Stop the Crash Service cleanly to prevent it's restart; r=VladBaicu
The service would be restarted after System.exit(0) which would show the crash
feedback form again to the user.

That System.exit(0) was initially used to prevent a silent ANR because of the
Service being started from background on Android Oreo+ without a foreground
notification.

To overcome all this we'll also use a foreground notification on Android Oreo+
but with NotificationManager.IMPORTANCE_LOW to be non-intrusive.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 13:13:10 +00:00
Dylan Roeh
5e0a7630a4 Bug 1499396 - Add basic testing for PromptDelegate. r=geckoview-reviewers,snorp
Some tests still disabled due to either test environment weirdness or actual breakage.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 22:51:43 +00:00
Henri Sivonen
29ac9cfdbe Bug 1545429 - Avoid passing unsupported Android screen orientation flag combinations to Gecko. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D36351

--HG--
extra : moz-landing-system : lando
2019-07-02 17:42:34 +00:00
Andreea Pavel
7c9308d2ee Bug 1533934 - ignore SessionLifecycleTest.createFromParcel on pgo r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D36240

--HG--
extra : moz-landing-system : lando
2019-07-02 16:58:09 +00:00
John Lin
a987fc3b69 Bug 1552607 - p2: check sample session ID when processing buffers. r=jya
Because IPC call runs asynchronously in both remote decoder process and
content process, ProcessOutput() for buffers prior to Flush() could be
scheduled to run after the flush promise is resolved, and Codec.queueInput()
could be preempted and processes prior sample after flush.
To help check the validness of buffers, a session ID increased by flush
is added to both RemoteDataDecoder and remote codec service and will be
passed through IPC. If the passed ID doesn't agree with current session
ID, it means the buffer doesn't belong to current session and should be
discard.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 18:12:44 +00:00
John Lin
a06092b96c Bug 1552607 - p1: filter out invalid input buffers. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D36381

--HG--
extra : moz-landing-system : lando
2019-07-02 18:12:35 +00:00
Dorel Luca
88e2b90713 Backed out changeset 3b5355424e78 (bug 1499396) for geckoview failure in org.mozilla.geckoview.test.PromptDelegateTest.buttonTest 2019-07-02 18:27:54 +03:00
Dylan Roeh
5b4527cd3a Bug 1499396 - Add basic testing for PromptDelegate. r=geckoview-reviewers,snorp
Some tests still disabled due to either test environment weirdness or actual breakage.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 13:58:06 +00:00
Cameron McCormack
890e42b6af Bug 1562359 - Tweak XUL scrollbar styles on GeckoView to avoid cached scrollbar style assertions. r=emilio
For content like:

  <select>
    <optgroup style="overflow: scroll">
      <option>

the existing rules would match the <xul:scrollbar> elements that are
generated for the <optgroup>, since they use descendant selectors after
the `select:not([size]):not([multiple])`, even though the intention
(probably!) is to match only the scrollbars created for the <select>
itself.

On Android, we don't actually render <select> elements in the page;
instead we use some system UI popup.  So in practice the difference in
rendering here isn't relevant.  (It's possible we could remove these
rules entirely.)

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

--HG--
extra : moz-landing-system : lando
2019-07-02 00:12:59 +00:00
Mihai Alexandru Michis
74781bb639 Backed out 2 changesets (bug 1552607) for causing checkstyle failures. CLOSED TREE
Backed out changeset 53a39e402451 (bug 1552607)
Backed out changeset 6385b8616d54 (bug 1552607)
2019-07-02 04:19:01 +03:00
John Lin
38358d2cf0 Bug 1552607 - p2: check sample session ID when processing buffers. r=jya
Because IPC call runs asynchronously in both remote decoder process and
content process, ProcessOutput() for buffers prior to Flush() could be
scheduled to run after the flush promise is resolved, and Codec.queueInput()
could be preempted and processes prior sample after flush.
To help check the validness of buffers, a session ID increased by flush
is added to both RemoteDataDecoder and remote codec service and will be
passed through IPC. If the passed ID doesn't agree with current session
ID, it means the buffer doesn't belong to current session and should be
discard.

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

--HG--
extra : moz-landing-system : lando
2019-07-01 23:42:59 +00:00
John Lin
b657d905d9 Bug 1552607 - p1: filter out invalid input buffers. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D36381

--HG--
extra : moz-landing-system : lando
2019-07-01 23:42:50 +00:00
Mike Shal
3fc78297a0 Bug 1562258 - Disable tests on instrumented builds; r=froydnj
We don't run any tests on these builds, since they are just used to
generate the profile data for the final build. We can save some time by
skipping all test related code.

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

--HG--
extra : moz-landing-system : lando
2019-07-01 20:09:48 +00:00
Csoregi Natalia
dd29ddd1c8 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-29 16:08:51 +00:00
Brad Arant
550f6e5b6d Bug 1489458 - Remove extraneous console logging in browser.js.;r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D36284

--HG--
extra : moz-landing-system : lando
2019-06-28 12:32:14 +00:00
Eitan Isaacson
e074850ca4 Bug 1558289 - Dispatch accessibility focus events when focusing hovered node. r=geckoview-reviewers,snorp
This patch works around a case where the node that we want to set a11y
focus to is input focused, and the gecko a11y virtual cursor is set to
it.

In gecko a11y we don't have a distinction of hover/a11y focus like in
Android, the virtual cursor is already set to the position through the
explore by touch and sends a HOVER_ENTER to android. An accessibility
service will typically listen for thos events and then explicitly
request a11y focus on the node. Since it is internally already set, it
would result in a no-op and no event will be dispatched.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 21:21:42 +00:00
shindli
5715d5b394 Backed out 2 changesets (bug 1557269) for causing bustage because of maven zip not being found CLOSED TREE
Backed out changeset e3d495f69dfb (bug 1557269)
Backed out changeset b469d332f316 (bug 1557269)
2019-07-01 18:10:05 +03:00
Andrei Lazar
bbcf0bde8c Bug 1562622 Startup crash - java.lang.IllegalStateException: This ViewTreeObserver is not alive, call getViewTreeObserver() again r=petru
Now checking the global view tree observer to see if it's alive in order to unsubscribe from further
notifications.

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

--HG--
extra : moz-landing-system : lando
2019-07-01 13:03:37 +00:00
Johan Lorenzo
45b8110131 Bug 1557269 - part 1: Remove target.maven.zip r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D34865

--HG--
extra : moz-landing-system : lando
2019-07-01 14:01:13 +00:00
ksenia
48253641cb Bug 1562248 - scrolling in Gmail fix and some ua overrides removal for webcompat go faster r=denschub,rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D36347

--HG--
extra : moz-landing-system : lando
2019-07-01 08:35:53 +00:00
Tom Ritter
cb9ccdf33d Bug 1538072 - Crash if a null principal or a non-file uri tries to load a file:// uri (ContentParent.cpp case) r=nika
Differential Revision: https://phabricator.services.mozilla.com/D34171

--HG--
extra : moz-landing-system : lando
2019-06-28 20:10:03 +00:00
dlee
d1ed4c245a Bug 1531354 - P5. Safe Browsing test entries are directly stored in LookupCache. r=gcp
Create test entries via update introduces performance overhead.
We can store them directly in LookupCache and do not save test entries
to disk.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 19:05:41 +00:00
championshuttler
60ba27adf8 Bug 1536103 - Fix various Sphinx Warning in 'mach doc' (3). r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35314

--HG--
extra : moz-landing-system : lando
2019-06-26 20:00:31 +00:00
Dennis Schubert
d55ffc8976 Bug 1561299 - Import WebCompat GoFaster 4.3.1 with -webkit-scrollbar interventions. r=rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D35805

--HG--
extra : moz-landing-system : lando
2019-06-27 20:24:20 +00:00
Dylan Roeh
6e7c55ee7a Bug 1561135 - Don't automatically enable font inflation when automatic font size adjustment is enabled in GV. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D35819

--HG--
extra : moz-landing-system : lando
2019-06-28 01:12:14 +00:00
Andreea Pavel
6a3541e629 Backed out changeset 3ec2481cd32d (bug 1561135) android build bustages on a CLOSED TREE 2019-06-28 01:47:33 +03:00
Dylan Roeh
faccb486ba Bug 1561135 - Don't automatically enable font inflation when automatic font size adjustment is enabled in GV. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D35819

--HG--
extra : moz-landing-system : lando
2019-06-27 21:50:03 +00:00
Andreea Pavel
ebe2d9e7fd Bug 1546297 - ignored RuntimeSettingsTest.fontSize on pgo r=gbrown
CLOSED TREE

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

--HG--
extra : source : e291257145ad2c459690da0e52c162f785de4c90
extra : histedit_source : 92a20d3a3afb0d55c73183d355109a5cec229bc8
2019-06-27 19:40:22 +00:00
Andreea Pavel
9f0c287f44 Backed out 13 changesets (bug 1546297, bug 1553515) for increasing gv-junit intermittent failures on a CLOSED TREE
Backed out changeset e291257145ad (bug 1546297)
Backed out changeset 080d770c7b35 (bug 1553515)
Backed out changeset bbc184402f36 (bug 1553515)
Backed out changeset 8fe9f5d7fef9 (bug 1553515)
Backed out changeset faa333bb64e2 (bug 1553515)
Backed out changeset 98cf5b0cadf1 (bug 1553515)
Backed out changeset dbbb8fe1ecfb (bug 1553515)
Backed out changeset 84414ac99629 (bug 1553515)
Backed out changeset d3734e6fe22a (bug 1553515)
Backed out changeset 9e9dc0e7afb3 (bug 1553515)
Backed out changeset 3d1a0d412dfd (bug 1553515)
Backed out changeset 2b1f78e255ce (bug 1553515)
Backed out changeset 0c29929cc67c (bug 1553515)
2019-06-28 00:11:50 +03:00
Andreea Pavel
0fd81f05c0 Bug 1546297 - ignored RuntimeSettingsTest.fontSize on pgo r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D36234

--HG--
extra : moz-landing-system : lando
2019-06-27 19:40:22 +00:00
Agi Sferro
21961c2f05 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 19:00:47 +00:00
Agi Sferro
392dbb1d81 Bug 1553515 - Replace loopUntilIdle -> waitForCondition. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32583

--HG--
extra : moz-landing-system : lando
2019-06-27 19:00:45 +00:00
Agi Sferro
523b352f17 Bug 1553515 - Add GeckoResult.accept. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32582

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

--HG--
extra : moz-landing-system : lando
2019-06-27 19:00:35 +00:00
Agi Sferro
afb0f85038 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 19:00:33 +00:00
Agi Sferro
d57b516357 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 19:00:31 +00:00
Agi Sferro
18a5315181 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 19:00:29 +00:00
Agi Sferro
bee429b736 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 19:00:27 +00:00
Agi Sferro
1d0f6f0cca 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 19:00:25 +00:00
Agi Sferro
6724e140bb 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 19:00:23 +00:00
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