Граф коммитов

81 Коммитов

Автор SHA1 Сообщение Дата
Shu-yu Guo 64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Aidin Gharibnavaz 6834863af1 Bug 1177871 - Add a timeout to XHR request of WifiGeoPositionProvider. r=jdm
--HG--
extra : rebase_source : 4a7e66437432bdc07d104ba7ea6db422002e73cf
2015-08-02 08:45:00 -04:00
Ryan VanderMeulen 6c087cd301 Backed out changeset 8010e0cbd228 (bug 1177871) for Windows debug test_geolocation_provider_timeout.js crashes.
CLOSED TREE

--HG--
extra : amend_source : 6f3589ee0d2a0f18438a69c9f1389ae3ee3b8933
extra : histedit_source : ace16abe5f6c53ba91085d15d4c858dd20b2894e
2015-07-31 15:00:12 -04:00
Aidin Gharibnavaz 3909a2ab43 Bug 1177871 - Timeout added to XHR request of WifiGeoPositionProvider. r=jdm
CLOSED TREE

--HG--
extra : histedit_source : a64c486ecc50ac086f1e47dc5a5660690e93d300
2015-07-30 07:01:00 -04:00
"Anup Allamsetty" 6eb7e62373 Bug 1035097 - Changed the type from 'radio' to 'radioType'. r=jdm 2015-07-21 06:43:00 -04:00
Bill McCloskey 2cbf53b22f Bug 1145394 - Remove exec bit on js files (r=fabrice,gavin) 2015-03-20 11:57:38 -07:00
Chris Peterson 1ab0ff809c Bug 1121864 - Fix some minor nits in NetworkGeolocationProvider.js. r=garvank 2015-01-14 20:28:27 -08:00
Pierre Rudloff 6c818493a3 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 d1b3b7308d 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 4409d5d82c 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 c0376bc34a Bug 1053966 - move mozsettings-changed Observer info from aSubject to aData, r=bz,qDot 2014-09-16 13:15:16 -04:00
Vicamo Yang ede03dd674 Bug 1063304 - 3.c/3: accommodate other components. r=echen 2014-09-21 15:24:43 +08:00
Carsten "Tomcat" Book 03e3efbd63 Backed out changeset 9ff2889f236a (bug 1063304) 2014-09-17 13:13:08 +02:00
Ryan VanderMeulen d3fce43e7e 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 e9ff4e12a0 Bug 1053966 - move mozsettings-changed Observer info from aSubject to aData, r=bz,qDot 2014-09-16 13:15:16 -04:00
Vicamo Yang 44379ca746 Bug 1063304 - 3.c/3: accommodate other components. r=echen 2014-09-16 21:20:18 +08:00
Garvan Keeley fcea22c7d2 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 cef6a37510 Backed out changeset 661f503ea524 (bug 1053966) for Mnw perma-fail. 2014-09-10 12:36:12 -04:00
Mike Habicher 8bf31e2480 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 94212cd1a3 Bug 843452 - Part 4-7: [NetworkGeolocationProvider] Get dataInfo via MobileConnectionService. r=kchen 2014-08-11 16:15:59 +08:00
Ghislain 'Aus' Lacroix 3c342b867c bug 1046876 - Define 'Cu'. r=gwagner 2014-07-31 13:29:14 -07:00
Doug Turner ed23114bdc Bug 1030542 - remove logging that includes api keys. r=garvank 2014-06-25 19:23:48 -07:00
Ghislain 'Aus' Lacroix 4f9a98b1ed bug 1034301 - Guard against bad listener behavior. r=kanru 2014-07-17 05:35:33 -07:00
Ghislain 'Aus' Lacroix 8515dcb19f Backed out changeset 3c7cff7fc71d 2014-07-17 05:34:33 -07:00
Ghislain 'Aus' Lacroix eba9854fd4 bug 1034301 - Guard against bad listener behavior. r=kanru 2014-07-17 05:26:25 -07:00
Garvan Keeley 1428f007de 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 297eb6f869 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 0473745b43 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 aeaa4ae5d2 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 a67822ca53 Bug 1022279 - NetworkLocationProvider should respect wifi.enabled settings. r=kanru 2014-06-08 22:56:29 -07:00
Garvan Keeley 20266b3d5d 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 ed539c02a6 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 9f4e1b2a1d Bug 1014916 - Loop through all the available wireless interfaces. r=dougt 2014-05-27 09:50:00 -04:00
Gregor Wagner cff45b5a89 Bug 999572 - Fix settingsService usage in NetworkGeolocationProvider.js. r=bent 2014-04-23 14:16:24 -07:00
Doug Turner 6ae73eacc0 Bug 989692 - Add GPS Debugging Logging. r=kchen 2014-03-24 21:58:18 -07:00
Ehsan Akhgari c8b92dbc0e 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 bd8979b3cf Bug 977725 - MLS Geolocation seeding GONK GPS Provider. r=kanru 2014-03-22 00:42:55 -07:00
Doug Turner c52e81d928 Bug 977120 - Enable NetworkGeolocationProvider to collect cellular tower data on Firefox OS. r=jdm 2014-03-10 16:10:15 +00:00
Doug Turner eef5fec5c2 Bug 978593 - refactor and cleanup NetworkLocationProvider. Prep work to enable celluar support. r=jdm 2014-03-01 23:46:02 -08:00
Doug Turner 737eaa6a5e Bug 962000 - WifiGeoPositionProvider.isPublic() is busted. r=jdm 2014-01-21 17:28:57 +08:00
Guilherme Gonçalves 5b1fa81c3e 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 4eaabc5cb2 Bug 684722 - Invoke geolocation error handlers when xhr fails. r=jdm 2013-11-04 14:52:53 -05:00
Ryan VanderMeulen d2586540b9 Backed out changesets d83f69660b5a and b54f084f8e39 (bug 684722) for frequent OSX timeouts. 2013-10-31 17:47:23 -04:00
Bharath Thiruveedula bf081cf3d6 Bug 684722 - Invoke geolocation error handlers when xhr fails. r=jdm 2013-10-31 11:26:41 -04:00
Michael Harrison 0c676d8040 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 884eb27d1d Backed out changeset 403bbc5e127f (bug 914888) for intermittent xpcshell failures. 2013-10-16 16:19:48 -04:00
Michael Harrison 647b2cb1c0 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 1e83568dcb Backed out changeset 4f2748dbe5ed (bug 684722) for Android timeouts. 2013-10-08 10:01:40 -04:00
Bharath Thiruveedula dde90bad3e Bug 684722 - Invoke geolocation error handlers when xhr fails. r=jdm 2013-10-08 08:22:42 -04:00
Michael Harrison 156c9c3570 Bug 886138 - Make Geolocation work when geo.wifi.uri is a file:// URI. r=jdm 2013-10-01 17:38:30 -04:00