gecko-dev/dom/system
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 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
gonk Bug 1257335. Replace some AutoSafeJSContext uses with AutoJSAPI or AutoJSContext uses. r=bholley 2016-03-18 10:48:38 -04:00
mac Bug 1253159 - Remove locationUpdatePending and restore request timeout. r=jdm 2016-03-02 21:48:00 -05:00
qt Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
tests Bug 1197901, ensure sensor events dispatching follows the becoming spec change, r=bz 2016-02-24 19:43:07 +02:00
windows Bug 1253159 - Remove locationUpdatePending and restore request timeout. r=jdm 2016-03-02 21:48:00 -05:00
NetworkGeolocationProvider.js Bug 1247410 - "test for _nomap ids does not work correctly". r=dougt 2016-02-11 06:23:00 +01:00
NetworkGeolocationProvider.manifest
OSFileConstants.cpp Bug 1255172. Fix unsafe reference gc hazards people snuck into DOM code. r=bkelly 2016-03-10 18:07:28 -05:00
OSFileConstants.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
SystemUpdate.manifest Bug 1037329 - Part 1: Implement SystemUpdate API. r=baku 2015-07-12 22:06:00 -04:00
SystemUpdateManager.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
SystemUpdateService.jsm Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
moz.build Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
nsDeviceSensors.cpp Bug 1197901, ensure sensor events dispatching follows the becoming spec change, r=bz 2016-02-24 19:43:07 +02:00
nsDeviceSensors.h Bug 1205649 - [1.1] Use relative orientation for DOM DeviceOrientation events by default. r=vlad 2016-01-21 18:14:33 +01:00
nsIOSFileConstantsService.idl
nsISystemUpdateProvider.idl Bug 1037329 - Part 1: Implement SystemUpdate API. r=baku 2015-07-12 22:06:00 -04:00