Commit Graph

30746 Commits

Author SHA1 Message Date
Shane Caraveo
957cb7e5e2 Bug 1706398 implement action support and alias browser_action to action. r=robwu,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D113461
2021-06-15 14:51:12 +00:00
owlishDeveloper
9440a70da9 Bug 1699794 - [2.0] Add address autocomplete tests r=geckoview-reviewers,agi
Depends on D109139

Differential Revision: https://phabricator.services.mozilla.com/D109137
2021-06-15 13:59:59 +00:00
Kris Maglione
ae436f55ec Bug 1646560: Part 2 - Move allowJavascript and friends from DocShell to BrowsingContext and WindowContext. r=jdescottes,nika,geckoview-reviewers,devtools-backward-compat-reviewers,agi
This is slightly complicated by the fact that the editor code wants to be able
to set this from the content process, so we really need separate
BrowsingContext and WindowContext flags, the latter of which can be set by the
owning process.

Differential Revision: https://phabricator.services.mozilla.com/D114899
2021-06-15 04:40:11 +00:00
Makoto Kato
75d5eab147 Bug 1711501 - Clean up browser.properties. r=geckoview-reviewers,agi
Extension.jsm, ContextualIdentityService.jsm and GeckoViewConsole.jsm still reference browser.properties.

Depends on D117622

Differential Revision: https://phabricator.services.mozilla.com/D117623
2021-06-15 03:00:54 +00:00
Makoto Kato
91cbe3c73a Bug 1711501 - Remove Fennec's character encoding menu preference. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D117622
2021-06-15 03:00:54 +00:00
Makoto Kato
714e4c72eb Bug 1715947 - Don't call callback after GeckoHlsPlayer is released. r=jolin
`GeckoHlsPlayer.release()` releases `ExoPlayer` object on player thread. But it
doesn't wait for whether it calls stop and callback is released. But
`HLSDecoder` calls `GeckoHLSResourceWrapper.destroy()` then dispose JNI
callback object immediately. So `GeckoHlsPlayer` may calls callback even if
callback is disposed.

We should check `mReleasing` before calling callback.

Differential Revision: https://phabricator.services.mozilla.com/D117505
2021-06-14 02:17:57 +00:00
Butkovits Atila
2d737038f6 Backed out changeset a6ec3acd5daf (bug 1543720) for causing failures at dlharness.window.html. CLOSED TREE 2021-06-12 05:16:57 +03:00
Butkovits Atila
a4246aecb0 Backed out changeset c99bb7d3308e (bug 1699794) for causing Mochitest failures in browser_anti_clickjacking.js. CLOSED TREE 2021-06-12 02:41:21 +03:00
Dylan Roeh
8c537c1329 Bug 1543720 - Add support for Storage Access API in GeckoView. r=aklotz,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D116143
2021-06-11 23:15:01 +00:00
owlishDeveloper
001ef39fb7 Bug 1699794 - [2.0] Add address autocomplete tests r=geckoview-reviewers,agi
Depends on D109139

Differential Revision: https://phabricator.services.mozilla.com/D109137
2021-06-11 21:41:09 +00:00
Dorel Luca
7b8732cc36 Backed out changeset 3a5a0d8ea411 (bug 1699794) for Browser-chrome failures in browser/extensions/formautofill/test/browser/browser_autocomplete_footer.js. CLOSED TREE 2021-06-11 08:16:37 +03:00
owlishDeveloper
6e8d713c5a Bug 1699794 - [2.0] Add address autocomplete tests r=geckoview-reviewers,agi
Depends on D109139

Differential Revision: https://phabricator.services.mozilla.com/D109137
2021-06-11 03:58:30 +00:00
Sandor Molnar
9fc83995ba Backed out changeset 7cede79b33b2 (bug 1699794) for causing mochitest failures in browser_autocomplete_footer. CLOSED TREE 2021-06-11 00:10:21 +03:00
owlishDeveloper
0e08522db7 Bug 1699794 - [3.0] Update API changelog r=geckoview-reviewers,agi
Depends on D109137

Differential Revision: https://phabricator.services.mozilla.com/D109138
2021-06-10 20:02:19 +00:00
owlishDeveloper
a7b2c26e2a Bug 1699794 - [2.0] Add address autocomplete tests r=geckoview-reviewers,agi
Depends on D109139

