Commit Graph

61 Commits

Author SHA1 Message Date
Ghislain 'Aus' Lacroix
2378a3f9ab bug 1046876 - Define 'Cu'. r=gwagner 2014-07-31 13:29:14 -07:00
Doug Turner
fd4ef3048a Bug 1030542 - remove logging that includes api keys. r=garvank 2014-06-25 19:23:48 -07:00
Ghislain 'Aus' Lacroix
a1701f9da4 bug 1034301 - Guard against bad listener behavior. r=kanru 2014-07-17 05:35:33 -07:00
Ghislain 'Aus' Lacroix
eeaeabb83e Backed out changeset 3c7cff7fc71d 2014-07-17 05:34:33 -07:00
Ghislain 'Aus' Lacroix
87e597b7d1 bug 1034301 - Guard against bad listener behavior. r=kanru 2014-07-17 05:26:25 -07:00
Garvan Keeley
21f9b9cc9f 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
7eec706904 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
7e42011b98 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
c38a67269f 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
18423ab7cc Bug 1022279 - NetworkLocationProvider should respect wifi.enabled settings. r=kanru 2014-06-08 22:56:29 -07:00
Garvan Keeley
bfa4f5a276 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
e65cf7c662 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
e38d20674e Bug 1014916 - Loop through all the available wireless interfaces. r=dougt 2014-05-27 09:50:00 -04:00
Gregor Wagner
4e4c215ffd Bug 999572 - Fix settingsService usage in NetworkGeolocationProvider.js. r=bent 2014-04-23 14:16:24 -07:00
Doug Turner
db7f39a8a4 Bug 989692 - Add GPS Debugging Logging. r=kchen 2014-03-24 21:58:18 -07:00
Ehsan Akhgari
ddccc8341e 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
c11d4eaa2b Bug 977725 - MLS Geolocation seeding GONK GPS Provider. r=kanru 2014-03-22 00:42:55 -07:00
Doug Turner
65654c7712 Bug 977120 - Enable NetworkGeolocationProvider to collect cellular tower data on Firefox OS. r=jdm 2014-03-10 16:10:15 +00:00
Doug Turner
75fdc9f480 Bug 978593 - refactor and cleanup NetworkLocationProvider. Prep work to enable celluar support. r=jdm 2014-03-01 23:46:02 -08:00
Doug Turner
d9f9eb946e Bug 962000 - WifiGeoPositionProvider.isPublic() is busted. r=jdm 2014-01-21 17:28:57 +08:00
Guilherme Gonçalves
4fb8616176 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
f5a856938d Bug 684722 - Invoke geolocation error handlers when xhr fails. r=jdm 2013-11-04 14:52:53 -05:00
Ryan VanderMeulen
6edf2a6ccd Backed out changesets d83f69660b5a and b54f084f8e39 (bug 684722) for frequent OSX timeouts. 2013-10-31 17:47:23 -04:00
Bharath Thiruveedula
afdb93168c Bug 684722 - Invoke geolocation error handlers when xhr fails. r=jdm 2013-10-31 11:26:41 -04:00
Michael Harrison
821f4a4ec6 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
e36b5c1666 Backed out changeset 403bbc5e127f (bug 914888) for intermittent xpcshell failures. 2013-10-16 16:19:48 -04:00
Michael Harrison
fc54d0b9da 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
3abe8e9133 Backed out changeset 4f2748dbe5ed (bug 684722) for Android timeouts. 2013-10-08 10:01:40 -04:00
Bharath Thiruveedula
5e07746a6f Bug 684722 - Invoke geolocation error handlers when xhr fails. r=jdm 2013-10-08 08:22:42 -04:00
Michael Harrison
ab4f723042 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
182ac06b2a 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
8c052a3c1e 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
f329d86f66 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
6090516dc1 Bug 825608 - Sets accessTokenDate to the result of the pref; r=jdm 2013-04-02 04:04:00 -04:00
Josh Matthews
4963049983 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
72b2dfd106 Bug 823789 - Pass enableHighAccuracy geolocation changes to the chrome process. r=dougt 2012-12-31 11:36:46 -05:00
Ehsan Akhgari
9ee27cbe92 Bug 769285 - Use separate access tokens for private and public geolocation requests. r=dougt 2012-12-06 21:13:15 -05:00
Josh Matthews
7d1a5cd87b Backed out changeset 7c45205a61a0 (bug 769285) 2012-11-28 11:51:42 -05:00
Josh Matthews
b39d6a3977 Bug 769285 - Use separate access tokens for private and public geolocation requests. r=dougt 2012-11-28 11:20:20 -05:00
Kyle Huey
45adfbf2c8 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
e6e6deb486 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
7457de64ad Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
a7bb0ec116 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
dd0cfd935a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Josh Dhaliwal
5062750d82 Bug 735011 - geolocation - support enableHighAccuracy position option. r=dougt 2012-03-21 10:52:35 -07:00
Josh Matthews
2d6246c2d7 Bug 716127 - When the network geolocation provider is told to watch for wifi changes, force a change to occur to avoid indefinite waiting. r=dougt 2012-03-01 01:58:37 -05:00
Corey Richardson
215974f50b Bug 684720 - Make the NetworkGeolocationProvider use an async xhr. r=jdm 2012-01-21 14:28:00 -05:00
Doug Turner
34c8a90042 Bug 713991 - Geolocation fails when used with large number of access points. r=gmealer 2012-01-03 20:13:34 -08:00
Tobias Markus
591ad17616 Bug 706515 - Non-initialized variables in nsGeolocationProvider.js r=doug.turner 2011-12-01 12:02:51 +01:00