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

30518 Коммитов

Автор SHA1 Сообщение Дата
owlishDeveloper d2fed3ba8c Bug 1691101 - Migrate from jcenter in android builds r=geckoview-reviewers,nalexander,agi
Differential Revision: https://phabricator.services.mozilla.com/D107573
2021-03-11 00:18:40 +00:00
Agi Sferro f002e607b0 Bug 1694481 - Remove unused code in GeckoAppShell. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D106187
2021-03-10 22:43:10 +00:00
Agi Sferro e4db9c53e4 Bug 1694481 - Simplify Android Listeners in GeckoAppShell. r=aklotz
GeckoAppShell has code to handle custom listeners, but we don't use them anymore.

Differential Revision: https://phabricator.services.mozilla.com/D106185
2021-03-10 22:43:09 +00:00
Agi Sferro 0d3819e98e Bug 1694481 - Remove unused android lock screen orientation support. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D106184
2021-03-10 22:43:09 +00:00
Agi Sferro eac41f1807 Bug 1694481 - Remove unused methods in GeckoAppShell. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D106183
2021-03-10 22:43:08 +00:00
Agi Sferro 111343732d Bug 1694481 - Remove unused code from exthandler/android. r=droeh,esawin
Differential Revision: https://phabricator.services.mozilla.com/D106182
2021-03-10 22:43:08 +00:00
Agi Sferro 9ec0facdaa Bug 1694481 - Remove unused methods in GeckoLoader. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D106181
2021-03-10 22:43:08 +00:00
Agi Sferro 71dbca3068 Bug 1694481 - Remove unused NativeZip. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D106180
2021-03-10 22:43:07 +00:00
Agi Sferro b39485034a Bug 1694481 - Remove unused DirectBufferAllocator. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D106179
2021-03-10 22:43:07 +00:00
Agi Sferro 4a3ac00774 Bug 1694481 - Remove unused android:// protocol handler r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D106178
2021-03-10 22:43:06 +00:00
Agi Sferro 83874acc8d Bug 1694481 - Remove unused telemetry methods. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D106174
2021-03-10 22:43:05 +00:00
Agi Sferro 01502e4660 Bug 1697270 - Provide GeckoResult.allow() and .deny() r=owlish,droeh
GeckoResult uses the thread is instantiated on to run callbacks, so it's
important that the calling code builds GeckoResult on the same thread where
it's used to avoid suprising cross-thread effects.

The above assumption is broken when using ALLOW and DENY as these objects are
built on whatever thread happens to load the GeckoResult class in the JVM.

This change deprecates ALLOW and DENY and introdocues allow() and deny() which
build the GeckoResult instance on the same thread where they are called
avoiding any cross-thread problems.

Differential Revision: https://phabricator.services.mozilla.com/D107729
2021-03-10 21:44:05 +00:00
Simon Giesecke ad01a10a3b Bug 1634281 - Use nsTHashMap instead of nsDataHashtable. r=xpcom-reviewers,necko-reviewers,jgilbert,nika,valentin
Note that this patch only transforms the use of the nsDataHashtable type alias
to a directly equivalent use of nsTHashMap. It does not change the specification
of the hash key type to make use of the key class deduction that nsTHashMap
allows for in some cases. That can be done in a separate step, but requires more
attention.

Differential Revision: https://phabricator.services.mozilla.com/D106008
2021-03-10 10:47:47 +00:00
owlishDeveloper 5f323edf67 Bug 1432949 - Return error if channel cannot be opened. Expand download blob test case r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D75687
2021-03-09 00:45:22 +00:00
Aaron Klotz 16e2a045ee Bug 1691799: Bump GeckoView Nightly's content process limit to 40; r=geckoview-reviewers,agi
This is the same number that Chromium uses.

Differential Revision: https://phabricator.services.mozilla.com/D107518
2021-03-08 20:51:34 +00:00
owlishDeveloper 8a5e082ba7 Bug 1693416: Rewrite reset processes in tests to be compatible with isolated process r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D106862
2021-03-08 20:20:26 +00:00
owlishDeveloper bdd6620010 Bug 1631945 - Add API to junit test harness that enables tests to query for all web content pids r=geckoview-reviewers,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D106861
2021-03-08 20:05:32 +00:00
owlishDeveloper 75c069fff9 Bug 1658988 - Close tab in ContentDelegate#onCloseRequest instead of finishing the activity to keep GVE from going into background r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D107484
2021-03-08 17:24:11 +00:00
Kagami Sascha Rosylight a9417a719e Bug 1360715 - Part 2: Modify instanceofs in tests to non-cross-context r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D106662
2021-03-04 22:03:57 +00:00
Eugen Sawin c2e482bffe Bug 1693584 - [2.0] Update MediaElement tests so suppress deprecation warnings. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D107232
2021-03-04 18:27:03 +00:00
Eugen Sawin 19033fdc7a Bug 1693584 - [1.1] Deprecate the MediaElement API. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D107124
2021-03-04 18:27:02 +00:00
Brindusan Cristian b926d96be6 Backed out 3 changesets (bug 1360715) for mochitest failures at test_WebCrypto.html. CLOSED TREE
Backed out changeset b4a14c42313d (bug 1360715)
Backed out changeset 0e4b1b65fcbe (bug 1360715)
Backed out changeset fb8b9841d82b (bug 1360715)
2021-03-04 21:15:16 +02:00
Kagami Sascha Rosylight 73ec445d30 Bug 1360715 - Part 2: Modify instanceofs in tests to non-cross-context r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D106662
2021-03-04 15:05:26 +00:00
Emilio Cobos Álvarez d43ee0e7b6 Bug 1695338 - Update WebExtension approval panel for Proton. r=mconley,robwu
Differential Revision: https://phabricator.services.mozilla.com/D107065
2021-03-04 11:03:11 +00:00
Makoto Kato 642a244fdf Bug 1693477 - notifyPush needs messageId. r=geckoview-reviewers,agi
This is simple typo when payload is nothing.

