Open Bug 1870978 Opened 9 months ago Updated 28 days ago

Open link from extensions causing history leak in private browsing mode in Fenix

Categories

(Fenix :: WebExtensions, defect, P3)

Firefox 120
All
Android
defect

Tracking

(Not tracked)

People

(Reporter: Tom25519, Unassigned)

References

Details

Attachments

(1 obsolete file)

User Agent: Mozilla/5.0 (Android 10; Mobile; rv:120.0) Gecko/120.0 Firefox/120.0

Steps to reproduce:

1.Into private browsing mode
2.Open a webpage
3.Touch "Report Site Issue..." in 3-dots menu, and a new page will open

Actual results:

History item appears, it even still existing after restart firefox.

Expected results:

Shouldn't leave any history (or others browsing data) in private browsing mode.

Version: Firefox 120 → Firefox 122
Summary: Report site issue (using Webcompact add-on) causing history leak in private browsing mode in Fenix → Open link from extensions causing history leak in private browsing mode in Fenix

Same situation happens on uBlock Origin. Today, I report uBlock Origin filter issues, the private tab created by uBlock Origin also leaves history items.

Status: UNCONFIRMED → NEW
Ever confirmed: true

I can reproduce this problem. Can you take a look?

Flags: needinfo?(jonalmeida942)
Flags: needinfo?(cpeterson)

Ref:

  1. https://searchfox.org/mozilla-mobile/source/firefox-android/android-components/components/browser/engine-gecko/src/main/java/mozilla/components/browser/engine/gecko/webextension/GeckoWebExtension.kt#258-267

GeckoEngineSession is instantiated with privateMode's default value false.

So no matter the tab is opened bu private tab or normal tab, this tab will always be normal (although it is in the private tabstray)

I add privateMode = true, , then the history item will not be generated.

  1. If you take FirefoxReality as a refer:
    https://searchfox.org/mozilla-mobile/source/FirefoxReality/app/src/common/shared/org/mozilla/vrbrowser/browser/components/GeckoWebExtension.kt#250-253

it will create session based on activesession's private mode.

Component: General → WebExtensions
Flags: needinfo?(jonalmeida942)
Flags: needinfo?(cpeterson)
Summary: Open link from extensions causing history leak in private browsing mode in Fenix → Open link from extensions causing history leak in private browsing mode in Fenix
Version: Firefox 122 → Firefox 120
See Also: → 1372178

More strangely, today I login mailbox and mozilla bugzilla, after I quit fenix and reopen, then open theses websites, they're still logged in.

(In reply to Tom25519 from comment #4)

More strangely, today I login mailbox and mozilla bugzilla, after I quit fenix and reopen, then open theses websites, they're still logged in.

This situation only happens on Fennec F-droid 121.0, but not Fenix 121.0

(In reply to Tom25519 from comment #5)

(In reply to Tom25519 from comment #4)

More strangely, today I login mailbox and mozilla bugzilla, after I quit fenix and reopen, then open theses websites, they're still logged in.

This situation only happens on Fennec F-droid 121.0, but not Fenix 121.0

Today it happen on both Fenix 121.0.1 and F-droid 121.0.

See Also: → 1873375
See Also: 1873375

The severity field is not set for this bug.
:amejia, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(amejiamarmol)
Severity: -- → S3
Flags: needinfo?(amejiamarmol)
Priority: -- → P3
Attachment #9382942 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: