mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 5f2ca3ac2fcb (bug 1048131) for test failures in android s4 test_captive_portal_not_found.js
This commit is contained in:
parent
632b372728
commit
f2415d400f
@ -66,9 +66,11 @@ 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,6 +20,7 @@ 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,7 +317,9 @@
|
||||
@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
|
||||
@ -631,8 +633,10 @@
|
||||
@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,7 +314,9 @@
|
||||
@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
|
||||
@ -519,8 +521,10 @@
|
||||
@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,6 +8489,12 @@ 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
|
||||
|
@ -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);
|
||||
|
||||
pref("captivedetect.canonicalURL", "http://detectportal.firefox.com/success.txt");
|
||||
pref("captivedetect.canonicalContent", "success\n");
|
||||
#ifdef MOZ_CAPTIVEDETECT
|
||||
pref("captivedetect.maxWaitingTime", 5000);
|
||||
pref("captivedetect.pollingTime", 3000);
|
||||
pref("captivedetect.maxRetryCount", 5);
|
||||
#endif
|
||||
|
||||
#ifdef RELEASE_BUILD
|
||||
pref("dom.forms.inputmode", false);
|
||||
|
@ -87,7 +87,8 @@ if CONFIG['MOZ_TOOLKIT_SEARCH']:
|
||||
if CONFIG['MOZ_URL_CLASSIFIER']:
|
||||
DIRS += ['url-classifier']
|
||||
|
||||
DIRS += ['captivedetect']
|
||||
if CONFIG['MOZ_CAPTIVEDETECT']:
|
||||
DIRS += ['captivedetect']
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] != "gonk" and CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
|
||||
DIRS += ['terminator']
|
||||
|
Loading…
Reference in New Issue
Block a user