Bug 1337112 - Remove links from JSRuntime to its single context and zone group, r=jandem,jonco.

This commit is contained in:
Brian Hackett
2017-02-10 16:47:50 -07:00
parent 0785541a5c
commit 672894a957
29 changed files with 239 additions and 184 deletions

View File

@@ -451,7 +451,7 @@ XPCShellEnvironment::Init()
}
JS::CompartmentOptions options;
options.creationOptions().setZone(JS::SystemZone);
options.creationOptions().setSystemZone();
options.behaviors().setVersion(JSVERSION_LATEST);
if (xpc::SharedMemoryEnabled())
options.creationOptions().setSharedMemoryAndAtomicsEnabled(true);