Differential Revision: https://phabricator.services.mozilla.com/D109137
2021-06-10 19:54:05 +00:00
owlishDeveloper
b9108bfd0e Bug 1699794 - [1.0] Extend GV Autocomplete API with address support r=geckoview-reviewers,agi,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D109139
2021-06-10 19:17:11 +00:00
Alexandru Michis
9c0300eebd Backed out changeset 1e76e5ecdfbe (bug 1714614) for causing gtest and gv-junit failures.
CLOSED TREE
2021-06-10 17:35:20 +03:00
Emilio Cobos Álvarez
d883d39471 Bug 1714614 - Send visited query results only to interested processes. r=mak,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D117179
2021-06-10 12:21:42 +00:00
Christoph Kerschbaumer
2df9bc6544 Bug 1714950: Fix test loadWithHTTPSOnlyMode with https-first-mode enabled r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D116990
2021-06-09 19:42:32 +00:00
Emilio Cobos Álvarez
b2f35d2cc0 Bug 1714614 - Avoid some copies of URI arrays in GeckoViewHistory. r=geckoview-reviewers,agi
Also preliminar cleanup.

Depends on D117177

Differential Revision: https://phabricator.services.mozilla.com/D117178
2021-06-08 17:53:04 +00:00
Emilio Cobos Álvarez
af1c25c2fe Bug 1714614 - Remove unused members in GeckoViewHistory. r=geckoview-reviewers,agi
This is just preliminar cleanup.

Differential Revision: https://phabricator.services.mozilla.com/D117177
2021-06-08 17:53:03 +00:00
Brindusan Cristian
19785b8b33 Backed out 3 changesets (bug 1709640) for causing android-4-1-armv7 pgo build bustages.
CLOSED TREE

Backed out changeset d8f2f3cc4da7 (bug 1709640)
Backed out changeset 3a6a274dae0d (bug 1709640)
Backed out changeset decc4edd47f9 (bug 1709640)
2021-06-08 03:58:27 +03:00
Makoto Kato
017277558c Bug 1713588 - Don't sync shadow text during composing. r=geckoview-reviewers,agi
Gecko's text API has a hint whether text change notification is by IME
composing. If by IME composing, it is unnecessary to synchronize it by
onSelectionChange because JavaScript doesn't block/change inputted text.
It means that shadow (Java) text is always matched to Gecko text.

So we don't have to synchronize shadow text during composing.

Differential Revision: https://phabricator.services.mozilla.com/D116476
2021-06-08 00:33:59 +00:00
Agi Sferro
bb1ab4b1d3 Bug 1709640 - Remove unused variables in android/confvars.sh r=nalexander,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D114371
2021-06-07 21:49:07 +00:00
Agi Sferro
63b9850a4c Bug 1709640 - Add GeckoView Lite build variant. r=jmaher,aklotz,mhentges,glandium
This patch adds a new GeckoView build variant dubbed "lite". We are in the
process of adding some optional dependencies to GeckoView that are needed by
Fenix (like Glean and Nimbus) which are likely not going to be used by anyone
else at Mozilla. To avoid bloating third party consumers, we provide a
geckoview-lite build that doesn't contain any optional dependency.

The min SDK version of GeckoView (non-lite) is being increased to 21 to match
Glean's min SDK. Given that Fenix's min SDK version is already 21 and that the
lite version's min SDK is still at 16 this change is safe to do and will not
incur in any loss of usability.

Differential Revision: https://phabricator.services.mozilla.com/D114370
2021-06-07 21:49:07 +00:00
Dylan Roeh
eaaaa8490a Bug 1712754 - Do not autogrant permissions in GV push notification code. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D116293
2021-06-07 17:57:26 +00:00
Dylan Roeh
bbdf0480b8 Bug 1699480 - Add string-based setPermission with deprecation schedule so AC can import old permissions. r=agi,geckoview-reviewers
Depends on D113422

Differential Revision: https://phabricator.services.mozilla.com/D114264
2021-06-07 17:57:26 +00:00
Dylan Roeh
6631b713ec Bug 1699480 - Update GV changelog for permissions API changes. r=geckoview-reviewers,agi
Depends on D113421

Differential Revision: https://phabricator.services.mozilla.com/D113422
2021-06-07 17:57:25 +00:00
Dylan Roeh
5f6ea1b21b Bug 1699480 - Add tests for new GV permission functionality. r=geckoview-reviewers,agi
Depends on D113134

