Commit Graph

29047 Commits

Author SHA1 Message Date
Ehsan Akhgari
d8ae659ab1 Bug 1590779 - Remove social-tracking-protection-digest256 in preferences and GeckoView; r=englehardt,droeh
Differential Revision: https://phabricator.services.mozilla.com/D50714

--HG--
extra : moz-landing-system : lando
2019-10-28 21:45:31 +00:00
Mihai Alexandru Michis
0b04fad1ae Bug 1581657 - Disable ContentBlockingControllerTest.getLog() on Android 7.0 debug. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D50671

--HG--
extra : moz-landing-system : lando
2019-10-28 15:05:17 +00:00
Emilio Cobos Álvarez
c3dd22054d Bug 1590816 - Don't remove tracked links from GeckoViewHistory. r=lina
And make the assertions consistent with places.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 13:02:35 +00:00
Emilio Cobos Álvarez
b0d6012788 Bug 1590816 - Don't re-initialize GeckoViewHistory's visited timer over and over. r=lina
Otherwise a page which appends links with different hrefs fast enough could
never see the visited state updated, for example.

Depends on D50480

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

--HG--
extra : moz-landing-system : lando
2019-10-25 13:02:28 +00:00
Emilio Cobos Álvarez
f8863b0c94 Bug 1590816 - Cleanup some link coloring APIs to make them infallible when appropriate. r=mak
GeckoView does this link clearing stuff (which is somewhat dubious), but always
used to return NS_OK.

The error handling case in Link.cpp was pretty broken anyway (it'd leave the
link marked as registered), so make that infallible, given we fatally assert in
the non-android case.

NotifyVisited is also infallible so make that infallible too.

There's no need to use NS_IMETHOD gunk when not using scriptable XPCOM, and
these functions are not called from script, so make them regular pure-virtual
functions.

Depends on D50478.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 13:02:25 +00:00
Emilio Cobos Álvarez
ea222cccf7 Bug 1590816 - Various naming and comment cleanups, as suggested in review comments. r=mak
Depends on D50266

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

--HG--
extra : moz-landing-system : lando
2019-10-25 13:02:23 +00:00
Emilio Cobos Álvarez
462ada88ab Bug 1590816 - Move NotifyVisited to BaseHistory. r=mak,lina
Differential Revision: https://phabricator.services.mozilla.com/D50265

--HG--
extra : moz-landing-system : lando
2019-10-25 13:02:20 +00:00
Emilio Cobos Álvarez
b1cb605f8c Bug 1590816 - Move Register and UnregisterVisitedCallback to BaseHistory. r=mak,lina
Differential Revision: https://phabricator.services.mozilla.com/D50264

--HG--
extra : moz-landing-system : lando
2019-10-25 13:02:18 +00:00
Emilio Cobos Álvarez
7c0ed40aed Bug 1590816 - Move History::DispatchNotifyVisited and related code to BaseHistory. r=mak,lina
Interestingly the android implementation had a potentially serious bug (was
missing a script blocker).

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

--HG--
extra : moz-landing-system : lando
2019-10-25 13:02:16 +00:00
Emilio Cobos Álvarez
32427afa56 Bug 1590816 - Introduce mozilla::BaseHistory, and move tracked URIs and a simple function there. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D50262

--HG--
extra : moz-landing-system : lando
2019-10-25 13:02:08 +00:00
Emilio Cobos Álvarez
eee44e6620 Bug 1590816 - Move the tracked URIs hash table to IHistory. r=mak
In preparation for moving all the link coloring code.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 13:02:04 +00:00
Emilio Cobos Álvarez
3538eb4d27 Bug 1590816 - Use the same data structures for GeckoViewHistory and places History. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D50259

--HG--
extra : moz-landing-system : lando
2019-10-25 13:02:02 +00:00
Dylan Roeh
0bbded0263 Bug 1588782 - Fix getWindowByName calls in GeckoViewContentBlockingController.jsm r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D50509

--HG--
extra : moz-landing-system : lando
2019-10-24 22:07:36 +00:00
Emilio Cobos Álvarez
35d02582e7 Bug 1590692 - Make Geckoview history a static component. r=lina
Now that there's only one android history implementation we can make it a static
component.

So do the same as toolkit/components/places/components.conf.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 17:17:24 +00:00
Neil Deakin
e00aa26593 Bug 1567175, move password manager event listener attachment from content framescript to LoginManagerChild, and use the current window instead of the top level window for the argument passed to DOMInputPasswordAdded, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D47826

--HG--
extra : moz-landing-system : lando
2019-10-21 20:26:21 +00:00
Neil Deakin
7410901165 Bug 1567175, support password manager in out of process iframes, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D47825

--HG--
extra : moz-landing-system : lando
2019-10-21 18:18:02 +00:00
Neil Deakin
7cbc074da1 Bug 1567175, rename LoginManagerContent to LoginManagerChild, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D47824

