Closed Bug 1975851 Opened 10 months ago Closed 10 months ago

RFP: enforce navigator.onLine as always true

Categories

(Core :: Privacy: Anti-Tracking, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
142 Branch
Tracking Status
firefox-esr140 --- fixed
firefox141 --- wontfix
firefox142 --- fixed

People

(Reporter: thorin, Assigned: fkilic)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

Attached image TZP TB onLine.png

If users toggle Menu>File>Work Offline they create entropy. I don't even know how useful this menu item is - but it's a footgun. The menu is enabled by default on some platforms IIRC, but of course the fact that it can be enabled by the user and the setting is accessible, it is a footgun

edit the attached image is Tor Browser with Work Offline toggle to true end edit

https://developer.mozilla.org/en-US/docs/Web/API/Navigator/onLine

Suggested enhancement to enforce true behind RFP (RFPTarget NetworkConnection ?)

Also see Bug 1614804 which I also suggest we can close as WONTFIX (see supported in MDN link) as removing the navigator property will just cause webcompat issues

Summary: RFP: enforce onLine as always true → RFP: enforce navigator.onLine as always true
See Also: → 1614804
Assignee: nobody → fkilic
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
Attached image verified.jpg

verified via top level document

do we want to backport this to ESR140 for Tor Browser

Flags: needinfo?(fkilic)
Attachment #9500128 - Flags: approval-mozilla-esr140?

firefox-esr140 Uplift Approval Request

  • User impact if declined: Only affects "Resist Fingerprinting" users. Firefox doesn't support this configuration. We are requesting the uplift for Tor Browser.
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: Click on Menu>File>Work Offline, run navigator.onLine and verify it returns false. Then, change these prefs accordingly privacy.fingerprintingProtection=true and privacy.fingerprintingProtection.overrides = -AllTargets,+NetworkConnection. Then run navigator.onLine again and verify it is true
  • Risk associated with taking this patch: None
  • Explanation of risk level: N/A
  • String changes made/needed: No
  • Is Android affected?: yes

Requested

Flags: needinfo?(fkilic)
Flags: in-testsuite+
Attachment #9500128 - Flags: approval-mozilla-esr140? → approval-mozilla-esr140+
QA Whiteboard: [qa-triage-done-c142/b141]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: