Backout cset 4c4041cfc095 (bug 977454), a a=bustage

This commit is contained in:
Brian Smith 2014-02-28 22:14:05 -08:00
parent 6f8e8ba046
commit 7f156c7ed1
5 changed files with 13 additions and 12 deletions

View File

@ -375,8 +375,6 @@
@BINPATH@/components/nsLoginInfo.js
@BINPATH@/components/nsLoginManager.js
@BINPATH@/components/nsLoginManagerPrompter.js
@BINPATH@/components/NetworkGeolocationProvider.manifest
@BINPATH@/components/NetworkGeolocationProvider.js
#ifdef MOZ_WEBRTC
@BINPATH@/components/PeerConnection.js
@BINPATH@/components/PeerConnection.manifest

View File

@ -8099,7 +8099,12 @@ dnl option to disable necko's wifi scanner
dnl
case "$OS_TARGET" in
Android|Darwin|SunOS|WINNT)
Android)
if test -n "$gonkdir"; then
NECKO_WIFI=1
fi
;;
Darwin|SunOS|WINNT)
NECKO_WIFI=1
;;
Linux)

View File

@ -694,10 +694,6 @@ nsresult nsGeolocationService::Init()
}
#endif
if (Preferences::GetBool("geo.provider.use_mls", false)) {
mProvider = do_GetService("@mozilla.org/geolocation/mls-provider;1");
}
// Override platform-specific providers with the default (network)
// provider while testing. Our tests are currently not meant to exercise
// the provider, and some tests rely on the network provider being used.

View File

@ -1,3 +1,2 @@
component {77DA64D3-7458-4920-9491-86CC9914F904} NetworkGeolocationProvider.js
contract @mozilla.org/geolocation/provider;1 {77DA64D3-7458-4920-9491-86CC9914F904}
contract @mozilla.org/geolocation/mls-provider;1 {77DA64D3-7458-4920-9491-86CC9914F904}

View File

@ -38,10 +38,13 @@ UNIFIED_SOURCES += [
'OSFileConstants.cpp',
]
EXTRA_COMPONENTS += [
'NetworkGeolocationProvider.js',
'NetworkGeolocationProvider.manifest',
]
# On Systems that have build in geolocation providers,
# we really do not need these.
if CONFIG['OS_TARGET'] != 'Android' or CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
EXTRA_COMPONENTS += [
'NetworkGeolocationProvider.js',
'NetworkGeolocationProvider.manifest',
]
FAIL_ON_WARNINGS = True