Commit Graph

26024 Commits

Author SHA1 Message Date
Andreas Pehrson
3f339deda4 Bug 1616729 - Show top window's document origin to users when requesting media device permissions. r=geckoview-reviewers,johannh,agi
This is similar to what we do on desktop.

Differential Revision: https://phabricator.services.mozilla.com/D92239
2020-10-07 21:42:22 +00:00
Andreas Pehrson
b63c589e27 Bug 1616729 - Use the top window's document origin for requesting camera permissions. r=geckoview-reviewers,johannh,agi
Differential Revision: https://phabricator.services.mozilla.com/D92238
2020-10-07 21:42:40 +00:00
Andreas Pehrson
68ab8f8c2d Bug 1616729 - Add geckoview-junit test for cross-origin subframe gUM request with allow/no-allow. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D92763
2020-10-07 19:18:39 +00:00
Gijs Kruitbosch
632a61a42f Bug 1668586 - stop messing with web progress listeners when changing remoteness, r=mattwoodrow,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D92514
2020-10-07 20:39:33 +00:00
Agi Sferro
7ebe27ddd5 Bug 1667811 - Fix typo in E10SUtils.redirectLoad. r=esawin,nika
Differential Revision: https://phabricator.services.mozilla.com/D92668
2020-10-06 20:45:00 +00:00
Eugen Sawin
4182c16fd3 Bug 1663039 - [2.0] Add GV test to verify autofillEnabled setting is respected. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D92245
2020-10-06 17:53:14 +00:00
Georg Koppen
ef16182aa2 Bug 1667948 - Don't break fat .aar creation if MOZ_ANDROID_FAT_AAR_ARCHITECTURES is set r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D92551
2020-10-06 16:13:36 +00:00
Brindusan Cristian
c992a99524 Backed out 2 changesets (bug 1549418) for causing android bpgo exceptions. CLOSED TREE
Backed out changeset b2c7cf464308 (bug 1549418)
Backed out changeset bb3cee345d37 (bug 1549418)
2020-10-03 13:35:35 +03:00
Tim Giles
a0ab1f9aba Bug 1134852 - Update password manager recipes from Remote Settings. r=sfoster,leplatrem,geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D89821
2020-10-02 19:45:03 +00:00
James Willcox
ac966a1df8 Bug 1549418 - Hook up WebAuthn support for GeckoView r=geckoview-reviewers,jcj,agi
This mostly just refactors the stuff we had for Fennec.

We add a dependency on Google Play Services here, but care
is taken to ensure that things will fail gracefully if
Play Services are not present at runtime.

Differential Revision: https://phabricator.services.mozilla.com/D91446
2020-10-02 15:43:41 +00:00
James Willcox
4312bd0da2 Bug 1549418 - Add GeckoRuntime.ActivityDelegate r=geckoview-reviewers,agi,esawin
This allows GeckoView to ask the embedding application to launch
other Activities on our behalf and collect the result. We need
this to invoke the FIDO authentication tools for WebAuthn.

Differential Revision: https://phabricator.services.mozilla.com/D91445
2020-10-02 15:43:39 +00:00
Daniel Le
657fbf74ca Bug 1667675 - Use sourceSets instead of JavaCompileProvider to generate sources.jar. r=agi
Documentation is lacking but apparently
`variant.javaCompileProvider.get().source` is always empty according to
da34aabdb6.

In that commit, `android.sourceSets.main.java.srcDirs` was the
replacement. However, I used
`variant.sourceSets.collect({ it.java.srcDirs }).flatten()` to be
consistent with an earlier usage in `build.gradle`.

Differential Revision: https://phabricator.services.mozilla.com/D91836
2020-10-01 00:12:00 +00:00
Eugen Sawin
4730cbf48f Bug 1647522 - [1.0] Dispatch onFullscreen without metadata when there is an existing media session. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D91476
2020-10-01 13:30:53 +00:00
Agi Sferro
ed076be423 Bug 1660241 - Add GeckoRuntimeSetting for SafeBrowsing provider. r=droeh,dimi,snorp
Differential Revision: https://phabricator.services.mozilla.com/D91200
2020-09-30 19:54:47 +00:00
Agi Sferro
7c9a70d488 Bug 1660241 - Traverse children of arbitrary degree in RuntimeSettings. r=snorp
When collecting prefs from a RuntimeSettings we only consider children of the
instance. This change makes it so we traverse the whole tree, collecting
childrens of children, etc.

Differential Revision: https://phabricator.services.mozilla.com/D91674
2020-09-30 19:57:28 +00:00
Sylvestre Ledru
31b3856da6 Bug 1667831 - doc: fix more pygments r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D91868
2020-09-30 07:03:41 +00:00
Aaron Klotz
45df22c22b Bug 1637351: Add onKill handler to GVE; r=geckoview-reviewers,agi
Since GVE is supposed to be an exemplar for using GV the Right Way (TM), we
add an `onKill` handler that checks whether the killed session is current, and
does not restore the session if it is in the background.

