Commit Graph

75 Commits

Author SHA1 Message Date
Chris Peterson
bfad42e3b7 Bug 1121864 - Fix some minor nits in NetworkGeolocationProvider.js. r=garvank 2015-01-14 20:28:27 -08:00
Pierre Rudloff
6dc2172185 Bug 1021357 - NetworkGeolocationProvider.js: if <2 wifi APs, don't send wifi in JSON request. r=garvank 2014-12-17 13:44:00 -05:00
Alexandre Lissy
f93a807d31 Bug 1075405 - Use numItems to iterate mobile connection providers. r=echen
Using .length attribute does not work anymore, probably after bug
1063304 landed. The GonkVoicemail code makes a similar use of the
MobileConnectionService and uses numItems to iterate over the providers.

--HG--
extra : rebase_source : 28b44f69883e20ae270e7c09e2db90d97b0c7f3d
2014-10-01 07:07:00 -04:00
Alexandre Lissy
3f29a8b281 Bug 1010284 - Add radio tech mapping for MLS. r=garvank, sr=hannosch
Having this mapping is needed in order to properly identify the radio
technology family being used by the connected network.

--HG--
extra : rebase_source : b1e77cc78a4d882af5bdc65a377dcc26340c7fac
2014-09-30 07:11:00 -04:00
Mike Habicher
03a030b03e Bug 1053966 - move mozsettings-changed Observer info from aSubject to aData, r=bz,qDot 2014-09-16 13:15:16 -04:00
Vicamo Yang
8596a24d53 Bug 1063304 - 3.c/3: accommodate other components. r=echen 2014-09-21 15:24:43 +08:00
Carsten "Tomcat" Book
f39f940858 Backed out changeset 9ff2889f236a (bug 1063304) 2014-09-17 13:13:08 +02:00
Ryan VanderMeulen
4ddd261546 Backed out changeset ed586ca080c0 (bug 1053966) for the same Mnw permafails it was backed out for previously. 2014-09-16 16:54:25 -04:00
Mike Habicher
a4981f12d6 Bug 1053966 - move mozsettings-changed Observer info from aSubject to aData, r=bz,qDot 2014-09-16 13:15:16 -04:00
Vicamo Yang
13e05f3696 Bug 1063304 - 3.c/3: accommodate other components. r=echen 2014-09-16 21:20:18 +08:00
Garvan Keeley
d7ac88c21f Bug 1064266 - Use mcc and mnc from network, not from radio (ie SIM). r=kanru 2014-09-09 12:35:00 -04:00
Ryan VanderMeulen
e63bf097f6 Backed out changeset 661f503ea524 (bug 1053966) for Mnw perma-fail. 2014-09-10 12:36:12 -04:00
Mike Habicher
82f45e99bf Bug 1053966 - pass settings change notices to Observers as aSubject instead of aData, r=bz,qdot 2014-08-25 18:06:31 -04:00
Edgar Chen
f8291ab3db Bug 843452 - Part 4-7: [NetworkGeolocationProvider] Get dataInfo via MobileConnectionService. r=kchen 2014-08-11 16:15:59 +08:00
Ghislain 'Aus' Lacroix
475fe7ed48 bug 1046876 - Define 'Cu'. r=gwagner 2014-07-31 13:29:14 -07:00
Doug Turner
873cc297c2 Bug 1030542 - remove logging that includes api keys. r=garvank 2014-06-25 19:23:48 -07:00
Ghislain 'Aus' Lacroix
d332165f84 bug 1034301 - Guard against bad listener behavior. r=kanru 2014-07-17 05:35:33 -07:00
Ghislain 'Aus' Lacroix
dd8a854a30 Backed out changeset 3c7cff7fc71d 2014-07-17 05:34:33 -07:00
Ghislain 'Aus' Lacroix
b567e5112d bug 1034301 - Guard against bad listener behavior. r=kanru 2014-07-17 05:26:25 -07:00
Garvan Keeley
071def2456 Bug 1036110 - Stop the B2G UI setting from overriding the js prefs setting and turning off logging. r=dougt
If gLoggingEnabled is already on during startup, that means it was set in js prefs.
2014-07-09 09:14:00 -04:00
Garvan Keeley
93447c88fb Bug 1018383 - Added request-level caching in NetworkGeolocationProvider.js. r=jdm
This is a cleanup of the patch used in the Tarako bug. I made it clearer that this is request-level caching, NOT position caching.
 This is specifically for preventing unnecessary requests to the server. It is unrelated to the W3C PositionOptions and their effect on position caching.
 Hopefully this detail is clearer in this patch.

Updated mochitests that were relying on old logic to succeed