Also, we should add unit tests for this since we don't run mochitest in
dom/push/test. The mochitest requires mock's implementation, but we doesn't
have it.

Differential Revision: https://phabricator.services.mozilla.com/D107067
2021-03-04 00:36:44 +00:00
Simon Giesecke b5855b89fc Bug 1634281 - Remove unused nsDataHashtable.h includes. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D106007
2021-03-03 08:58:52 +00:00
Jens Stutte 05581ddca4 Bug 1678330: Ensure nested SpinEventLoopUntil(OrShutdown) calls are traceable to the originating source in case of crash. r=nika,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D106839
2021-03-02 22:11:58 +00:00
Agi Sferro c6942877da Bug 1695051 - Add /security to .lldbinit. r=aklotz
This is required to debug code in libnss3.

Differential Revision: https://phabricator.services.mozilla.com/D106541
2021-03-02 20:39:12 +00:00
Cosmin Sabou b2eb620ed0 Backed out changeset 03cae7800b41 (bug 1678330) for mochitest plain failures on test_window_open_discarded_bc.html. CLOSED TREE 2021-03-02 20:18:21 +02:00
Jens Stutte a0af9ea0a4 Bug 1678330: Ensure nested SpinEventLoopUntil(OrShutdown) calls are traceable to the originating source in case of crash. r=nika,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D106839
2021-03-02 15:15:20 +00:00
Hiroyuki Ikezoe 2dbfa985b4 Bug 1678505 - Add an additional test case that touch events are handled in non root scroll container having overscroll-behavior: none. r=botond
overscroll-behavior-none-on-non-root.html is a test case that the document has
a 100vh scrollable element and its overscroll-behavior is `none`, thus all
touch events are consumed by the non-root scroll container. But with dynamic
toolbar, it will be notified as if it's consumed by the root container to move
the dynamic toolbar if the scroll position in the scrollable element is at the
bottom edge.

Differential Revision: https://phabricator.services.mozilla.com/D105712
2021-03-02 08:06:29 +00:00
Hiroyuki Ikezoe ed8e2f3684 Bug 1678505 - Add {PanZoomController, GeckoView}.onTouchEventForDetailResult. r=geckoview-reviewers,agi,owlish
Note about junit tests for overscroll-behavior;
With a single test html and changing overscroll-behavior style on the root
scroll element (i.e. <html>) dynamically would introduce new intermittent
failures because there is no handy way to make sure the style change has been
reflected on the APZ side, so instead we use static html files respectively.

Differential Revision: https://phabricator.services.mozilla.com/D103421
2021-03-02 08:06:29 +00:00
Hiroyuki Ikezoe 58d740803c Bug 1678505 - Expose ScrollableDirections and OverscrollDirecitons to GeckoView. r=botond,geckoview-reviewers,agi,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D103420
2021-03-02 08:06:28 +00:00
ankushduacodes 4b9df6ba3b Bug 1643736 - Adding appropriate check before passing cookieStoreId to GeckoViewTabBridge.createNewTab() r=robwu,agi
Differential Revision: https://phabricator.services.mozilla.com/D100151
2021-03-01 20:49:07 +00:00
Agi Sferro d7c56b38e4 Bug 1688062 - Update target SDK to API 30. r=esawin,jnicol
Differential Revision: https://phabricator.services.mozilla.com/D106556
2021-03-01 19:12:16 +00:00
Doug Thayer 3e030acee5 Bug 1694229 - Show slow script warning only when critical input is pending r=smaug
We want to restrict the slow script warning to cases where the user is actually
trying to interact with the browser.