When switching sessions, we add a check to see whether the session was closed,
and reopen it if so.

Differential Revision: https://phabricator.services.mozilla.com/D91465
2020-09-30 00:15:57 +00:00
Sylvestre Ledru
6be67c14c4 Bug 1667831 - doc: refresh links as many pages moved in-tree r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D91619
2020-09-29 17:53:54 +00:00
Aaron Klotz
212a3b1adf Bug 1666639: Part 3 - Remove unused Parcel import from GVE's TabSession class; r=geckoview-reviewers,agi
Depends on D91764

Differential Revision: https://phabricator.services.mozilla.com/D91765
2020-09-29 16:22:07 +00:00
Aaron Klotz
9dbedb9ac2 Bug 1666639: Part 2 - Remove vestigial parceling code from gtest harness; r=geckoview-reviewers,agi
This code is no longer needed now that `GeckoSession`'s `Parcelable` support
and its tests have been removed.

Depends on D91763

Differential Revision: https://phabricator.services.mozilla.com/D91764
2020-09-29 16:21:37 +00:00
Aaron Klotz
8ed5fe6fab Bug 1666639: Part 1 - Remove vestigial GeckoSession.transferFrom and GeckoSession.transfer methods; r=geckoview-reviewers,agi
Since we removed `Parcelable` support from `GeckoSession`, these methods are
no longer used and may be removed.

Differential Revision: https://phabricator.services.mozilla.com/D91763
2020-09-29 16:21:19 +00:00
Nicolas Chevobbe
056b9542f2 Bug 1573779 - [devtools] Rename WorkerTargetActorList to WorkerDescriptorActorList. r=jdescottes.
This class is creating (and handling) WorkerDescriptorActor now, so we rename
it to make it explicit.

Differential Revision: https://phabricator.services.mozilla.com/D91557
2020-09-29 14:31:10 +00:00
Ricky Stewart
2bb808e369 Bug 1667896 - Remove MOZ_ANDROID_DISTRIBUTION_DIRECTORY r=nalexander
This config value is evidently a Fennec thing that isn't used anywhere any more.

Differential Revision: https://phabricator.services.mozilla.com/D91647
2020-09-29 01:51:13 +00:00
Dorel Luca
f826d52619 Backed out 3 changesets (bug 1573779, bug 1662734) for Geckoview failures. CLOSED TREE
Backed out changeset 0adff4f08b28 (bug 1662734)
Backed out changeset c6bb84f2a032 (bug 1573779)
Backed out changeset 0c605800aa6b (bug 1573779)
2020-09-29 12:59:39 +03:00
Nicolas Chevobbe
bda0dabd83 Bug 1573779 - [devtools] Rename WorkerTargetActorList to WorkerDescriptorActorList. r=jdescottes.
This class is creating (and handling) WorkerDescriptorActor now, so we rename
it to make it explicit.

Differential Revision: https://phabricator.services.mozilla.com/D91557
2020-09-29 01:54:32 +00:00
Dorel Luca
dfd9c0f72f Backed out changeset b195f27085be (bug 1637351) for causing perma Raptor failures on Android. CLOSED TREE 2020-09-29 09:49:47 +03:00
Agi Sferro
7229456ee2 Bug 1654598 - Use bundle instead of string list for headers. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D91454
2020-09-29 01:36:24 +00:00
Cosmin Sabou
7cc4032397 Backed out changeset 240be767db48 (bug 1654598) for eslint failure on GeckoViewNavigation.jsm. CLOSED TREE
DONTBUILD
2020-09-29 04:15:49 +03:00
Agi Sferro
e4866c41ee Bug 1654598 - Use bundle instead of string list for headers. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D91454
2020-09-25 16:37:45 +00:00
Aaron Klotz
be2f3c6746 Bug 1637351: Add onKill handler to GVE; r=geckoview-reviewers,agi
Since GVE is supposed to be an exemplar for using GV the Right Way (TM), we
add an `onKill` handler that checks whether the killed session is current, and
does not restore the session if it is in the background.

When switching sessions, we add a check to see whether the session was closed,
and reopen it if so.