The failing mochitests were relying on the provider to have a specific behaviour -behaviours that are incidental to the test case. I updated these to reflect the behaviour of the current system.
2014-07-07 07:16:00 +02:00
Garvan Keeley
f41bfc64e9 Bug 1010278 - Check if the type is gsm-ish or wcdma-ish and assign to either one of those categories. r=dougt 2014-06-19 14:45:00 -04:00
Doug Turner
1e80fc1282 Bug 1022283 - Increase the timeout value of the NetworkLocationProvider and clean up its usage. r=kanru 2014-06-08 22:58:37 -07:00
Doug Turner
85e9f8975d Bug 1022279 - NetworkLocationProvider should respect wifi.enabled settings. r=kanru 2014-06-08 22:56:29 -07:00
Garvan Keeley
07f106eb4e Bug 1018379 - Use wifi scanner as the sole the heartbeat that drives location updates, shorten the wifi scanner wait to 5s to ensure this (also stop and restart the scanner on WifiGeoPositionProvider.startup() to ensure this). r=jdm 2014-06-08 22:52:53 -07:00
Marcos Caceres
febd0d8575 Bug 1009688 - Check that Cc["@mozilla.org/wifi/monitor;1"] returns an object before it is used; r=jdm 2014-06-06 18:28:56 -04:00
Garvan Keeley
be40e890f3 Bug 1014916 - Loop through all the available wireless interfaces. r=dougt 2014-05-27 09:50:00 -04:00
Gregor Wagner
d42df218be Bug 999572 - Fix settingsService usage in NetworkGeolocationProvider.js. r=bent 2014-04-23 14:16:24 -07:00
Doug Turner
ab6130fd89 Bug 989692 - Add GPS Debugging Logging. r=kchen 2014-03-24 21:58:18 -07:00
Ehsan Akhgari
af614574f6 Bug 986980 - Remove the classinfo from WifiGeoCoordsObject and WifiGeoPositionObject; r=bzbarsky
These objects are not exposed to Web content, so they don't need the
classinfo.
2014-03-24 23:39:23 -04:00
Doug Turner
1b505adf19 Bug 977725 - MLS Geolocation seeding GONK GPS Provider. r=kanru 2014-03-22 00:42:55 -07:00
Doug Turner
305efbc7f9 Bug 977120 - Enable NetworkGeolocationProvider to collect cellular tower data on Firefox OS. r=jdm 2014-03-10 16:10:15 +00:00
Doug Turner
d9090c7201 Bug 978593 - refactor and cleanup NetworkLocationProvider. Prep work to enable celluar support. r=jdm 2014-03-01 23:46:02 -08:00
Doug Turner
9ab8425fc1 Bug 962000 - WifiGeoPositionProvider.isPublic() is busted. r=jdm 2014-01-21 17:28:57 +08:00
Guilherme Gonçalves
67b4cef738 Bug 732923 - Make watchPosition timeouts adhere to spec. r=jdm
This also disables a couple of tests that depend on the network
provider on Android. These tests were passing by accident before
this patch (and started failing afterwards), and were never meant
to run on Android anyway.
2014-01-08 16:04:37 -05:00
Bharath Thiruveedula
4f05270316 Bug 684722 - Invoke geolocation error handlers when xhr fails. r=jdm 2013-11-04 14:52:53 -05:00
Ryan VanderMeulen
71aa2d98f6 Backed out changesets d83f69660b5a and b54f084f8e39 (bug 684722) for frequent OSX timeouts. 2013-10-31 17:47:23 -04:00
Bharath Thiruveedula
85a6491bec Bug 684722 - Invoke geolocation error handlers when xhr fails. r=jdm 2013-10-31 11:26:41 -04:00
Michael Harrison
bc9d2fb95d Bug 914888 - Reset geolocation provider accuracy when the last high accuracy request is shut down. r=jdm 2013-10-20 03:14:00 +01:00
Ryan VanderMeulen
5b64d52d9e Backed out changeset 403bbc5e127f (bug 914888) for intermittent xpcshell failures. 2013-10-16 16:19:48 -04:00
Michael Harrison
fa3449c498 Bug 914888 - Reset geolocation provider accuracy when the last high accuracy request is shut down. r=jdm 2013-10-15 14:03:34 -04:00
Ryan VanderMeulen
a6f51028c2 Backed out changeset 4f2748dbe5ed (bug 684722) for Android timeouts. 2013-10-08 10:01:40 -04:00
Bharath Thiruveedula
c8b1187a41 Bug 684722 - Invoke geolocation error handlers when xhr fails. r=jdm 2013-10-08 08:22:42 -04:00
Michael Harrison
bbf3ca42c9 Bug 886138 - Make Geolocation work when geo.wifi.uri is a file:// URI. r=jdm 2013-10-01 17:38:30 -04:00
Ed Morley
9fd3792ee3 Bug 899990 - Null check xhr.response to avoid spammy JS exceptions; r=jdm
--HG--
extra : rebase_source : d1b78bc695896565c8ac7d327da62f324a44bb51
2013-07-31 18:02:05 +01:00
Doug Turner
ffddcd248a Bug 882485 - Add API keys support for Google Location Service API. r=gps, jdm, gavin. sr=brendan 2013-06-12 19:20:07 -07:00
Chris Peterson
0217fe67ca Bug 883071 - Don't send opted-out SSIDs when querying Google Location Service. r=dougt 2013-06-13 20:20:15 -07:00
Sankha Narayan Guria
23d9a7d741 Bug 825608 - Sets accessTokenDate to the result of the pref; r=jdm 2013-04-02 04:04:00 -04:00
Josh Matthews
bd3fd31dd1 Bug 826102 - Make IPC geolocation listener never use cached values and never skip a value. r=dougt 2013-01-07 06:57:00 +01:00
Josh Matthews
07604d3adf Bug 823789 - Pass enableHighAccuracy geolocation changes to the chrome process. r=dougt 2012-12-31 11:36:46 -05:00