const unsigned short WAITING = 1; // This batch is submitted, but not in a transmission.
const unsigned short SENDING = 2; // This batch is in a transmission.
const unsigned short COMPLETED = 3; // All requests in this batch is are completed or failed.
const unsigned short DROPPED = 4; // This batch is already removed from the user agent.
readonly attribute unsigned short state;