Bug 974893 - Remove EnterCompartment and keep the global with the value in Promise, r=bz