Граф коммитов

30364 Коммитов

Автор SHA1 Сообщение Дата
Makoto Kato 1ef677536a Bug 1682565 - Remove unused remained Fennec L10N resources. r=geckoview-reviewers,agi
`devicePrompt.properties` ... Presentation API UI frontend for Fennec.
`phishing.dtd` ... Safe browsing API UI on Fennec.
`pippki.properties` ... NSS Dialog UI such as importing certificate of Fennec.
`sync.properties` ... Firefox sync UI on Fennec.
`webcompatReporter.properties` - Web compat addon on Fennec

`passwordmgr.properties` still be referenced from `LoginManagerPrompter.jsm`.
So, I'm not sure we should keep this.

Differential Revision: https://phabricator.services.mozilla.com/D99798
2020-12-17 16:45:42 +00:00
Emilio Cobos Álvarez 9715d1f96c Bug 1475316 - Rename -moz-autofill to just autofill. r=geckoview-reviewers,esawin,boris
No compat impact, as this remains an internal pseudo-class for the time
being.

Differential Revision: https://phabricator.services.mozilla.com/D99295
2020-12-16 08:16:08 +00:00
Dorel Luca 67c6219a2e Backed out changeset a9b7489b5a3a (bug 1475316) for Browser-chrome failures in browser/base/content/test/static/browser_parsable_css.js. CLOSED TREE 2020-12-16 03:42:27 +02:00
owlishDeveloper bec56f900f Bug 1665157 - Remove deprecated onExternalResponse API r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D99829
2020-12-15 20:08:26 +00:00
Emilio Cobos Álvarez 92c6fb3495 Bug 1475316 - Rename -moz-autofill to just autofill. r=geckoview-reviewers,esawin,boris
No compat impact, as this remains an internal pseudo-class for the time
being.

Differential Revision: https://phabricator.services.mozilla.com/D99295
2020-12-15 19:39:59 +00:00
Emilio Cobos Álvarez f4c5f128e9 Bug 1635914 - Remove GeckoView workaround. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D99581
2020-12-15 18:28:44 +00:00
Eugen Sawin 7c4abef929 Bug 1677838 - [1.1] Verify the image resource size string is valid before accepting it. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D97801
2020-12-08 21:07:30 +00:00
Razvan Maries 305a4b2b0e Backed out changeset e764199bb911 (bug 1677838) for Lint failure on ImageResource.java. CLOSED TREE 2020-12-08 20:55:28 +02:00
Eugen Sawin e0d704418a Bug 1677838 - [1.0] Verify the image resource size string is valid before accepting it. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D97801
2020-12-08 18:26:20 +00:00
Bogdan Tara ade4d82c59 Backed out changeset 98c3e6255c58 (bug 1597600) for browser_installssl.js failures CLOSED TREE 2020-12-07 21:01:50 +02:00
R. Martinho Fernandes c99fe51d2d Bug 1597600 - make certificate overrides depend on origin attributes r=keeler,geckoview-reviewers,smaug,agi
Differential Revision: https://phabricator.services.mozilla.com/D91962
2020-12-07 17:10:52 +00:00
Geoff Brown bebfc32efd Bug 1643448 - Add ACCESS_WIFI_STATE permission and disable failing tests in dom/presentation; r=geckoview-reviewers,bc,agi
Add the permission to the geckoview manifest, as previously attempted. Also disable failing tests
to enable a green test run. Add permission to adb.py grants list for good measure.

Differential Revision: https://phabricator.services.mozilla.com/D98809
2020-12-07 16:09:06 +00:00
owlishDeveloper f2128d3927 Bug 1680622 - Remove dead code r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D98833
2020-12-05 02:51:09 +00:00
Agi Sferro 7c25d2ff06 Bug 1625233 - Add smoke test for browsingData.settings. r=robwu,owlish
Depends on D96154

Differential Revision: https://phabricator.services.mozilla.com/D98368
2020-12-04 21:43:24 +00:00
Agi Sferro be73b6f3a4 Bug 1625233 - Implement ext-browsingData on Android. r=robwu,owlish,droeh
Depends on D96152

Differential Revision: https://phabricator.services.mozilla.com/D96153
2020-12-04 21:07:58 +00:00
Agi Sferro 7afeed9b20 Bug 1625233 - Add EventCallback.resolveTo. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D96150
2020-12-04 20:52:45 +00:00
Agi Sferro 167d5effe6 Bug 1672262 - Remove workaround for duplicated START events. r=aklotz
The underlying problem has been fixed in Bug 1661833.