Differential Revision: https://phabricator.services.mozilla.com/D106017
2021-02-27 18:22:33 +00:00
Noemi Erli 67edd199af Backed out changeset 0ca845833464 (bug 1688062) for causinf Android Webrender bustages CLOSED TREE 2021-02-27 14:15:09 +02:00
Csoregi Natalia 863547c177 Merge mozilla-central to autoland on a CLOSED TREE 2021-02-27 11:48:23 +02:00
Csoregi Natalia 52a3b19a3d Merge autoland to mozilla-central. a=merge 2021-02-27 11:43:56 +02:00
Csoregi Natalia b08394edf3 Backed out 11 changesets (bug 1678505) for causing crashes. a=backout
Backed out changeset 7cd5f2c1c3f4 (bug 1678505)
Backed out changeset 09f4c4093c07 (bug 1678505)
Backed out changeset 76e3f391b7dd (bug 1678505)
Backed out changeset 6a0e949d4a2d (bug 1678505)
Backed out changeset 69c7b98ac8f6 (bug 1678505)
Backed out changeset 63608c5df1b0 (bug 1678505)
Backed out changeset a4532c4a1768 (bug 1678505)
Backed out changeset 09aab64b89cd (bug 1678505)
Backed out changeset e832d2bfe7a6 (bug 1678505)
Backed out changeset e0898b4f9fe6 (bug 1678505)
Backed out changeset 04a759c327cd (bug 1678505)
2021-02-27 11:26:46 +02:00
Agi Sferro b69e57d56f Bug 1688062 - Update target SDK to API 30. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D106556
2021-02-26 21:45:15 +00:00
Rob Wu 252ef583b9 Bug 1694699 - Minimize access to tab.hasTabPermission r=rpl,geckoview-reviewers,agi
tab.hasTabPermission indirectly triggers an access to
browser.currentURI, which for lazy tab browsers causes an incorrect
value to be cached. To avoid this, skip the call to hasTabPermission.

Differential Revision: https://phabricator.services.mozilla.com/D106622
2021-02-26 21:34:54 +00:00
Agi Sferro 3b0e7a3659 Bug 1695056 - Don't provide details info about mobile networks. r=valentin,esawin,mixedpuppy
Since Android 11, READ_PHONE_STATE is required to get detailed information
about mobile networks. Since we don't actually use this information anywhere
right now, we just won't provide it isntead of adding a new permission.

Differential Revision: https://phabricator.services.mozilla.com/D106557
2021-02-26 18:43:40 +00:00
Dorel Luca 0875c78fec Backed out changeset 0e3e3b8a55b4 (bug 1688062) for Linting failure in java/org/mozilla/gecko/GeckoAppShell.java. CLOSED TREE 2021-02-26 19:02:12 +02:00
Agi Sferro c0dc6e84b0 Bug 1688062 - Update target SDK to API 30. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D106556
2021-02-26 16:34:02 +00:00
Hiroyuki Ikezoe 3fb4d533c8 Bug 1678505 - Add an additional test case that touch events are handled in non root scroll container having overscroll-behavior: none. r=botond
overscroll-behavior-none-on-non-root.html is a test case that the document has
a 100vh scrollable element and its overscroll-behavior is `none`, thus all
touch events are consumed by the non-root scroll container. But with dynamic
toolbar, it will be notified as if it's consumed by the root container to move
the dynamic toolbar if the scroll position in the scrollable element is at the
bottom edge.

Differential Revision: https://phabricator.services.mozilla.com/D105712
2021-02-26 04:15:20 +00:00
Hiroyuki Ikezoe f83e9fbb57 Bug 1678505 - Add {PanZoomController, GeckoView}.onTouchEventForDetailResult. r=geckoview-reviewers,agi,owlish
Note about junit tests for overscroll-behavior;
With a single test html and changing overscroll-behavior style on the root
scroll element (i.e. <html>) dynamically would introduce new intermittent
failures because there is no handy way to make sure the style change has been
reflected on the APZ side, so instead we use static html files respectively.

Differential Revision: https://phabricator.services.mozilla.com/D103421
2021-02-26 04:15:19 +00:00
Hiroyuki Ikezoe 15210a1949 Bug 1678505 - Expose ScrollableDirections and OverscrollDirecitons to GeckoView. r=botond,geckoview-reviewers,agi,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D103420
2021-02-26 04:15:19 +00:00
Agi Sferro 79b1179eb9 Bug 1694179 - Add workaround for getNetworkLinkType on Android 11. r=esawin
I have a better fix but let's land this in the meanwhile as this crashes at
startup on any Android 11 device.

Differential Revision: https://phabricator.services.mozilla.com/D106547
2021-02-25 21:50:19 +00:00
Bogdan Tara d53cfe7369 Backed out 5 changesets (bug 1694229) by flod's request, lint failures CLOSED TREE
Backed out changeset cb3d9e8d32e6 (bug 1694229)
Backed out changeset 877471a44509 (bug 1694229)
Backed out changeset 286b311d32b2 (bug 1694229)
Backed out changeset 42cb688eae03 (bug 1694229)
Backed out changeset d082f53d882e (bug 1694229)
2021-02-25 22:43:33 +02:00