Differential Revision: https://phabricator.services.mozilla.com/D91465
2020-09-28 20:27:29 +00:00
Bogdan Tara
bcbeffc44f Backed out changeset 860002a7a547 (bug 1660241) for ContentBlockingControllerTest.safeBrowsingSettings failures CLOSED TREE 2020-09-28 20:10:51 +03:00
Agi Sferro
0221eaea04 Bug 1660241 - Add GeckoRuntimeSetting for SafeBrowsing provider. r=droeh,dimi,snorp
Differential Revision: https://phabricator.services.mozilla.com/D91200
2020-09-28 14:26:04 +00:00
owlishDeveloper
9660b2c08a Bug 1666013 - Use map with lower-case keys in WebMessage to make APIs easier to use r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D91168
2020-09-25 15:27:49 +00:00
owlishDeveloper
04b46a3c4c Bug 1666013 - Add convenience headers to download web response r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D90906
2020-09-25 15:27:42 +00:00
Eugen Sawin
bd8146fe35 Bug 1666609 - [2.0] Add Media Session onFullscreen test. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D91055
2020-09-25 14:17:37 +00:00
Eugen Sawin
0f6df7df2b Bug 1666609 - [1.0] Fix undefined function call in onFullscreen handling. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D91054
2020-09-25 14:17:29 +00:00
Dan Minor
234fe8f57a Bug 1665166 - Fix paths in build.gradle; r=snorp
Depends on D91323

Differential Revision: https://phabricator.services.mozilla.com/D91324
2020-09-24 19:53:33 +00:00
Eugen Sawin
60dbeb9ea2 Bug 1658937 - [3.2] Update changelog. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D90912
2020-09-24 21:21:17 +00:00
Eugen Sawin
65e9885457 Bug 1658937 - [2.4] Update tests to work with the WebIDL events. r=geckoview-reviewers,agi,alwu
Differential Revision: https://phabricator.services.mozilla.com/D89820
2020-09-24 21:21:09 +00:00
Eugen Sawin
7508b5bd23 Bug 1658937 - [1.5] Move media controls to WebIDL. r=geckoview-reviewers,agi,alwu
Differential Revision: https://phabricator.services.mozilla.com/D89819
2020-09-24 21:21:02 +00:00
Agi Sferro
b48d6cf03e Bug 1624410 - Add WebExtension.MetaData.temporary. r=esawin,snorp
This allows embedders to know when an extension is installed temporarily so
that they can allow it even if they would normally do it (e.g. for extensions
installed with web-ext).

Differential Revision: https://phabricator.services.mozilla.com/D91071
2020-09-23 18:35:05 +00:00
Bogdan Tara
98201431da Backed out 4 changesets (bug 1624410, bug 1658937) for gv-junit failures CLOSED TREE
Backed out changeset 48126ab6653f (bug 1624410)
Backed out changeset eef492b1405c (bug 1658937)
Backed out changeset d00dc8d2956c (bug 1658937)
Backed out changeset 525ef78d1586 (bug 1658937)
2020-09-23 21:04:19 +03:00
Agi Sferro
416eb4c6d4 Bug 1624410 - Add WebExtension.MetaData.temporary. r=esawin,snorp
This allows embedders to know when an extension is installed temporarily so
that they can allow it even if they would normally do it (e.g. for extensions
installed with web-ext).

Differential Revision: https://phabricator.services.mozilla.com/D91071
2020-09-23 17:40:16 +00:00
Eugen Sawin
d986af73f6 Bug 1658937 - [3.1] Update changelog. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D90912
2020-09-23 14:01:02 +00:00
Eugen Sawin
575e911d14 Bug 1658937 - [2.3] Update tests to work with the WebIDL events. r=geckoview-reviewers,agi,alwu
Differential Revision: https://phabricator.services.mozilla.com/D89820
2020-09-23 14:01:00 +00:00
Eugen Sawin
944c799928 Bug 1658937 - [1.4] Move media controls to WebIDL. r=geckoview-reviewers,agi,alwu
Differential Revision: https://phabricator.services.mozilla.com/D89819
2020-09-23 14:00:57 +00:00
Csoregi Natalia
9fefb5edac Backed out 3 changesets (bug 1658937) for bustage on missing MediaSessionNatives.h. CLOSED TREE
Backed out changeset 031b4f94e7f7 (bug 1658937)
Backed out changeset 8d6b4239dacb (bug 1658937)
Backed out changeset 9d9674f18f0c (bug 1658937)
2020-09-23 06:14:19 +03:00
Eugen Sawin
602ae8ee46 Bug 1658937 - [3.0] Update changelog. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D90912
2020-09-22 20:58:34 +00:00
Eugen Sawin
ee4433ddf8 Bug 1658937 - [2.2] Update tests to work with the WebIDL events. r=geckoview-reviewers,agi,alwu
Differential Revision: https://phabricator.services.mozilla.com/D89820
2020-09-22 20:58:27 +00:00
Eugen Sawin
9b361e576c Bug 1658937 - [1.3] Move media controls to WebIDL. r=geckoview-reviewers,agi,alwu
Differential Revision: https://phabricator.services.mozilla.com/D89819
2020-09-22 20:58:19 +00:00