Differential Revision: https://phabricator.services.mozilla.com/D98686
2020-12-04 20:11:13 +00:00
Agi Sferro 242368746a Bug 1644561 - Add stress test for capturePixels(). r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D80759
2020-09-12 01:09:54 +00:00
Chris Martin 886c2c65a8 Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz
Currently, the gamepad code uses a uint32_t as a handle and does some trickery
with it by trying to create a unique ID and adding an offset to it for VR code.

This can (and has) led to errors where the developer forgets to perform the
arithmetic and sends the wrong number to the wrong manager.

This change created a strongly-typed handle that remembers which service it
belongs to. This should eliminate such accidents.

Differential Revision: https://phabricator.services.mozilla.com/D96273
2020-12-02 23:06:05 +00:00
Eugen Sawin 96296324c9 Bug 1679897 - [1.0] Remove GV onActivated order workaround. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D98256
2020-12-01 02:53:51 +00:00
Eugen Sawin 48fe64d4de Bug 1674110 - [1.0] Avoid triggering default metadata events in tests. r=geckoview-reviewers,alwu,agi
Differential Revision: https://phabricator.services.mozilla.com/D98255
2020-12-01 02:52:38 +00:00
Cristina Coroiu f795b6e3c2 Backed out 2 changesets (bug 1654817) on request by aklotz
Backed out changeset bf721cd8ab14 (bug 1654817)
Backed out changeset fb1c314e6394 (bug 1654817)
2020-11-23 19:12:29 +02:00
Simon Giesecke 971b645fe3 Bug 1660470 - Add missing include directives/forward declarations. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
pbz 5d2e319a03 Bug 1338637 - Ask user for confirmation before folder upload. r=Gijs,geckoview-reviewers,baku
Differential Revision: https://phabricator.services.mozilla.com/D95324
2020-11-17 17:15:51 +00:00
Markus Stange 8b72e2eb8d Bug 1677868 - Rename "Java Main Thread" to "AndroidUI (Java)" in the profiler. r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D97378
2020-11-18 23:15:27 +00:00
Razvan Maries efd002addd Backed out 2 changesets (bug 1677396, bug 1677868) for perma failures on browser_startup_syncIPC.js. CLOSED TREE
Backed out changeset e43e56bfbfc6 (bug 1677396)
Backed out changeset 0ecfa354c74c (bug 1677868)
2020-11-19 01:03:25 +02:00
Markus Stange a121e8f0c7 Bug 1677868 - Rename "Java Main Thread" to "AndroidUI (Java)" in the profiler. r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D97378
2020-11-18 21:01:46 +00:00
David Parks e5b505e41d Bug 1675349: Remove unused files following removing plugin support r=jmathies,extension-reviewers,geckoview-reviewers,agi,mixedpuppy
Remove some support files for plugin features and stop building TestPlugins.

Differential Revision: https://phabricator.services.mozilla.com/D95904
2020-11-18 15:56:10 +00:00
Makoto Kato d7c9b6c0fe Bug 1673681 - Software keyboard show/dimiss shouldn't be reentrant. r=geckoview-reviewers,agi
Originally, this issue was bug 1283739. But I guess that this might be
regression by bug 1464096.

Actually, reentrant code seems to be broken now, so I make it simple.

Differential Revision: https://phabricator.services.mozilla.com/D97266
2020-11-18 12:39:42 +00:00
Bogdan Tara 56346a0425 Backed out 19 changesets (bug 1675349) for lint failures on browser_ext_browsingData_pluginData and test_archive CLOSED TREE
Backed out changeset 244e0f2b410c (bug 1675349)
Backed out changeset ba5724069dd4 (bug 1675349)
Backed out changeset 37fca259c7e9 (bug 1675349)
Backed out changeset f2b16caca1fc (bug 1675349)
Backed out changeset 28835d4935be (bug 1675349)
Backed out changeset eb913f58953a (bug 1675349)
Backed out changeset 19e3cb80f469 (bug 1675349)
Backed out changeset d9723f3a3a7e (bug 1675349)
Backed out changeset c888dfcdf70e (bug 1675349)
Backed out changeset 48f153341af6 (bug 1675349)
Backed out changeset 7fc67a9b2932 (bug 1675349)
Backed out changeset 1cee4d97f801 (bug 1675349)
Backed out changeset 59a0cb79c7c1 (bug 1675349)
Backed out changeset 43d349fa37b1 (bug 1675349)
Backed out changeset c84bfb6eae59 (bug 1675349)
Backed out changeset 38e9af69ae57 (bug 1675349)
Backed out changeset 3255c1ab3059 (bug 1675349)
Backed out changeset 2f3eaf9c342c (bug 1675349)
Backed out changeset 769e5c0db4c2 (bug 1675349)
2020-11-18 06:06:36 +02:00
David Parks 47765051d4 Bug 1675349: Remove unused files following removing plugin support r=jmathies,extension-reviewers,geckoview-reviewers,agi,mixedpuppy
Remove some support files for plugin features and stop building TestPlugins.