Differential Revision: https://phabricator.services.mozilla.com/D113421
2021-06-07 17:57:25 +00:00
Dylan Roeh
c5afb9285f Bug 1699480 - Deprecate most existing TP exception API in GV and migrate it to new permissions API; also allow for importing/exporting ContentPermissions as JSONObjects. r=agi,geckoview-reviewers,aklotz
Depends on D112042

Differential Revision: https://phabricator.services.mozilla.com/D113134
2021-06-07 17:57:24 +00:00
Dylan Roeh
9aee13c478 Bug 1699480 - Add setPermission, update onContentPermissionRequest to use ContentPermission, and let Gecko manage and persist permissions in GV. r=agi,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D112042
2021-06-07 17:57:24 +00:00
Alexandru Michis
e8904db16a Backed out 5 changesets (bug 1699480) for causing lint failures.
CLOSED TREE

Backed out changeset 5ed626994de6 (bug 1699480)
Backed out changeset e4be23f4dbe9 (bug 1699480)
Backed out changeset 68b5f5c2f1e6 (bug 1699480)
Backed out changeset 425aa354f1ca (bug 1699480)
Backed out changeset e3005001299c (bug 1699480)
2021-06-07 20:52:25 +03:00
Brindusan Cristian
5cf5cf50d5 Backed out changeset 6815d3239524 (bug 1712754) for causing lint failures in StorageController.java. CLOSED TREE 2021-06-07 20:30:47 +03:00
Dylan Roeh
088158ede7 Bug 1712754 - Do not autogrant permissions in GV push notification code. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D116293
2021-06-07 17:02:28 +00:00
Dylan Roeh
a139dfb77a Bug 1699480 - Add string-based setPermission with deprecation schedule so AC can import old permissions. r=agi,geckoview-reviewers
Depends on D113422

Differential Revision: https://phabricator.services.mozilla.com/D114264
2021-06-07 17:02:28 +00:00
Dylan Roeh
4e374809d5 Bug 1699480 - Update GV changelog for permissions API changes. r=geckoview-reviewers,agi
Depends on D113421

Differential Revision: https://phabricator.services.mozilla.com/D113422
2021-06-07 17:02:28 +00:00
Dylan Roeh
a8706c49cc Bug 1699480 - Add tests for new GV permission functionality. r=geckoview-reviewers,agi
Depends on D113134

Differential Revision: https://phabricator.services.mozilla.com/D113421
2021-06-07 17:02:27 +00:00
Dylan Roeh
45c8708b61 Bug 1699480 - Deprecate most existing TP exception API in GV and migrate it to new permissions API; also allow for importing/exporting ContentPermissions as JSONObjects. r=agi,geckoview-reviewers,aklotz
Depends on D112042

Differential Revision: https://phabricator.services.mozilla.com/D113134
2021-06-07 17:02:27 +00:00
Dylan Roeh
648ddb2f54 Bug 1699480 - Add setPermission, update onContentPermissionRequest to use ContentPermission, and let Gecko manage and persist permissions in GV. r=agi,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D112042
2021-06-07 17:02:26 +00:00
Julian Descottes
5f47d42219 Bug 1714348 - [marionette] Update chrome imports for Marionette modules to /remote/content/marionette r=webdriver-reviewers,Gijs,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D116732
2021-06-07 10:08:24 +00:00
Makoto Kato
19830e553c Bug 1711626 - Don't set InputType.TYPE_TEXT_FLAG_CAP_SENTENCES for some types. r=geckoview-reviewers,agi
Actually, we set auto-capitalize flag if current `<input>` element isn't text
due to bug 871884.

Most 3rd party keyboard ignores this flag if it is password. But Samsung's
default keyboard uses this flag even if this is password.

So we shouldn't set auto-capitalize flag if `<input>` element is password.

Also, we also set this on `type=email` and `type=url`. But when I check Chrome
behaviour, they don't set this flag on these types. So I would like not to set
this flag to these types too.

Differential Revision: https://phabricator.services.mozilla.com/D115677
2021-06-07 04:34:28 +00:00
Makoto Kato
c8a63999d9 Bug 1713354 - Destroy previous text transactions when Gecko requests to synchronize all text. r=geckoview-reviewers,agi
https://accounts.firefox.com runs the following script.

```
input.addEventListener("keyup", () => {
  // Update <datalist>

  temporaryElement.focus();
  input.focus();
}
```

Since `input.focus()` is called, `GeckoViewSupport` sends current value of
focused `<input>` element to `GeckoEditable`, but we don't cancel previous
text transaction unfortunately. Then it may cause unexpected behaviours such
as reported issue.

So we should dispose previous text transaction when getting new focus.

Also it is difficult to write unit test for this. Because,
- Mochitest cannot test this since this issue is native IME behaviour.
- No way to create this timing on geckoview-junit.

Differential Revision: https://phabricator.services.mozilla.com/D116681
2021-06-07 03:53:37 +00:00
Agi Sferro
65b64cb3e0 Bug 1709640 - Rename android-api-16 to android-arm. r=marionette-reviewers,firefox-build-system-reviewers,nalexander,whimboo,aklotz,releng-reviewers,mhentges,glandium,mtabara
We don't offer API splits any more, and with the separation of GeckoView with
the rest of the front-end it's increasingly unlikely that we will in the
future.

This change makes it so that the build name doesn't contain the API version so
that we can update it without breaking all the automation that relies on the
build name.

Differential Revision: https://phabricator.services.mozilla.com/D114369
2021-06-04 22:31:14 +00:00
Sandor Molnar
2a126fe036 Backed out changeset 453cb34e4a4a (bug 1709640) for causing linting failures in perfdocs/config. CLOSED TREE 2021-06-05 01:00:19 +03:00
Agi Sferro
ecf4f5f0ad Bug 1709640 - Rename android-api-16 to android-arm. r=marionette-reviewers,firefox-build-system-reviewers,nalexander,whimboo,aklotz,releng-reviewers,mhentges,glandium,mtabara
We don't offer API splits any more, and with the separation of GeckoView with
the rest of the front-end it's increasingly unlikely that we will in the
future.

This change makes it so that the build name doesn't contain the API version so
that we can update it without breaking all the automation that relies on the
build name.

Differential Revision: https://phabricator.services.mozilla.com/D114369
2021-06-04 21:20:56 +00:00
Rob Wu
7652aacc5a Bug 1706391 - Disable blocklist v2 by default r=Gijs,geckoview-reviewers,aklotz
- Require the blocklist v3 everywhere except on Android,
  as Android support will be done in bug 1639050.
  On Firefox desktop it is not possible to switch back to blocklist v2.

- The application size (Firefox/Thunderbird) shrinks by 1 MB
  because the addons.json dump no longer needs to be packaged.

- Thunderbird will now use blocklist v3 instead of v2.
  Doesn't matter because it didn't use the blocklist in practice.

Differential Revision: https://phabricator.services.mozilla.com/D116418
2021-06-04 20:03:27 +00:00
Brindusan Cristian
be4ce39d9a Backed out 5 changesets (bug 1706391) for xpcshell failures at test_gfxBlacklist_Equal_DriverNew.js.
CLOSED TREE

Backed out changeset ccd2f9b9c513 (bug 1706391)
Backed out changeset 4abbf0ced8b8 (bug 1706391)
Backed out changeset 51ed9a912826 (bug 1706391)
Backed out changeset 90724663c6c4 (bug 1706391)
Backed out changeset 6d733a44225a (bug 1706391)
2021-06-04 22:28:37 +03:00
Rob Wu
64c804f78d Bug 1706391 - Disable blocklist v2 by default r=Gijs,geckoview-reviewers,aklotz
- Require the blocklist v3 everywhere except on Android,
  as Android support will be done in bug 1639050.
  On Firefox desktop it is not possible to switch back to blocklist v2.

- The application size (Firefox/Thunderbird) shrinks by 1 MB
  because the addons.json dump no longer needs to be packaged.

- Thunderbird will now use blocklist v3 instead of v2.
  Doesn't matter because it didn't use the blocklist in practice.

Differential Revision: https://phabricator.services.mozilla.com/D116418
2021-06-04 18:16:38 +00:00
Timothy Nikkel
1d3ddabcf8 Bug 1551302. Enable visual viewport on desktop platforms. r=botond,smaug,geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D115955
2021-06-01 07:56:49 +00:00
R. Martinho Fernandes
7ea1bcd018 Bug 1597600 - make certificate overrides depend on origin attributes r=keeler,geckoview-reviewers,smaug,agi
Differential Revision: https://phabricator.services.mozilla.com/D91962
2021-06-01 06:55:07 +00:00