Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley)

This commit is contained in:
Bill McCloskey
2013-03-16 20:36:37 -07:00
parent a2494c0fbf
commit 490af25d66
89 changed files with 2352 additions and 1664 deletions

View File

@@ -20,6 +20,7 @@
#include <windows.h>
#endif
#include "jsapi.h"
#include "nsCOMPtr.h"
#include "nsAutoPtr.h"
#include "nsICategoryManager.h"
@@ -742,6 +743,7 @@ mozJSComponentLoader::PrepareObjectForLocation(JSCLContextHelper& aCx,
rv = xpc->InitClassesWithNewWrappedGlobal(aCx, backstagePass,
mSystemPrincipal,
0,
JS::SystemZone,
getter_AddRefs(holder));
NS_ENSURE_SUCCESS(rv, nullptr);