Differential Revision: https://phabricator.services.mozilla.com/D95904
2020-11-18 03:12:08 +00:00
Johann Hofmann 9272d44515 Bug 1675018 - Part 5 - Use deleteUserInteractionForClearingHistory in GeckoView. r=agi
This uses the new deleteUserInteractionForClearingHistory API in GeckoView to avoid
clearing all storage access API permissions and thus causing purging to clear all cookies
and site data when clearing only history.

Differential Revision: https://phabricator.services.mozilla.com/D96642
2020-11-17 22:25:14 +00:00
Csoregi Natalia af42a4dbc7 Backed out 5 changesets (bug 1675018) for linting failure. CLOSED TREE
Backed out changeset 81e7fe361388 (bug 1675018)
Backed out changeset 7fe621a805eb (bug 1675018)
Backed out changeset 34fd482121f2 (bug 1675018)
Backed out changeset ee836c7f63d4 (bug 1675018)
Backed out changeset 0e09ce61e374 (bug 1675018)
2020-11-17 00:34:27 +02:00
Johann Hofmann f73ecf941f Bug 1675018 - Part 5 - Use deleteUserInteractionForClearingHistory in GeckoView. r=agi
This uses the new deleteUserInteractionForClearingHistory API in GeckoView to avoid
clearing all storage access API permissions and thus causing purging to clear all cookies
and site data when clearing only history.

Differential Revision: https://phabricator.services.mozilla.com/D96642
2020-11-16 19:29:42 +00:00
Razvan Maries d92ef717a6 Backed out 2 changesets (bug 1338637) for perma failures on test_webkitdirectory.html. CLOSED TREE
Backed out changeset 5bddcb99f650 (bug 1338637)
Backed out changeset 5c29fd30af97 (bug 1338637)
2020-11-16 18:49:34 +02:00
Nika Layzell 9ff27adca3 Bug 1671983 - Part 1: Remove now-unused process switching shouldLoadURI methods, r=annyG,geckoview-reviewers,snorp
These methods are no longer necessary, as all loads which can trigger process
switches now go through DocumentChannel.

The shouldLoadURI methods on nsIWebBrowserChrome3 are unfortunately still
necessary as they're used by the disabled-by-default "Single-Site Browser"
feature. In the future this may be possible to clean-up.

Differential Revision: https://phabricator.services.mozilla.com/D94638
2020-11-12 18:00:53 +00:00
pbz 574bf71758 Bug 1338637 - Ask user for confirmation before folder upload. r=Gijs,geckoview-reviewers,agi,baku
Differential Revision: https://phabricator.services.mozilla.com/D95324
2020-11-16 09:33:43 +00:00
Markus Stange 758ee8a36c Bug 1677011 - Add an AndroidVsync class, and use it for the implementation of the Android VsyncSource. r=kats
This allows adding another vsync listener that gets called before the regular VsyncSource.
And it allows adding the listener on the Java UI thread.
The existing infrastructure is pretty adamant about being used on the main thread.

Differential Revision: https://phabricator.services.mozilla.com/D96797
2020-11-13 19:06:50 +00:00
Hiroyuki Ikezoe 9b56e1a377 Bug 1676814 - Revert a2f0dae16c37 to stop crashing on fast fling etc. r=botond,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D96965
2020-11-13 15:21:59 +00:00
Agi Sferro db6763404e Bug 1675644 - Flush extension messages per-session and per-nativeApp. r=esawin
The extension code _tries_ to flush messages when the relevant delegate is attached.

The logic, however, is pretty flawed: we currently only flush runtime-messages
(i.e. not coming from a WebExtension Page) and we flush all messages when the
first delegate is attached, even though there could be messages for different
nativeApp values which don't have a delegate attached yet.

We also erroneusly return a rejected promise to javascript when a message is queued up.

This patch addresses the above by:

- Never rejecting a pending connection request, the connection request will be
  resolved when the delegate for the right nativeApp is attached.