--HG--
rename : toolkit/components/passwordmgr/LoginManagerContent.jsm => toolkit/components/passwordmgr/LoginManagerChild.jsm
extra : moz-landing-system : lando
2019-10-21 18:17:50 +00:00
Neil Deakin
3302428083 Bug 1567175, make LoginManagerContent and LoginManagerParent JS classes,r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D47823

--HG--
extra : moz-landing-system : lando
2019-10-21 18:17:43 +00:00
Emilio Cobos Álvarez
a09b9c5991 Bug 1589327 - Remove GeckoViewNavigationChild. r=snorp
While we're at it...

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

--HG--
extra : moz-landing-system : lando
2019-10-18 18:49:53 +00:00
Emilio Cobos Álvarez
2614699797 Bug 1589327 - Remove more dead code conditional on jni::IsFennec() or similar. r=snorp
Didn't want to remove all the WebAuthn and dynamic toolbar code so I left it
there in case it's useful in the future.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 18:49:51 +00:00
Emilio Cobos Álvarez
3283897d1d Bug 1589327 - Remove Fennec history implementation. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D49586

--HG--
extra : moz-landing-system : lando
2019-10-18 18:49:47 +00:00
Kristen Wright
3d06abd056 Bug 1588650 - Remove duplicate prefs from mobile.js r=njn
Removes all of the duplicate prefs from mobile.js and StaticPrefList.yaml where the `value` field is the same. Carries over comments from mobile.js where needed.

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

--HG--
extra : moz-landing-system : lando
2019-10-17 23:24:14 +00:00
Makoto Kato
9f744d72cd Bug 1565634 - mach install should install GVE as default. r=nalexander
Fennec is removed, but mach install still tries to install Fennec. It should
install GVE instead.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 02:01:26 +00:00
Mike Taylor
0b08adcfbb Bug 1587558 - Import WebCompat GoFaster 6.4.0 sources. r=twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D48902

--HG--
extra : moz-landing-system : lando
2019-10-14 21:23:59 +00:00
Matthew Noorenberghe
87888ef235 Bug 1527828 - Remove insecure password field detection code for the address bar. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D48975

--HG--
extra : moz-landing-system : lando
2019-10-14 20:03:19 +00:00
Oana Pop Rus
501212bba0 Bug 1580223 - Disable trackingProtectionException test on debug platform for frequent failures. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D48923

--HG--
extra : moz-landing-system : lando
2019-10-13 08:02:02 +00:00
Oana Pop Rus
6e60d23c9e Backed out changeset ea7e2f82561c (bug 1580223) for lint failure in ContentBlockingControllerTest.kt on a CLOSED TREE 2019-10-11 07:25:21 +03:00
Oana Pop Rus
16ae8627f0 Bug 1580223 - Disable trackingProtectionException test on debug platform for frequent failures. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D48923

--HG--
extra : moz-landing-system : lando
2019-10-11 03:29:44 +00:00
Ehsan Akhgari
1fd1ce7882 Bug 1587922 - Remove the remnants of the showModalDialog code; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D48892

--HG--
extra : moz-landing-system : lando
2019-10-10 22:59:28 +00:00
Eugen Sawin
b75521375d Bug 1587472 - [1.1] Allocate space for children before adding them to ViewStructure. r=agi,geckoview-reviewers,droeh
Differential Revision: https://phabricator.services.mozilla.com/D48719

--HG--
extra : moz-landing-system : lando
2019-10-10 17:51:21 +00:00
Rob Wu
07c1fc6c27 Bug 1559835 - Remove comment at tabs.update(active:false) r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D48817

--HG--
extra : moz-landing-system : lando
2019-10-10 15:44:41 +00:00
alwu
6157b4eccc Bug 1582802 - part1 : enable new audio focus management on Android Nightly. r=sebastian
In bug 1565689, we have implemented new an audio focus management, which allows us to address audio competition even if those audio happens on different processes.

We can try to enable this new mechanism on Android Nightly first, where we have enabled managing audio competition by default.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 23:55:01 +00:00
Dylan Roeh
1657764793 Bug 1563343 - Do not search for OS protocol handlers in GV; just let Gecko return ERROR_UNKNOWN_PROTOCOL. r=snorp,geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D46311

--HG--
extra : moz-landing-system : lando
2019-10-08 19:05:09 +00:00
John Lin
e1b8252731 Bug 1581902 - p3: expose H.264 HW availability to AndroidBridge. r=esawin
Also rename existing utility functions to reflect that they are for VP8 only.

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

--HG--
extra : moz-landing-system : lando
2019-10-08 17:15:35 +00:00
John Lin
7f69cb2948 Bug 1581902 - p2: add HW H.264 check and rename methods. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D47368

--HG--
extra : moz-landing-system : lando
2019-10-08 17:15:23 +00:00
Ricky Stewart
c010710916 Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=firefox-build-system-reviewers,mshal
(Same content as bad revision https://phabricator.services.mozilla.com/D48230, but with a very small change to config/external/icu/data/moz.build to fix the build breakage.)

Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=833f6a69fcac689488a640b43e8e0bdaa086a56c

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

--HG--
extra : moz-landing-system : lando
2019-10-07 21:15:19 +00:00
Daniel Varga
27d99ab2df Backed out 6 changesets (bug 1581902) for xpcshell failure at xpcshell/rs-blocklist/test_gfxBlacklist_Equal_DriverNew.js. On a CLOSED TREE
Backed out changeset c900fdf28f82 (bug 1581902)
Backed out changeset 92c9ea70040d (bug 1581902)
Backed out changeset 1f588b5bf019 (bug 1581902)
Backed out changeset f837f2c5224f (bug 1581902)
Backed out changeset 44e248976099 (bug 1581902)
Backed out changeset c7dfff053f71 (bug 1581902)
2019-10-07 23:07:36 +03:00
John Lin
a5276b6ecb Bug 1581902 - p3: expose H.264 HW availability to AndroidBridge. r=esawin
Also rename existing utility functions to reflect that they are for VP8 only.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 16:55:01 +00:00
John Lin
4015942753 Bug 1581902 - p2: add HW H.264 check and rename methods. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D47368

--HG--
extra : moz-landing-system : lando
2019-10-01 16:55:08 +00:00
Daniel Varga
052ef806b5 Backed out changeset 8d95f2c8867b (bug 1586358) for build bustage with FATAL ERROR PROCESSING MOZBUILD FILE. On a CLOSED TREE
--HG--
extra : rebase_source : 325fbad2455afc7f693087e75fa57dba79f4d86b
2019-10-07 20:22:08 +03:00
Ricky Stewart
940d91af38 Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=nalexander
This patch doesn't remove all references to GENERATED_FILES, but does remove most of them, leaving only those which can't be trivially translated to the new template.

Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e4a25230c3992b9c5519ceb351fb37f6b2bf605e

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

--HG--
extra : moz-landing-system : lando
2019-10-07 15:31:05 +00:00
arthur.iakab
9349caf8b4 Bug 1580356 - Add back l10n path definition for mobile/android/base. a=bustage-fix 2019-10-05 13:02:35 +03:00
Nick Alexander
c46ec74815 Bug 1580356 - Remove Fennec (Firefox for Android). r=snorp,mshal
This does many things:

1) stops producing (and consuming) `FennecJNI*` JNI wrappers
2) removes the :app and :thirdparty Gradle projects
3) removes relevant pieces of the Gradle target configuration
4) updates lints
5) purges old configurations

After this commit, the `mobile/android` project/application builds
only GeckoView.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 20:55:11 +00:00
James Willcox
99e172a1ac Bug 1577003 - Update CHANGELOG.md and API description r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D47484

--HG--
extra : moz-landing-system : lando
2019-10-04 17:54:43 +00:00
James Willcox
d45e43febe Bug 1577003 - Make naming consistent in GeckoView autofill bits r=geckoview-reviewers,agi,esawin
Differential Revision: https://phabricator.services.mozilla.com/D48066

--HG--
rename : mobile/android/modules/geckoview/GeckoViewAutoFill.jsm => mobile/android/modules/geckoview/GeckoViewAutofill.jsm
extra : moz-landing-system : lando
2019-10-04 17:55:54 +00:00
James Willcox
e4bf4e9cdc Bug 1577003 - Handle Android autofill service in GeckoView class r=geckoview-reviewers,esawin
This also adds `GeckoView.setAutofillEnabled()`, which is enabled by
default. Apps can disable this if they don't want to use the Android
autofill service. This will allow them to set their own
`AutofillDelegate` on the `GeckoSession` and provide their own
autofill implementation.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 17:54:39 +00:00
James Willcox
e1ff7e07eb Bug 1577003 - Add GeckoSession.getAutofillElements() r=geckoview-reviewers,esawin,agi
This is an alternative to `GeckoSession.provideAutofillVirtualStructure()`
that does not rely on the `ViewStructure` class. This is necessary to
support autofill functionality on older devices or without involving
the Android autofill service.

This patch also moves the existing autofill tests into
AutofillDelegateTest.kt and converts them to use this new API
instead of the `ViewStructure` one. This allows us to test on devices
lower than SDK 26 (which includes automation). In addition to the API
changes, some tests also needed some greening up.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 17:55:26 +00:00
James Willcox
05c1575597 Bug 1577003 - Move autofill stuff from TextInputDelegate into AutofillDelegate r=geckoview-reviewers,agi,esawin
This also moves `autofill()` and `provideAutofillVirtualStructure()`
into `GeckoSession`.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 17:54:36 +00:00
shindli
6b69a26a4e Backed out changeset ed94e4749e4d (bug 1586205) for causing linting failure in /builds/worker/checkouts/gecko/mobile/android/base/java/org/mozilla/gecko/mma/LeanplumVariables.java CLOSED TREE 2019-10-04 19:30:14 +03:00
Vlad Baicu
0e1885d861 Bug 1586205 - Change LP variables to fallback to same nonLP defaults.r=petru
Differential Revision: https://phabricator.services.mozilla.com/D48184

--HG--
extra : moz-landing-system : lando
2019-10-04 14:32:40 +00:00