ResponseHandle response_handle(JSObject *obj) {
  MOZ_ASSERT(is_instance(obj));
  return ResponseHandle{(uint32_t)(JS::GetReservedSlot(obj, Slots::Response).toInt32())};
}
ResponseHandle response_handle(JSObject *obj) {
  MOZ_ASSERT(is_instance(obj));
  return ResponseHandle{(uint32_t)(JS::GetReservedSlot(obj, Slots::Response).toInt32())};
}