2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-17 15:26:23 +00:00
Commit Graph

10378 Commits

Author SHA1 Message Date
Jonathan Almeida
c84d0805ec Bug 1799996 - Speculative fix checks CFRPopup.anchor is attached to window
We're seeing crashes in the Fenix copy of the `CFRPopup` that are
happening when our activity has already been destroyed, and then we are
trying to add a view to it with the WindowManager.

Our guess from looking at the traces are that the
`BrowserToolbarCFRPresenter` is receiving the `collect call on the main
thread, but further down the event loop. As well as the Runnable in
`CFRPopup#show` that is posting to the end event loop - both of these
calls are putting us in a state where the activity we want has already
been destroyed before we get to the moment where we want to use it.

This is a crash that is difficult to synthesize or write a test for.
As a result, our fix is rather speculative but still straight-forward
and safe to uplift, should it work.

There are three remaining follow-ups to do when fix is confirmed:
1. There is a CFRPopup that was upstreamed which is based on the Fenix
   implementation. We should upstream this patch to that component as
   well.
2. We should remove this copy of the CFRPopup and use the upstreamed
   version to avoid confusion between the two copies.
3. With this change, we are now gracefully failing when our users get
   into this state, however our telemtry and onboarding flows are
   unaware that the CFR was never shown.
   We need to to correct telemetry for `TrackingProtection.tcpCfrShown`
   to stop incorrectly reporting false positives and reset our
   `shouldShowTotalCookieProtectionCFR` pref to false so that we can
   try again at the appropriate time.

Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
(cherry picked from commit 7a8b0a91c0)
2022-12-16 16:28:34 +00:00
github-actions[bot]
43dd14bbe7
Sync Strings from main to releases_109.0 (#28219)
* Strings - app/src/main/res/values-be/strings.xml

* Strings - app/src/main/res/values-cy/strings.xml

* Strings - app/src/main/res/values-el/strings.xml

* Strings - app/src/main/res/values-en-rGB/strings.xml

* Strings - app/src/main/res/values-es-rMX/strings.xml

* Strings - app/src/main/res/values-fi/strings.xml

* Strings - app/src/main/res/values-hy-rAM/strings.xml

* Strings - app/src/main/res/values-ia/strings.xml

* Strings - app/src/main/res/values-it/strings.xml

* Strings - app/src/main/res/values-ka/strings.xml

* Strings - app/src/main/res/values-kab/strings.xml

* Strings - app/src/main/res/values-lo/strings.xml

* Strings - app/src/main/res/values-pa-rIN/strings.xml

* Strings - app/src/main/res/values-pt-rBR/strings.xml

* Strings - app/src/main/res/values-pt-rPT/strings.xml

* Strings - app/src/main/res/values-th/strings.xml

Co-authored-by: runner <runner@d7a8544b62b5>
2022-12-16 02:50:30 +00:00
github-actions[bot]
708a1d9fc9
Sync Strings from main to releases_109.0 (#28204)
* Strings - app/src/main/res/values-fi/strings.xml

* Strings - app/src/main/res/values-is/strings.xml

* Strings - app/src/main/res/values-oc/strings.xml

* Strings - app/src/main/res/values-sr/strings.xml

* Strings - app/src/main/res/values-tr/strings.xml

* Strings - app/src/main/res/values-uk/strings.xml

Co-authored-by: runner <runner@078e25735b48>
2022-12-15 03:03:31 +00:00
Mozilla Releng Treescript
9266311afd Automatic version bump CLOSED TREE NO BUG a=release 2022-12-14 17:17:45 +00:00
Ryan VanderMeulen
dc08c68a6c Set Android-Components version to 109.0b1 2022-12-14 11:33:52 -05:00
github-actions[bot]
86eb8247c9
Sync Strings from main to releases_109.0 (#28192)
* Strings - app/src/main/res/values-be/strings.xml

* Strings - app/src/main/res/values-de/strings.xml

* Strings - app/src/main/res/values-es-rCL/strings.xml

* Strings - app/src/main/res/values-fr/strings.xml

* Strings - app/src/main/res/values-fy-rNL/strings.xml

* Strings - app/src/main/res/values-gn/strings.xml

* Strings - app/src/main/res/values-iw/strings.xml

* Strings - app/src/main/res/values-ia/strings.xml

* Strings - app/src/main/res/values-in/strings.xml

* Strings - app/src/main/res/values-kk/strings.xml

* Strings - app/src/main/res/values-ko/strings.xml

* Strings - app/src/main/res/values-nl/strings.xml

* Strings - app/src/main/res/values-nn-rNO/strings.xml

* Strings - app/src/main/res/values-sat/strings.xml

* Strings - app/src/main/res/values-skr/strings.xml

* Strings - app/src/main/res/values-sv-rSE/strings.xml

* Strings - app/src/main/res/values-tg/strings.xml

* Strings - app/src/main/res/values-vi/strings.xml

* Strings - app/src/main/res/values-zh-rTW/strings.xml

Co-authored-by: runner <runner@c9c2f04fb7de>
2022-12-14 15:05:24 +00:00
github-actions[bot]
2cbc8d2225
Strings - app/src/main/res/values-kab/strings.xml (#28179)
Co-authored-by: runner <runner@73f2ac8e75ae>
2022-12-13 03:01:46 +00:00
MickeyMoz
0d3f33a751 Update to Android-Components 109.0.20221212145348. 2022-12-12 16:37:28 +00:00
Mozilla Releng Treescript
070c24dcfb Automatic version bump CLOSED TREE NO BUG a=release 2022-12-12 15:02:25 +00:00
rahulsainani
5a1a6c1b5b Bug 1804690 - Allow emulator to access network of the host machine sidestepping the TLS error on debug channel 2022-12-12 13:25:44 +00:00
AndiAJ
0e88bfad6b For #26286 improve firstRunScreenTest UI test coverage 2022-12-12 07:59:06 +00:00
MickeyMoz
814328427b Update to Android-Components 109.0.20221211143351. 2022-12-11 19:16:43 +00:00
MickeyMoz
70048b810c Update to Android-Components 109.0.20221211031229. 2022-12-11 05:04:35 +00:00
mozilla-l10n-automation-bot
bc94d00479
Import l10n. (#28157) 2022-12-10 00:48:38 +00:00
MickeyMoz
38f2f750f0 Update to Android-Components 109.0.20221209143110. 2022-12-09 16:50:59 +00:00
AndiAJ
2d2f4a0346 For #26286 improve verifySearchEnginesWithRTLLocale UI test coverage 2022-12-09 16:06:31 +00:00
oana.horvath
61d052b9d6 New UI test coverage for Toolbar position preference 2022-12-09 14:53:56 +00:00
oana.horvath
49ac79df65 New UI test coverage for Pull to refresh preference 2022-12-09 14:53:56 +00:00
oana.horvath
2c1622650d New UI test coverage for Swipe toolbar preference 2022-12-09 14:53:56 +00:00
oana.horvath
b22fe8d3e5 Create a robot and test class for Customize Settings menu 2022-12-09 14:53:56 +00:00
AndiAJ
826cbdbaae For #28069 fix disabled openPocketStoryItemTest UI test 2022-12-09 13:57:21 +00:00
AndiAJ
cf70dd11ca No issue: refactor verifyLinkFromClipboardNotDisplayedTest UI test 2022-12-09 09:17:01 +00:00
MickeyMoz
324e0cfac7 Update to Android-Components 109.0.20221209032153. 2022-12-09 05:19:42 +00:00
jeddai
fb5e474273 update initial_experiments.json based on the current first-run experiments in experimenter 2022-12-09 01:59:13 +00:00
Andrew Halberstadt
49ccb63dd2
Empty commit to trigger a new Decision task (#28141)
The signing tasks are failing due to how one of their dependencies was
triggered (`build-docker-image-base`). We ran this task the proper way
so they should be fixed going forward. However, we need a new Decision
task to run so this new task is used as a dependency instead.
2022-12-08 17:19:50 -05:00
MickeyMoz
00b6b8a4f0 Update to Android-Components 108.0.8. 2022-12-08 21:33:20 +00:00
MickeyMoz
f24c978620 Update to Android-Components 109.0.20221208190115. 2022-12-08 21:00:06 +00:00
Noah Bond
21c270bb87 For #28133 - Fix Pocket story category color mismatch 2022-12-08 19:44:46 +00:00
Arturo Mejia
cc666c8887 Bug 1797577 - Add cookie banner handling panel to the toolbar. 2022-12-08 18:43:18 +00:00
MickeyMoz
e7a7712a6b Update to Android-Components 109.0.20221208144508. 2022-12-08 17:08:25 +00:00
mozilla-l10n-automation-bot
6eaf7d5c51
Import l10n. (#28131) 2022-12-08 14:51:42 +00:00
Mugurell
4298ae9d96 Bug 1804544 - Disable TCP by default in beta and release 2022-12-08 10:02:00 +00:00
MickeyMoz
a479ac5b26 Update to Android-Components 109.0.20221208025039. 2022-12-08 00:06:56 -05:00
DreVla
f38d5c52f3 For #15348: Voice search option appears for all search engines
Voice search was restricted only for google, with the condition removed
it should appear now for all search engines
2022-12-08 04:58:06 +00:00
mozilla-l10n-automation-bot
3edc91d13d
Import l10n. (#28120) 2022-12-08 00:40:53 +00:00
t-p-white
e65209af74 For #28114: Update CFR strings in Private Browsing Mode. 2022-12-07 23:37:31 +00:00
MickeyMoz
b962311510 Update to Android-Components 109.0.20221207203046. 2022-12-07 22:07:05 +00:00
MickeyMoz
f89ebb8753 Update to Android-Components 109.0.20221207143211. 2022-12-07 16:14:29 +00:00
mozilla-l10n-automation-bot
953f033cfd
Import l10n. (#28107) 2022-12-07 09:25:28 +00:00
mozilla-l10n-automation-bot
342f8138ed
Import l10n. (#28102)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-07 01:18:45 +00:00
Zac McKenney
4cd398a0b5 Bug 1804107 - Fix for BaseBrowserFragment toolbar getter null crash and invalidating actions when modifying toolbar 2022-12-07 00:46:00 +00:00
Aaron Train
f6a52e9216 For #28098 - Disable openPocketDiscoverMoreTest 2022-12-06 22:48:49 +00:00
Jonathan Almeida
7a8b0a91c0 Bug 1799996 - Speculative fix checks CFRPopup.anchor is attached to window
We're seeing crashes in the Fenix copy of the `CFRPopup` that are
happening when our activity has already been destroyed, and then we are
trying to add a view to it with the WindowManager.

Our guess from looking at the traces are that the
`BrowserToolbarCFRPresenter` is receiving the `collect call on the main
thread, but further down the event loop. As well as the Runnable in
`CFRPopup#show` that is posting to the end event loop - both of these
calls are putting us in a state where the activity we want has already
been destroyed before we get to the moment where we want to use it.

This is a crash that is difficult to synthesize or write a test for.
As a result, our fix is rather speculative but still straight-forward
and safe to uplift, should it work.

There are three remaining follow-ups to do when fix is confirmed:
1. There is a CFRPopup that was upstreamed which is based on the Fenix
   implementation. We should upstream this patch to that component as
   well.
2. We should remove this copy of the CFRPopup and use the upstreamed
   version to avoid confusion between the two copies.
3. With this change, we are now gracefully failing when our users get
   into this state, however our telemtry and onboarding flows are
   unaware that the CFR was never shown.
   We need to to correct telemetry for `TrackingProtection.tcpCfrShown`
   to stop incorrectly reporting false positives and reset our
   `shouldShowTotalCookieProtectionCFR` pref to false so that we can
   try again at the appropriate time.

Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2022-12-06 22:00:12 +00:00
MickeyMoz
383051eeeb Update to Android-Components 109.0.20221206190339. 2022-12-06 21:27:26 +00:00
Roger Yang
40e4c57ec4 Close #27949: Add Nimbus exposure event for re-engagement notification 2022-12-06 20:36:32 +00:00
priyanka0906
d4303a29c6 For #7924 - added an undo snackbar when a pinned site is removed 2022-12-06 19:12:54 +00:00
MickeyMoz
90d7ee2575 Update to Android-Components 109.0.20221206143258. 2022-12-06 16:35:33 +00:00
mozilla-l10n-automation-bot
54b2dac294
Import l10n. (#28083)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Ryan VanderMeulen <rvandermeulen@mozilla.com>
2022-12-06 14:36:36 +00:00
Alexandru2909
3135062936 For #22770 - Use String.toShortUrl from A-C 2022-12-06 13:03:38 +00:00
Alexandru2909
9361fb1bb8 For #28010 - Update documentation for browser_search_with_ads and browser_search_ad_clicks 2022-12-06 12:20:55 +00:00