Closed
Bug 1432907
Opened 6 years ago
Closed 6 years ago
Add build flag to disable network tickler
Categories
(Firefox Build System :: General, enhancement)
Firefox Build System
General
Tracking
(firefox60 fixed)
RESOLVED
FIXED
mozilla60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: arthur, Assigned: arthur)
References
(Blocks 1 open bug)
Details
(Whiteboard: [tor 18799][tor-mobile])
Attachments
(1 file)
1.01 KB,
patch
|
mayhemer
:
review+
|
Details | Diff | Splinter Review |
In Tor Browser, a patch disables the network tickler. We would like to propose adding a build flag in Firefox that disables the network tickler, so we can add it to Tor Browser's mozconfig. The existing patch is at https://torpat.ch/18799 The original ticket as at https://trac.torproject.org/18799
Comment 1•6 years ago
|
||
Since it touches C++, over to the Necko module. This doesn't seem too bad from the build system side. If you need help with the patch, ping a build peer.
Component: Build Config → Networking
Comment 2•6 years ago
|
||
I think this is more about changes to our build scripts.
Component: Networking → Build Config
Comment 3•6 years ago
|
||
The simplest thing to do here would be something like (probably in toolkit/moz.configure): ``` @depends(target) def wifi_tickler_default(target): return target.os == 'Android' @option('--disable-wifi-tickler', default=wifi_tickler_default, help='Disable WiFi tickler, which is used on mobile to mitigate Power Save Polling mode') @depends('--disable-wifi-tickler') def wifi_tickler(value): if value: return True set_define('MOZ_USE_WIFI_TICKLER', wifi_tickler) ``` Then simply remove the `#if defined(ANDROID) ...` bits from Tickler.h.
Updated•6 years ago
|
Whiteboard: [tor 18799] → [tor 18799][tor-mobile]
Assignee | ||
Updated•6 years ago
|
Blocks: ProxyBypass
Assignee | ||
Comment 4•6 years ago
|
||
Here's an approach that uses the --enable-proxy-bypass-protection flag.
Attachment #8948893 -
Flags: review?(honzab.moz)
Updated•6 years ago
|
Attachment #8948893 -
Flags: review?(honzab.moz) → review+
Pushed by dluca@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/84075ce9cbe8 Disable network tickler with proxy bypass protection r=mayhemer
Keywords: checkin-needed
Comment 7•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/84075ce9cbe8
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Updated•6 years ago
|
Product: Core → Firefox Build System
Updated•6 years ago
|
Assignee: nobody → arthuredelstein
You need to log in
before you can comment on or make changes to this bug.
Description
•