@zqzhang, ReadyState is a enum, and in the spec, the readyState is of type ReadyState, but i think the readyState should be of type string, because readyState will be a value of ReadyState ("connecting", "open", "closing", "closed", "halfclosed"), not the enum ReadyState, do i have a correct understand?