Closed
Bug 1432907
Opened 7 years ago
Closed 7 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•7 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•7 years ago
|
||
I think this is more about changes to our build scripts.
Component: Networking → Build Config
Comment 3•7 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•7 years ago
|
Whiteboard: [tor 18799] → [tor 18799][tor-mobile]
Assignee | ||
Updated•7 years ago
|
Blocks: ProxyBypass
Assignee | ||
Comment 4•7 years ago
|
||
Here's an approach that uses the --enable-proxy-bypass-protection flag.
Attachment #8948893 -
Flags: review?(honzab.moz)
![]() |
||
Updated•7 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•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Updated•7 years ago
|
Product: Core → Firefox Build System
Updated•7 years ago
|
Assignee: nobody → arthuredelstein
You need to log in
before you can comment on or make changes to this bug.
Description
•