mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1048131 - Remove MOZ_CAPTIVEDETECT and enable captive portal detector for all products. r=mcmanus
This commit is contained in:
parent
0eb4004edd
commit
a8a7000530
@ -66,11 +66,9 @@ XPCOMUtils.defineLazyGetter(this, "libcutils", function () {
|
||||
});
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_CAPTIVEDETECT
|
||||
XPCOMUtils.defineLazyServiceGetter(Services, 'captivePortalDetector',
|
||||
'@mozilla.org/toolkit/captive-detector;1',
|
||||
'nsICaptivePortalDetector');
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_SAFE_BROWSING
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "SafeBrowsing",
|
||||
|
@ -20,7 +20,6 @@ MOZ_OFFICIAL_BRANDING_DIRECTORY=b2g/branding/official
|
||||
MOZ_SAFE_BROWSING=1
|
||||
MOZ_SERVICES_COMMON=1
|
||||
MOZ_SERVICES_METRICS=1
|
||||
MOZ_CAPTIVEDETECT=1
|
||||
|
||||
MOZ_WEBSMS_BACKEND=1
|
||||
MOZ_NO_SMART_CARDS=1
|
||||
|
@ -317,9 +317,7 @@
|
||||
@RESPATH@/components/services-crypto.xpt
|
||||
#endif
|
||||
@RESPATH@/components/services-crypto-component.xpt
|
||||
#ifdef MOZ_CAPTIVEDETECT
|
||||
@RESPATH@/components/captivedetect.xpt
|
||||
#endif
|
||||
@RESPATH@/components/shellservice.xpt
|
||||
@RESPATH@/components/shistory.xpt
|
||||
@RESPATH@/components/spellchecker.xpt
|
||||
@ -633,10 +631,8 @@
|
||||
@RESPATH@/components/HealthReportComponents.manifest
|
||||
@RESPATH@/components/HealthReportService.js
|
||||
#endif
|
||||
#ifdef MOZ_CAPTIVEDETECT
|
||||
@RESPATH@/components/CaptivePortalDetectComponents.manifest
|
||||
@RESPATH@/components/captivedetect.js
|
||||
#endif
|
||||
@RESPATH@/components/TelemetryStartup.js
|
||||
@RESPATH@/components/TelemetryStartup.manifest
|
||||
@RESPATH@/components/XULStore.js
|
||||
|
@ -314,9 +314,7 @@
|
||||
@RESPATH@/components/saxparser.xpt
|
||||
@RESPATH@/browser/components/sessionstore.xpt
|
||||
@RESPATH@/components/services-crypto-component.xpt
|
||||
#ifdef MOZ_CAPTIVEDETECT
|
||||
@RESPATH@/components/captivedetect.xpt
|
||||
#endif
|
||||
@RESPATH@/browser/components/shellservice.xpt
|
||||
@RESPATH@/components/shistory.xpt
|
||||
@RESPATH@/components/spellchecker.xpt
|
||||
@ -521,10 +519,8 @@
|
||||
@RESPATH@/components/SyncComponents.manifest
|
||||
@RESPATH@/components/Weave.js
|
||||
#endif
|
||||
#ifdef MOZ_CAPTIVEDETECT
|
||||
@RESPATH@/components/CaptivePortalDetectComponents.manifest
|
||||
@RESPATH@/components/captivedetect.js
|
||||
#endif
|
||||
@RESPATH@/components/servicesComponents.manifest
|
||||
@RESPATH@/components/cryptoComponents.manifest
|
||||
@RESPATH@/components/TelemetryStartup.js
|
||||
|
@ -8489,12 +8489,6 @@ if test -n "$MOZ_SERVICES_CLOUDSYNC"; then
|
||||
AC_DEFINE(MOZ_SERVICES_CLOUDSYNC)
|
||||
fi
|
||||
|
||||
dnl Build Captive Portal Detector if required
|
||||
AC_SUBST(MOZ_CAPTIVEDETECT)
|
||||
if test -n "$MOZ_CAPTIVEDETECT"; then
|
||||
AC_DEFINE(MOZ_CAPTIVEDETECT)
|
||||
fi
|
||||
|
||||
dnl Build second screen and casting features for external devices if required
|
||||
AC_SUBST(MOZ_DEVICES)
|
||||
if test -n "$MOZ_DEVICES"; then
|
||||
|
@ -240,9 +240,7 @@
|
||||
@BINPATH@/components/saxparser.xpt
|
||||
@BINPATH@/components/sessionstore.xpt
|
||||
@BINPATH@/components/services-crypto-component.xpt
|
||||
#ifdef MOZ_CAPTIVEDETECT
|
||||
@BINPATH@/components/captivedetect.xpt
|
||||
#endif
|
||||
@BINPATH@/components/shellservice.xpt
|
||||
@BINPATH@/components/shistory.xpt
|
||||
@BINPATH@/components/spellchecker.xpt
|
||||
@ -437,10 +435,8 @@
|
||||
@BINPATH@/components/HealthReportService.js
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_CAPTIVEDETECT
|
||||
@BINPATH@/components/CaptivePortalDetectComponents.manifest
|
||||
@BINPATH@/components/captivedetect.js
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_WEBSPEECH
|
||||
@BINPATH@/components/dom_webspeechsynth.xpt
|
||||
|
@ -4620,11 +4620,11 @@ pref("ui.touch_activation.duration_ms", 10);
|
||||
// actions when the fifo is written to. Disable this in general.
|
||||
pref("memory_info_dumper.watch_fifo.enabled", false);
|
||||
|
||||
#ifdef MOZ_CAPTIVEDETECT
|
||||
pref("captivedetect.canonicalURL", "http://detectportal.firefox.com/success.txt");
|
||||
pref("captivedetect.canonicalContent", "success\n");
|
||||
pref("captivedetect.maxWaitingTime", 5000);
|
||||
pref("captivedetect.pollingTime", 3000);
|
||||
pref("captivedetect.maxRetryCount", 5);
|
||||
#endif
|
||||
|
||||
#ifdef RELEASE_BUILD
|
||||
pref("dom.forms.inputmode", false);
|
||||
|
@ -87,7 +87,6 @@ if CONFIG['MOZ_TOOLKIT_SEARCH']:
|
||||
if CONFIG['MOZ_URL_CLASSIFIER']:
|
||||
DIRS += ['url-classifier']
|
||||
|
||||
if CONFIG['MOZ_CAPTIVEDETECT']:
|
||||
DIRS += ['captivedetect']
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] != "gonk" and CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
|
||||
|
Loading…
Reference in New Issue
Block a user