gecko-dev/dom/system/gonk
Boris Zbarsky 172598b4e2 Bug 1257335. Replace some AutoSafeJSContext uses with AutoJSAPI or AutoJSContext uses. r=bholley
In general, using an AutoJSAPI inited with an object is NOT the same as using
AutoSafeJSContext (or AutoJSAPI inited without an object) and then entering the
compartment of the object: the former will report exceptions to the global of
the object as it comes off the stack, while the latter will not.  This only
really matters if we have an object from a window or worker global and hence
might fire error events, or report internal stuff to the web console.

The changes to initing with an object made in this bug are OK for the following
reasons:

1) dom/base/Console.cpp: Always clears its exception before coming off the stack.
2) dom/base/nsDOMClassInfo.cpp: Inits with a non-web global.
3) dom/base/nsFrameMessageManager.cpp: Inits with a non-web global.
4) dom/media/MediaPermissionGonk.cpp: We probably want the caller to notice if
   anything here throws.
5) dom/xbl/nsXBLPrototypeBinding.cpp: Inits with a non-web global.
6) dom/xul/nsXULElement.cpp: Inits with a non-web global.
7) extensions/pref/autoconfig/src/nsJSConfigTriggers.cpp: Inits with a non-web global.
8) ipc/testshell/XPCShellEnvironment.cpp: Inits with a non-web global.
2016-03-18 10:48:38 -04:00
..
android_audio Bug 1218629 - Save audio volume for each device to setting db r=alwu 2015-12-23 23:31:34 -08:00
mozstumbler Bug 1219478: Replace PRLogModuleInfo usage with LazyLogModule in dom folders except media.r=amerchesini 2015-11-23 11:09:25 -08:00
tests Bug 1235697 - Part 2: Add Test Coverage. r=echen 2015-12-30 18:02:27 +08:00
AudioChannelManager.cpp Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
AudioChannelManager.h Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
AudioManager.cpp Bug 1257335. Replace some AutoSafeJSContext uses with AutoJSAPI or AutoJSContext uses. r=bholley 2016-03-18 10:48:38 -04:00
AudioManager.h Bug 1249437 - Remove workaround of volume control r=alwu 2016-03-09 15:34:07 -08:00
AutoMounter.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
AutoMounter.h
AutoMounterSetting.cpp Bug 1257335. Replace some AutoSafeJSContext uses with AutoJSAPI or AutoJSContext uses. r=bholley 2016-03-18 10:48:38 -04:00
AutoMounterSetting.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
DataCallInterfaceService.js Bug 1174998 - Part 3: Read data call's MTU from network/apn settings. r=echen 2015-09-23 15:35:32 +08:00
DataCallInterfaceService.manifest
DataCallManager.js Bug 1110619 - Part 2: Implementation Changes. r=echen 2015-11-10 15:30:48 +08:00
DataCallManager.manifest Bug 1114901 - Part 3: move data connection related code out of RadioInterfaceLayer. r=echen 2015-05-20 10:08:39 +08:00
GeolocationUtil.cpp Bug 1200304 - Move stumbling code from gonkgps to MozStumbler.cpp. r=jdm 2015-09-08 21:20:56 -04:00
GeolocationUtil.h Bug 1200304 - Move stumbling code from gonkgps to MozStumbler.cpp. r=jdm 2015-09-08 21:20:56 -04:00
GonkGPSGeolocationProvider.cpp Bug 1253159 - Remove locationUpdatePending and restore request timeout. r=jdm 2016-03-02 21:48:00 -05:00
GonkGPSGeolocationProvider.h
MozMtpCommon.h
MozMtpDatabase.cpp Bug 1253571 - Remove the remaining uses of ScopedDeletePtr and ScopedFreePtr from the HAL and MTP code r=dhylands 2016-03-04 15:15:38 +01:00
MozMtpDatabase.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
MozMtpServer.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
MozMtpServer.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
MozMtpStorage.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
MozMtpStorage.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
NetIdManager.cpp
NetIdManager.h
NetworkInterfaceListService.js Bug 1167132 - Part 15: [NetworkManager] Move network information into a separate interface (NetworkInterfaceList). r=echen 2015-07-29 02:16:00 -04:00
NetworkInterfaceListService.manifest
NetworkManager.js Bug 1000040 - Part 2: Implement EthernetManager; r=vicamo 2016-02-19 16:06:29 +08:00
NetworkManager.manifest Bug 1000040 - Part 2: Implement EthernetManager; r=vicamo 2016-02-19 16:06:29 +08:00
NetworkService.js Bug 1000040 - Part 1: Add required APIs for Ethernet; r=vicamo,bholley 2016-02-19 16:06:21 +08:00
NetworkService.manifest Bug 1000040 - Part 1: Add required APIs for Ethernet; r=vicamo,bholley 2016-02-19 16:06:21 +08:00
NetworkUtils.cpp Bug 1197311 - Remove PR_snprintf calls in dom/ r=froydnj 2016-02-17 14:23:39 -05:00
NetworkUtils.h Bug 1000040 - Part 1: Add required APIs for Ethernet; r=vicamo,bholley 2016-02-19 16:06:21 +08:00
NetworkWorker.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
NetworkWorker.h
OpenFileFinder.cpp
OpenFileFinder.h
RILSystemMessenger.jsm
RILSystemMessengerHelper.js Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
RILSystemMessengerHelper.manifest
RadioInterfaceLayer.js Bug 1110619 - Part 2: Implementation Changes. r=echen 2015-11-10 15:30:48 +08:00
RadioInterfaceLayer.manifest
SystemProperty.cpp Bug 1245100: Include missing headers in SystemProperty.cpp, r=edgar 2016-02-03 09:52:24 +01:00
SystemProperty.h Bug 1236433 - Part 1: Provide a Native Wrapper to Allow Fallback When property_get/set is Unavailable; r=edgar 2016-01-07 18:40:19 +08:00
SystemWorkerManager.cpp Bug 1257335. Replace some AutoSafeJSContext uses with AutoJSAPI or AutoJSContext uses. r=bholley 2016-03-18 10:48:38 -04:00
SystemWorkerManager.h Bug 1257335. Replace some AutoSafeJSContext uses with AutoJSAPI or AutoJSContext uses. r=bholley 2016-03-18 10:48:38 -04:00
TetheringService.js Bug 1217093 - Remove for-each from dom/. r=smaug 2015-10-19 02:00:50 +09:00
TetheringService.manifest
TimeZoneSettingObserver.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
TimeZoneSettingObserver.h
Volume.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
Volume.h Bug 1177374 - Call realpath on volume mount points so thatVolumeService::GetVolumeByPath works properly. r=achen 2015-10-15 11:42:10 -07:00
VolumeCommand.cpp
VolumeCommand.h Bug 1245093: Explictly refer to |class ResponseCode| in global namespace, r=dhylands 2016-02-03 09:51:49 +01:00
VolumeManager.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
VolumeManager.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
VolumeManagerLog.h
VolumeServiceIOThread.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
VolumeServiceIOThread.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
VolumeServiceTest.cpp
VolumeServiceTest.h
moz.build Bug 908038 - Move worker_buf.js installation into moz.build; r=mshal 2016-03-07 17:00:49 +01:00
nsIAudioManager.idl Bug 1170117 - Separate volume control. r=baku 2015-07-17 10:07:37 +08:00
nsIDataCallInterfaceService.idl Bug 1174998 - Part 3: Read data call's MTU from network/apn settings. r=echen 2015-09-23 15:35:32 +08:00
nsIDataCallManager.idl Bug 1185406 - B2G RIL: Read 'pcscf' and expose it in nsIRilNetworkInfo. r=hsinyi 2015-08-18 09:54:36 +08:00
nsIGonkDataCallInterfaceService.idl
nsINetworkInterface.idl Bug 1000040 - Part 2: Implement EthernetManager; r=vicamo 2016-02-19 16:06:29 +08:00
nsINetworkInterfaceListService.idl Bug 1167132 - Part 15: [NetworkManager] Move network information into a separate interface (NetworkInterfaceList). r=echen 2015-07-29 02:16:00 -04:00
nsINetworkManager.idl Bug 1000040 - Part 2: Implement EthernetManager; r=vicamo 2016-02-19 16:06:29 +08:00
nsINetworkService.idl Bug 1000040 - Part 1: Add required APIs for Ethernet; r=vicamo,bholley 2016-02-19 16:06:21 +08:00
nsINetworkWorker.idl
nsIRadioInterfaceLayer.idl Bug 1239906 - Deprecate nsIRadioInterfaceLayer.getClientIdForEmergencyCall(). r=bevis 2015-10-24 19:57:20 +08:00
nsISystemWorkerManager.idl
nsITetheringService.idl Bug 1187262 - Let the flag 'Services.io.offline' reference the state of tethering. r=jjong 2015-10-05 09:59:08 +08:00
nsIVolume.idl
nsIVolumeMountLock.idl
nsIVolumeService.idl
nsIVolumeStat.idl
nsIWorkerHolder.idl
nsVolume.cpp Bug 1166320 - Make volume service safer to use off main thread. r=dhylands 2015-08-20 12:47:23 -04:00
nsVolume.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsVolumeMountLock.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsVolumeMountLock.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsVolumeService.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsVolumeService.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsVolumeStat.cpp Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan 2015-08-04 16:17:36 -07:00
nsVolumeStat.h
ril_consts.js Bug 1122376 - Support read SIM contact dialling number exceed 20 digits. r=echen 2015-09-20 19:48:00 +02:00
ril_worker.js Bug 1235697 - Part 1: Workaround to Suppress the CB Message according to the settings. r=echen 2015-12-30 18:00:57 +08:00
ril_worker_buf_object.js
ril_worker_telephony_request_queue.js
systemlibs.js Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
worker_buf.js Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00