Tests that the injected script only `.then()`s promises if they are returned by native getters.