- Making the pending messages queue per-nativeApp and per-session.
- Flushing pending messages when a session delegate is attached.

Differential Revision: https://phabricator.services.mozilla.com/D96645
2020-11-11 22:46:22 +00:00
Csoregi Natalia b76edd489d Backed out changeset 67f8778fe68b (bug 1675644) for causing geckoview failures. CLOSED TREE 2020-11-11 23:59:38 +02:00
Agi Sferro 120761944a Bug 1675644 - Flush extension messages per-session and per-nativeApp. r=esawin
The extension code _tries_ to flush messages when the relevant delegate is attached.

The logic, however, is pretty flawed: we currently only flush runtime-messages
(i.e. not coming from a WebExtension Page) and we flush all messages when the
first delegate is attached, even though there could be messages for different
nativeApp values which don't have a delegate attached yet.

We also erroneusly return a rejected promise to javascript when a message is queued up.

This patch addresses the above by:

- Never rejecting a pending connection request, the connection request will be
  resolved when the delegate for the right nativeApp is attached.
- Making the pending messages queue per-nativeApp and per-session.
- Flushing pending messages when a session delegate is attached.

Differential Revision: https://phabricator.services.mozilla.com/D96645
2020-11-11 18:07:17 +00:00
Dylan Roeh 8abcee089a Bug 1674500 - Remove deprecated content blocking exception code. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D95418
2020-11-11 00:54:40 +00:00
Butkovits Atila 3e4030f9b6 Backed out changeset 92ed8a00d24f (bug 1674500) for lint failures. CLOSED TREE 2020-11-11 02:43:10 +02:00
Dylan Roeh cc299b0f8c Bug 1674500 - Remove deprecated content blocking exception code. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D95418
2020-11-10 23:42:52 +00:00
Chris Martin d14d817428 Bug 1657404 - Change how AndroidGamepadManager handles gamepad service IDs r=geckoview-reviewers,agi
Currently, the AndroidGamepadManager uses a single function to both add and
remove gamepad service entries (Even though their functionality is different),
and it also uses a JNI callback to set the ID rather than simply returning it

This fixes both of those things.

Depends on D96270

Differential Revision: https://phabricator.services.mozilla.com/D96272
2020-11-10 23:02:36 +00:00
Botond Ballo dcc29b730f Bug 1676293 - Remove Java components that were used only by StackScrollerFlingAnimation. r=mstange,geckoview-reviewers,agi
Depends on D96508

Differential Revision: https://phabricator.services.mozilla.com/D96509
2020-11-10 16:59:44 +00:00
Aaron Klotz 57400b371b Bug 1674224: Generate Java signature hints in JNI wrappers; r=geckoview-reviewers,agi
This patch adds some code to our annotation processor that produces comments in
our generated JNI headers to help the developer understand which types are
involved. There are two new types of comments:

* For generated methods from native to Java, we produce a simplified Java method
  signature (sans package names) to help the caller disambiguate parameter
  types. This is helpful since the machine-readable method signature tend to
  use `mozilla::jni::Object::Param` instead of actual types (for the purposes of
  avoiding dependency hell, presumably).
* For Java to native methods, we produce a sample signature that is usable for
  the implementation of the native method.

While we did discuss some ideas about other locations where we could output this
data, I'd like to start with the generated header files for now. We can make
adjustments to the output location in future bugs.

I will be attaching an example of a generated header that contains these new
comments to the bug.

Differential Revision: https://phabricator.services.mozilla.com/D96236
2020-11-10 17:11:34 +00:00
Markus Stange cb3b5afd46 Bug 1675887 - Respect the time value that's passed to Choreographer.FrameCallback.doFrame. r=kats
This makes the vsync times more consistent.
On a Pixel 2 running Android 11, the callback was called between 1ms and 6ms
after the vsync timestamp in my tests. Having the vsync timestamp slightly in
the past is what the rest of our vsync infrastructure expects.

Differential Revision: https://phabricator.services.mozilla.com/D96279
2020-11-09 18:32:13 +00:00
Aaron Klotz 54f06947cd Bug 1654817: Part 2 - Bump dom.ipc.processCount pref to 3 on Nightly; r=geckoview-reviewers,agi
I want to start with 3 so that we initially get a good look at how things run
with multiple processes, but when we easily hit the limit. We'll increase to
our final process count in a future bug.

Differential Revision: https://phabricator.services.mozilla.com/D94884
2020-11-04 17:26:16 +00:00