1 Test Navigator/Location wrappers with GC.
3 This tests that gc does not destroy the WorkerNavigator and WorkerLocation wrappers if the WorkerContext is still active. You should see two PASSes below if this test succeeds.
4 navigator.foo = 'PASS'; gc(); navigator.foo: PASS
5 location.foo = 'PASS'; gc(); location.foo: PASS