Reset to in-memory stream with empty byte sequence for None init body

Because the response body stream is initialized with FetchResponse, it
cannot be processed with in-memory empty sequence. Thus, instead of
using the FetchResponse stream, we'll reset it to Memory body stream
with empty byte sequence if there's no init body.
This commit is contained in:
cybai 2023-04-17 17:07:17 +09:00
parent 7eca93bb7a
commit 7c9c786053
8 changed files with 109 additions and 984 deletions

View file

@ -144,6 +144,11 @@ impl Response {
)?; )?;
} }
}; };
} else {
// Reset FetchResponse to an in-memory stream with empty byte sequence here for
// no-init-body case
let stream = ReadableStream::new_from_bytes(&global, Vec::with_capacity(0));
r.body_stream.set(Some(&*stream));
} }
Ok(r) Ok(r)

View file

@ -1,226 +1,10 @@
[stream-safe-creation.any.html]
expected: TIMEOUT
[throwing Object.prototype.start accessor should not affect stream creation by 'consumeEmptyResponse']
expected: TIMEOUT
[Object.prototype.start accessor returning invalid value should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.type accessor should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[Object.prototype.type accessor returning invalid value should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.size accessor should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[Object.prototype.size accessor returning invalid value should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.highWaterMark accessor should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[Object.prototype.highWaterMark accessor returning invalid value should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[Object.prototype.start function which errors the stream should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.start accessor should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[Object.prototype.start accessor returning invalid value should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.type accessor should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[Object.prototype.type accessor returning invalid value should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.size accessor should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[Object.prototype.size accessor returning invalid value should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.highWaterMark accessor should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[Object.prototype.highWaterMark accessor returning invalid value should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[Object.prototype.start function which errors the stream should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.start accessor should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[Object.prototype.start accessor returning invalid value should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.type accessor should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[Object.prototype.type accessor returning invalid value should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.size accessor should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[Object.prototype.size accessor returning invalid value should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.highWaterMark accessor should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[Object.prototype.highWaterMark accessor returning invalid value should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[Object.prototype.start function which errors the stream should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.start accessor should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[Object.prototype.start accessor returning invalid value should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.type accessor should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[Object.prototype.type accessor returning invalid value should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.size accessor should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[Object.prototype.size accessor returning invalid value should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.highWaterMark accessor should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[Object.prototype.highWaterMark accessor returning invalid value should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[Object.prototype.start function which errors the stream should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[stream-safe-creation.any.serviceworker.html] [stream-safe-creation.any.serviceworker.html]
expected: ERROR expected: ERROR
[stream-safe-creation]
expected: FAIL
[stream-safe-creation.any.sharedworker.html] [stream-safe-creation.any.sharedworker.html]
expected: ERROR expected: ERROR
[stream-safe-creation]
[stream-safe-creation.any.worker.html] expected: FAIL
expected: TIMEOUT
[throwing Object.prototype.start accessor should not affect stream creation by 'consumeEmptyResponse']
expected: TIMEOUT
[Object.prototype.start accessor returning invalid value should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.type accessor should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[Object.prototype.type accessor returning invalid value should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.size accessor should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[Object.prototype.size accessor returning invalid value should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.highWaterMark accessor should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[Object.prototype.highWaterMark accessor returning invalid value should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[Object.prototype.start function which errors the stream should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.start accessor should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[Object.prototype.start accessor returning invalid value should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.type accessor should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[Object.prototype.type accessor returning invalid value should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.size accessor should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[Object.prototype.size accessor returning invalid value should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.highWaterMark accessor should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[Object.prototype.highWaterMark accessor returning invalid value should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[Object.prototype.start function which errors the stream should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.start accessor should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[Object.prototype.start accessor returning invalid value should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.type accessor should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[Object.prototype.type accessor returning invalid value should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.size accessor should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[Object.prototype.size accessor returning invalid value should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.highWaterMark accessor should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[Object.prototype.highWaterMark accessor returning invalid value should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[Object.prototype.start function which errors the stream should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.start accessor should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[Object.prototype.start accessor returning invalid value should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.type accessor should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[Object.prototype.type accessor returning invalid value should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.size accessor should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[Object.prototype.size accessor returning invalid value should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.highWaterMark accessor should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[Object.prototype.highWaterMark accessor returning invalid value should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[Object.prototype.start function which errors the stream should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN

View file

@ -5,91 +5,52 @@
expected: ERROR expected: ERROR
[response-consume-empty.any.worker.html] [response-consume-empty.any.worker.html]
expected: TIMEOUT
[Consume response's body as text] [Consume response's body as text]
expected: TIMEOUT expected: FAIL
[Consume response's body as json (error case)] [Consume response's body as json (error case)]
expected: NOTRUN expected: FAIL
[Consume response's body as blob] [Consume response's body as blob]
expected: NOTRUN expected: FAIL
[Consume empty URLSearchParams response body as text]
expected: NOTRUN
[Consume response's body as formData without correct type (error case)] [Consume response's body as formData without correct type (error case)]
expected: NOTRUN expected: FAIL
[Consume empty blob response body as text]
expected: NOTRUN
[Consume empty text response body as arrayBuffer]
expected: NOTRUN
[Consume empty text response body as text]
expected: NOTRUN
[Consume empty blob response body as arrayBuffer]
expected: NOTRUN
[Consume response's body as arrayBuffer] [Consume response's body as arrayBuffer]
expected: NOTRUN expected: FAIL
[Consume empty FormData response body as text] [Consume empty FormData response body as text]
expected: NOTRUN expected: FAIL
[Consume response's body as formData with correct multipart type (error case)] [Consume response's body as formData with correct multipart type (error case)]
expected: NOTRUN expected: FAIL
[Consume response's body as formData with correct urlencoded type] [Consume response's body as formData with correct urlencoded type]
expected: NOTRUN expected: FAIL
[Consume empty ArrayBuffer response body as text]
expected: NOTRUN
[response-consume-empty.any.html] [response-consume-empty.any.html]
expected: TIMEOUT
[Consume response's body as text] [Consume response's body as text]
expected: TIMEOUT expected: FAIL
[Consume response's body as json (error case)] [Consume response's body as json (error case)]
expected: NOTRUN expected: FAIL
[Consume response's body as blob] [Consume response's body as blob]
expected: NOTRUN expected: FAIL
[Consume empty URLSearchParams response body as text]
expected: NOTRUN
[Consume response's body as formData without correct type (error case)] [Consume response's body as formData without correct type (error case)]
expected: NOTRUN expected: FAIL
[Consume empty blob response body as text]
expected: NOTRUN
[Consume empty text response body as arrayBuffer]
expected: NOTRUN
[Consume empty text response body as text]
expected: NOTRUN
[Consume empty blob response body as arrayBuffer]
expected: NOTRUN
[Consume response's body as arrayBuffer] [Consume response's body as arrayBuffer]
expected: NOTRUN expected: FAIL
[Consume empty FormData response body as text] [Consume empty FormData response body as text]
expected: NOTRUN expected: FAIL
[Consume response's body as formData with correct multipart type (error case)] [Consume response's body as formData with correct multipart type (error case)]
expected: NOTRUN expected: FAIL
[Consume response's body as formData with correct urlencoded type] [Consume response's body as formData with correct urlencoded type]
expected: NOTRUN expected: FAIL
[Consume empty ArrayBuffer response body as text]
expected: NOTRUN

View file

@ -1,307 +1,162 @@
[response.window.html] [response.window.html]
expected: TIMEOUT
[fetch(): combined response Content-Type: text/plain ] [fetch(): combined response Content-Type: text/plain ]
expected: NOTRUN expected: FAIL
[Response: combined response Content-Type: text/plain;charset=gbk text/plain;charset=windows-1252]
expected: NOTRUN
[Request: combined response Content-Type: */* text/html]
expected: NOTRUN
[fetch(): separate response Content-Type: text/html;" \\" text/plain] [fetch(): separate response Content-Type: text/html;" \\" text/plain]
expected: NOTRUN expected: FAIL
[Response: combined response Content-Type: text/html */*]
expected: NOTRUN
[fetch(): separate response Content-Type: */* text/html]
expected: NOTRUN
[fetch(): separate response Content-Type: text/html;" text/plain] [fetch(): separate response Content-Type: text/html;" text/plain]
expected: NOTRUN expected: FAIL
[<iframe>: combined response Content-Type: text/plain */*;charset=gbk] [<iframe>: combined response Content-Type: text/plain */*;charset=gbk]
expected: FAIL expected: FAIL
[fetch(): separate response Content-Type: text/html;x=" text/plain] [fetch(): separate response Content-Type: text/html;x=" text/plain]
expected: NOTRUN expected: FAIL
[fetch(): combined response Content-Type: text/plain;charset=gbk text/html;charset=windows-1254] [fetch(): combined response Content-Type: text/plain;charset=gbk text/html;charset=windows-1254]
expected: NOTRUN expected: FAIL
[Request: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK] [Request: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: NOTRUN expected: FAIL
[Response: combined response Content-Type: text/plain;charset=gbk;x=foo text/plain]
expected: NOTRUN
[fetch(): separate response Content-Type: text/plain;charset=gbk text/html]
expected: NOTRUN
[Request: combined response Content-Type: text/html */*]
expected: NOTRUN
[<iframe>: separate response Content-Type: text/plain] [<iframe>: separate response Content-Type: text/plain]
expected: FAIL expected: FAIL
[Request: combined response Content-Type: text/plain;charset=gbk text/plain;charset=windows-1252]
expected: NOTRUN
[Response: combined response Content-Type: text/plain;charset=gbk text/html]
expected: NOTRUN
[fetch(): combined response Content-Type: text/html;x=" text/plain] [fetch(): combined response Content-Type: text/html;x=" text/plain]
expected: NOTRUN expected: FAIL
[fetch(): combined response Content-Type: text/plain;charset=gbk;x=foo text/plain] [fetch(): combined response Content-Type: text/plain;charset=gbk;x=foo text/plain]
expected: NOTRUN expected: FAIL
[fetch(): combined response Content-Type: text/html;charset=gbk text/plain text/html] [fetch(): combined response Content-Type: text/html;charset=gbk text/plain text/html]
expected: NOTRUN expected: FAIL
[fetch(): separate response Content-Type: text/html */*]
expected: NOTRUN
[fetch(): combined response Content-Type: text/html text/plain] [fetch(): combined response Content-Type: text/html text/plain]
expected: NOTRUN expected: FAIL
[Request: combined response Content-Type: text/html;charset=gbk text/plain text/html]
expected: NOTRUN
[fetch(): combined response Content-Type: */* text/html] [fetch(): combined response Content-Type: */* text/html]
expected: NOTRUN
[<iframe>: separate response Content-Type: text/plain;charset=gbk text/html]
expected: FAIL expected: FAIL
[fetch(): combined response Content-Type: text/html */*;charset=gbk] [fetch(): combined response Content-Type: text/html */*;charset=gbk]
expected: NOTRUN expected: FAIL
[Response: combined response Content-Type: text/plain ]
expected: NOTRUN
[fetch(): combined response Content-Type: text/plain;charset=gbk text/plain] [fetch(): combined response Content-Type: text/plain;charset=gbk text/plain]
expected: NOTRUN expected: FAIL
[Request: combined response Content-Type: text/html text/plain]
expected: NOTRUN
[<iframe>: combined response Content-Type: text/plain;charset=gbk text/html;charset=windows-1254] [<iframe>: combined response Content-Type: text/plain;charset=gbk text/html;charset=windows-1254]
expected: FAIL expected: FAIL
[Request: combined response Content-Type: text/plain */*]
expected: NOTRUN
[fetch(): separate response Content-Type: text/html;charset=gbk text/plain text/html]
expected: NOTRUN
[Request: combined response Content-Type: text/plain;charset=gbk text/plain]
expected: NOTRUN
[fetch(): combined response Content-Type: text/html;" \\" text/plain ";charset=GBK] [fetch(): combined response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: NOTRUN expected: FAIL
[<iframe>: separate response Content-Type: text/plain;charset=gbk text/html;charset=windows-1254] [<iframe>: separate response Content-Type: text/plain;charset=gbk text/html;charset=windows-1254]
expected: FAIL expected: FAIL
[fetch(): combined response Content-Type: text/plain;charset=gbk text/html] [fetch(): combined response Content-Type: text/plain;charset=gbk text/html]
expected: NOTRUN expected: FAIL
[fetch(): separate response Content-Type: text/html;" \\" text/plain ";charset=GBK] [fetch(): separate response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: NOTRUN expected: FAIL
[fetch(): combined response Content-Type: text/html;" text/plain]
expected: NOTRUN
[Response: combined response Content-Type: text/html text/plain]
expected: NOTRUN
[fetch(): separate response Content-Type: text/plain ]
expected: NOTRUN
[<iframe>: combined response Content-Type: text/plain;charset=gbk text/plain] [<iframe>: combined response Content-Type: text/plain;charset=gbk text/plain]
expected: FAIL expected: FAIL
[<iframe>: separate response Content-Type: text/html;charset=gbk text/plain text/html]
expected: FAIL
[fetch(): combined response Content-Type: text/html;" \\" text/plain]
expected: NOTRUN
[fetch(): separate response Content-Type: text/plain;charset=gbk text/plain;charset=windows-1252]
expected: NOTRUN
[Request: combined response Content-Type: text/html;x=" text/plain] [Request: combined response Content-Type: text/html;x=" text/plain]
expected: NOTRUN
[Response: combined response Content-Type: text/plain */*]
expected: NOTRUN
[<iframe>: separate response Content-Type: */* text/html]
expected: FAIL expected: FAIL
[Request: combined response Content-Type: text/html */*;charset=gbk]
expected: NOTRUN
[<iframe>: separate response Content-Type: text/plain;charset=gbk text/plain] [<iframe>: separate response Content-Type: text/plain;charset=gbk text/plain]
expected: FAIL expected: FAIL
[Response: combined response Content-Type: text/plain]
expected: TIMEOUT
[<iframe>: combined response Content-Type: text/plain;charset=gbk text/plain;charset=windows-1252] [<iframe>: combined response Content-Type: text/plain;charset=gbk text/plain;charset=windows-1252]
expected: FAIL expected: FAIL
[fetch(): combined response Content-Type: text/html */*] [fetch(): combined response Content-Type: text/html */*]
expected: NOTRUN expected: FAIL
[Request: combined response Content-Type: text/html;" \\" text/plain] [Request: combined response Content-Type: text/html;" \\" text/plain]
expected: NOTRUN expected: FAIL
[fetch(): separate response Content-Type: text/html */*;charset=gbk]
expected: NOTRUN
[Response: combined response Content-Type: text/html;" text/plain] [Response: combined response Content-Type: text/html;" text/plain]
expected: NOTRUN expected: FAIL
[<iframe>: combined response Content-Type: text/html;" " text/plain] [<iframe>: combined response Content-Type: text/html;" " text/plain]
expected: FAIL expected: FAIL
[Request: combined response Content-Type: text/plain;charset=gbk;x=foo text/plain]
expected: NOTRUN
[Response: combined response Content-Type: text/html;" " text/plain]
expected: NOTRUN
[<iframe>: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK] [<iframe>: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: FAIL expected: FAIL
[Response: combined response Content-Type: text/html;x=" text/plain] [Response: combined response Content-Type: text/html;x=" text/plain]
expected: NOTRUN expected: FAIL
[<iframe>: combined response Content-Type: text/html;charset=gbk text/html;x=",text/plain] [<iframe>: combined response Content-Type: text/html;charset=gbk text/html;x=",text/plain]
expected: FAIL expected: FAIL
[fetch(): separate response Content-Type: text/plain;charset=gbk text/plain]
expected: NOTRUN
[<iframe>: combined response Content-Type: text/plain ] [<iframe>: combined response Content-Type: text/plain ]
expected: FAIL expected: FAIL
[<iframe>: combined response Content-Type: text/html text/plain] [<iframe>: combined response Content-Type: text/html text/plain]
expected: FAIL expected: FAIL
[Request: combined response Content-Type: text/plain;charset=gbk text/html;charset=windows-1254]
expected: NOTRUN
[<iframe>: combined response Content-Type: text/plain] [<iframe>: combined response Content-Type: text/plain]
expected: FAIL expected: FAIL
[Response: combined response Content-Type: */* text/html]
expected: NOTRUN
[<iframe>: separate response Content-Type: text/html;" " text/plain] [<iframe>: separate response Content-Type: text/html;" " text/plain]
expected: FAIL expected: FAIL
[fetch(): separate response Content-Type: text/plain */*;charset=gbk]
expected: NOTRUN
[<iframe>: separate response Content-Type: text/html text/plain] [<iframe>: separate response Content-Type: text/html text/plain]
expected: FAIL expected: FAIL
[Response: combined response Content-Type: text/html;" \\" text/plain] [Response: combined response Content-Type: text/html;" \\" text/plain]
expected: NOTRUN expected: FAIL
[<iframe>: combined response Content-Type: text/plain;charset=gbk;x=foo text/plain] [<iframe>: combined response Content-Type: text/plain;charset=gbk;x=foo text/plain]
expected: FAIL expected: FAIL
[Request: combined response Content-Type: text/plain;charset=gbk text/html]
expected: NOTRUN
[fetch(): separate response Content-Type: text/html;charset=gbk text/html;x=",text/plain]
expected: NOTRUN
[Response: combined response Content-Type: text/plain;charset=gbk text/html;charset=windows-1254]
expected: NOTRUN
[Response: combined response Content-Type: text/html;charset=gbk text/plain text/html]
expected: NOTRUN
[Response: combined response Content-Type: text/html;charset=gbk text/html;x=",text/plain]
expected: NOTRUN
[fetch(): combined response Content-Type: text/plain] [fetch(): combined response Content-Type: text/plain]
expected: FAIL expected: FAIL
[fetch(): separate response Content-Type: text/plain */*]
expected: NOTRUN
[<iframe>: separate response Content-Type: text/plain;charset=gbk;x=foo text/plain] [<iframe>: separate response Content-Type: text/plain;charset=gbk;x=foo text/plain]
expected: FAIL expected: FAIL
[Request: combined response Content-Type: text/plain ]
expected: NOTRUN
[Response: combined response Content-Type: text/html */*;charset=gbk]
expected: NOTRUN
[Request: combined response Content-Type: text/html;" " text/plain]
expected: NOTRUN
[fetch(): combined response Content-Type: text/plain */*] [fetch(): combined response Content-Type: text/plain */*]
expected: NOTRUN expected: FAIL
[Request: combined response Content-Type: text/plain */*;charset=gbk]
expected: NOTRUN
[<iframe>: separate response Content-Type: text/html;charset=gbk text/html;x=",text/plain] [<iframe>: separate response Content-Type: text/html;charset=gbk text/html;x=",text/plain]
expected: FAIL expected: FAIL
[fetch(): separate response Content-Type: text/plain;charset=gbk text/html;charset=windows-1254]
expected: NOTRUN
[fetch(): combined response Content-Type: text/plain */*;charset=gbk] [fetch(): combined response Content-Type: text/plain */*;charset=gbk]
expected: NOTRUN expected: FAIL
[fetch(): separate response Content-Type: text/plain;charset=gbk;x=foo text/plain]
expected: NOTRUN
[fetch(): combined response Content-Type: text/plain;charset=gbk text/plain;charset=windows-1252] [fetch(): combined response Content-Type: text/plain;charset=gbk text/plain;charset=windows-1252]
expected: NOTRUN expected: FAIL
[Response: combined response Content-Type: text/plain;charset=gbk text/plain]
expected: NOTRUN
[<iframe>: combined response Content-Type: text/plain */*] [<iframe>: combined response Content-Type: text/plain */*]
expected: FAIL expected: FAIL
[fetch(): separate response Content-Type: text/html text/plain]
expected: NOTRUN
[Request: combined response Content-Type: text/html;" text/plain] [Request: combined response Content-Type: text/html;" text/plain]
expected: NOTRUN expected: FAIL
[<iframe>: separate response Content-Type: text/html;" \\" text/plain ";charset=GBK] [<iframe>: separate response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: FAIL expected: FAIL
[fetch(): combined response Content-Type: text/html;" " text/plain] [fetch(): combined response Content-Type: text/html;" " text/plain]
expected: NOTRUN expected: FAIL
[fetch(): separate response Content-Type: text/html;" " text/plain]
expected: NOTRUN
[<iframe>: separate response Content-Type: text/plain;charset=gbk text/plain;charset=windows-1252] [<iframe>: separate response Content-Type: text/plain;charset=gbk text/plain;charset=windows-1252]
expected: FAIL expected: FAIL
[Response: combined response Content-Type: text/plain */*;charset=gbk]
expected: NOTRUN
[Request: combined response Content-Type: text/html;charset=gbk text/html;x=",text/plain]
expected: NOTRUN
[fetch(): combined response Content-Type: text/html;charset=gbk text/html;x=",text/plain] [fetch(): combined response Content-Type: text/html;charset=gbk text/html;x=",text/plain]
expected: NOTRUN expected: FAIL
[Response: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK] [Response: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: NOTRUN expected: FAIL
[<iframe>: separate response Content-Type: text/plain;charset=gbk text/html]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;charset=gbk text/plain text/html]
expected: FAIL
[<iframe>: separate response Content-Type: */* text/html]
expected: FAIL

View file

@ -8,225 +8,3 @@
expected: ERROR expected: ERROR
[stream-safe-creation] [stream-safe-creation]
expected: FAIL expected: FAIL
[stream-safe-creation.any.worker.html]
expected: TIMEOUT
[throwing Object.prototype.start accessor should not affect stream creation by 'consumeEmptyResponse']
expected: TIMEOUT
[Object.prototype.start accessor returning invalid value should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.type accessor should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[Object.prototype.type accessor returning invalid value should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.size accessor should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[Object.prototype.size accessor returning invalid value should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.highWaterMark accessor should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[Object.prototype.highWaterMark accessor returning invalid value should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[Object.prototype.start function which errors the stream should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.start accessor should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[Object.prototype.start accessor returning invalid value should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.type accessor should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[Object.prototype.type accessor returning invalid value should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.size accessor should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[Object.prototype.size accessor returning invalid value should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.highWaterMark accessor should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[Object.prototype.highWaterMark accessor returning invalid value should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[Object.prototype.start function which errors the stream should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.start accessor should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[Object.prototype.start accessor returning invalid value should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.type accessor should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[Object.prototype.type accessor returning invalid value should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.size accessor should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[Object.prototype.size accessor returning invalid value should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.highWaterMark accessor should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[Object.prototype.highWaterMark accessor returning invalid value should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[Object.prototype.start function which errors the stream should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.start accessor should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[Object.prototype.start accessor returning invalid value should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.type accessor should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[Object.prototype.type accessor returning invalid value should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.size accessor should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[Object.prototype.size accessor returning invalid value should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.highWaterMark accessor should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[Object.prototype.highWaterMark accessor returning invalid value should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[Object.prototype.start function which errors the stream should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[stream-safe-creation.any.html]
expected: TIMEOUT
[throwing Object.prototype.start accessor should not affect stream creation by 'consumeEmptyResponse']
expected: TIMEOUT
[Object.prototype.start accessor returning invalid value should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.type accessor should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[Object.prototype.type accessor returning invalid value should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.size accessor should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[Object.prototype.size accessor returning invalid value should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.highWaterMark accessor should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[Object.prototype.highWaterMark accessor returning invalid value should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[Object.prototype.start function which errors the stream should not affect stream creation by 'consumeEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.start accessor should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[Object.prototype.start accessor returning invalid value should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.type accessor should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[Object.prototype.type accessor returning invalid value should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.size accessor should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[Object.prototype.size accessor returning invalid value should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.highWaterMark accessor should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[Object.prototype.highWaterMark accessor returning invalid value should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[Object.prototype.start function which errors the stream should not affect stream creation by 'consumeNonEmptyResponse']
expected: NOTRUN
[throwing Object.prototype.start accessor should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[Object.prototype.start accessor returning invalid value should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.type accessor should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[Object.prototype.type accessor returning invalid value should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.size accessor should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[Object.prototype.size accessor returning invalid value should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.highWaterMark accessor should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[Object.prototype.highWaterMark accessor returning invalid value should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[Object.prototype.start function which errors the stream should not affect stream creation by 'consumeEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.start accessor should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[Object.prototype.start accessor returning invalid value should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.type accessor should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[Object.prototype.type accessor returning invalid value should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.size accessor should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[Object.prototype.size accessor returning invalid value should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[throwing Object.prototype.highWaterMark accessor should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[Object.prototype.highWaterMark accessor returning invalid value should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN
[Object.prototype.start function which errors the stream should not affect stream creation by 'consumeNonEmptyRequest']
expected: NOTRUN

View file

@ -1,82 +1,8 @@
[mime-type.any.worker.html] [mime-type.any.worker.html]
expected: TIMEOUT
[Response: MIME type for Blob from empty body]
expected: TIMEOUT
[Request: MIME type for Blob from empty body with Content-Type]
expected: NOTRUN
[Response: MIME type for Blob from empty body with Content-Type]
expected: NOTRUN
[Request: MIME type for Blob]
expected: NOTRUN
[Response: MIME type for Blob]
expected: NOTRUN
[Request: MIME type for Blob with non-empty type]
expected: NOTRUN
[Response: MIME type for Blob with non-empty type]
expected: NOTRUN
[Request: Extract a MIME type with clone]
expected: NOTRUN
[Response: Extract a MIME type with clone] [Response: Extract a MIME type with clone]
expected: NOTRUN expected: FAIL
[Request: Content-Type in headers wins Blob"s type]
expected: NOTRUN
[Response: Content-Type in headers wins Blob"s type]
expected: NOTRUN
[Request: setting missing Content-Type in headers and it wins Blob"s type]
expected: NOTRUN
[Response: setting missing Content-Type in headers and it wins Blob"s type]
expected: NOTRUN
[mime-type.any.html] [mime-type.any.html]
expected: TIMEOUT
[Response: MIME type for Blob from empty body]
expected: TIMEOUT
[Request: MIME type for Blob from empty body with Content-Type]
expected: NOTRUN
[Response: MIME type for Blob from empty body with Content-Type]
expected: NOTRUN
[Request: MIME type for Blob]
expected: NOTRUN
[Response: MIME type for Blob]
expected: NOTRUN
[Request: MIME type for Blob with non-empty type]
expected: NOTRUN
[Response: MIME type for Blob with non-empty type]
expected: NOTRUN
[Request: Extract a MIME type with clone]
expected: NOTRUN
[Response: Extract a MIME type with clone] [Response: Extract a MIME type with clone]
expected: NOTRUN expected: FAIL
[Request: Content-Type in headers wins Blob"s type]
expected: NOTRUN
[Response: Content-Type in headers wins Blob"s type]
expected: NOTRUN
[Request: setting missing Content-Type in headers and it wins Blob"s type]
expected: NOTRUN
[Response: setting missing Content-Type in headers and it wins Blob"s type]
expected: NOTRUN

View file

@ -5,91 +5,52 @@
expected: ERROR expected: ERROR
[response-consume-empty.any.worker.html] [response-consume-empty.any.worker.html]
expected: TIMEOUT
[Consume response's body as text] [Consume response's body as text]
expected: TIMEOUT expected: FAIL
[Consume response's body as json (error case)] [Consume response's body as json (error case)]
expected: NOTRUN expected: FAIL
[Consume response's body as blob] [Consume response's body as blob]
expected: NOTRUN expected: FAIL
[Consume empty URLSearchParams response body as text]
expected: NOTRUN
[Consume response's body as formData without correct type (error case)] [Consume response's body as formData without correct type (error case)]
expected: NOTRUN expected: FAIL
[Consume empty blob response body as text]
expected: NOTRUN
[Consume empty text response body as arrayBuffer]
expected: NOTRUN
[Consume empty text response body as text]
expected: NOTRUN
[Consume empty blob response body as arrayBuffer]
expected: NOTRUN
[Consume response's body as arrayBuffer] [Consume response's body as arrayBuffer]
expected: NOTRUN expected: FAIL
[Consume empty FormData response body as text] [Consume empty FormData response body as text]
expected: NOTRUN expected: FAIL
[Consume response's body as formData with correct multipart type (error case)] [Consume response's body as formData with correct multipart type (error case)]
expected: NOTRUN expected: FAIL
[Consume response's body as formData with correct urlencoded type] [Consume response's body as formData with correct urlencoded type]
expected: NOTRUN expected: FAIL
[Consume empty ArrayBuffer response body as text]
expected: NOTRUN
[response-consume-empty.any.html] [response-consume-empty.any.html]
expected: TIMEOUT
[Consume response's body as text] [Consume response's body as text]
expected: TIMEOUT expected: FAIL
[Consume response's body as json (error case)] [Consume response's body as json (error case)]
expected: NOTRUN expected: FAIL
[Consume response's body as blob] [Consume response's body as blob]
expected: NOTRUN expected: FAIL
[Consume empty URLSearchParams response body as text]
expected: NOTRUN
[Consume response's body as formData without correct type (error case)] [Consume response's body as formData without correct type (error case)]
expected: NOTRUN expected: FAIL
[Consume empty blob response body as text]
expected: NOTRUN
[Consume empty text response body as arrayBuffer]
expected: NOTRUN
[Consume empty text response body as text]
expected: NOTRUN
[Consume empty blob response body as arrayBuffer]
expected: NOTRUN
[Consume response's body as arrayBuffer] [Consume response's body as arrayBuffer]
expected: NOTRUN expected: FAIL
[Consume empty FormData response body as text] [Consume empty FormData response body as text]
expected: NOTRUN expected: FAIL
[Consume response's body as formData with correct multipart type (error case)] [Consume response's body as formData with correct multipart type (error case)]
expected: NOTRUN expected: FAIL
[Consume response's body as formData with correct urlencoded type] [Consume response's body as formData with correct urlencoded type]
expected: NOTRUN expected: FAIL
[Consume empty ArrayBuffer response body as text]
expected: NOTRUN

View file

@ -1,298 +1,156 @@
[response.window.html] [response.window.html]
expected: TIMEOUT
[fetch(): combined response Content-Type: text/plain ] [fetch(): combined response Content-Type: text/plain ]
expected: NOTRUN expected: FAIL
[Response: combined response Content-Type: text/plain;charset=gbk text/plain;charset=windows-1252]
expected: NOTRUN
[Request: combined response Content-Type: */* text/html]
expected: NOTRUN
[fetch(): separate response Content-Type: text/html;" \\" text/plain] [fetch(): separate response Content-Type: text/html;" \\" text/plain]
expected: NOTRUN expected: FAIL
[Response: combined response Content-Type: text/html */*]
expected: NOTRUN
[fetch(): separate response Content-Type: */* text/html]
expected: NOTRUN
[fetch(): separate response Content-Type: text/html;" text/plain] [fetch(): separate response Content-Type: text/html;" text/plain]
expected: NOTRUN expected: FAIL
[<iframe>: combined response Content-Type: text/plain */*;charset=gbk] [<iframe>: combined response Content-Type: text/plain */*;charset=gbk]
expected: FAIL expected: FAIL
[fetch(): separate response Content-Type: text/html;x=" text/plain] [fetch(): separate response Content-Type: text/html;x=" text/plain]
expected: NOTRUN expected: FAIL
[fetch(): combined response Content-Type: text/plain;charset=gbk text/html;charset=windows-1254] [fetch(): combined response Content-Type: text/plain;charset=gbk text/html;charset=windows-1254]
expected: NOTRUN expected: FAIL
[Request: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK] [Request: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: NOTRUN expected: FAIL
[Response: combined response Content-Type: text/plain;charset=gbk;x=foo text/plain]
expected: NOTRUN
[fetch(): separate response Content-Type: text/plain;charset=gbk text/html]
expected: NOTRUN
[Request: combined response Content-Type: text/html */*]
expected: NOTRUN
[<iframe>: separate response Content-Type: text/plain] [<iframe>: separate response Content-Type: text/plain]
expected: FAIL expected: FAIL
[Request: combined response Content-Type: text/plain;charset=gbk text/plain;charset=windows-1252]
expected: NOTRUN
[Response: combined response Content-Type: text/plain;charset=gbk text/html]
expected: NOTRUN
[fetch(): combined response Content-Type: text/html;x=" text/plain] [fetch(): combined response Content-Type: text/html;x=" text/plain]
expected: NOTRUN expected: FAIL
[fetch(): combined response Content-Type: text/plain;charset=gbk;x=foo text/plain] [fetch(): combined response Content-Type: text/plain;charset=gbk;x=foo text/plain]
expected: NOTRUN expected: FAIL
[fetch(): combined response Content-Type: text/html;charset=gbk text/plain text/html] [fetch(): combined response Content-Type: text/html;charset=gbk text/plain text/html]
expected: NOTRUN expected: FAIL
[fetch(): separate response Content-Type: text/html */*]
expected: NOTRUN
[fetch(): combined response Content-Type: text/html text/plain] [fetch(): combined response Content-Type: text/html text/plain]
expected: NOTRUN expected: FAIL
[Request: combined response Content-Type: text/html;charset=gbk text/plain text/html]
expected: NOTRUN
[fetch(): combined response Content-Type: */* text/html] [fetch(): combined response Content-Type: */* text/html]
expected: NOTRUN expected: FAIL
[fetch(): combined response Content-Type: text/html */*;charset=gbk] [fetch(): combined response Content-Type: text/html */*;charset=gbk]
expected: NOTRUN expected: FAIL
[Response: combined response Content-Type: text/plain ]
expected: NOTRUN
[fetch(): combined response Content-Type: text/plain;charset=gbk text/plain] [fetch(): combined response Content-Type: text/plain;charset=gbk text/plain]
expected: NOTRUN expected: FAIL
[Request: combined response Content-Type: text/html text/plain]
expected: NOTRUN
[<iframe>: combined response Content-Type: text/plain;charset=gbk text/html;charset=windows-1254] [<iframe>: combined response Content-Type: text/plain;charset=gbk text/html;charset=windows-1254]
expected: FAIL expected: FAIL
[Request: combined response Content-Type: text/plain */*]
expected: NOTRUN
[fetch(): separate response Content-Type: text/html;charset=gbk text/plain text/html]
expected: NOTRUN
[Request: combined response Content-Type: text/plain;charset=gbk text/plain]
expected: NOTRUN
[fetch(): combined response Content-Type: text/html;" \\" text/plain ";charset=GBK] [fetch(): combined response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: NOTRUN expected: FAIL
[<iframe>: separate response Content-Type: text/plain;charset=gbk text/html;charset=windows-1254] [<iframe>: separate response Content-Type: text/plain;charset=gbk text/html;charset=windows-1254]
expected: FAIL expected: FAIL
[fetch(): combined response Content-Type: text/plain;charset=gbk text/html] [fetch(): combined response Content-Type: text/plain;charset=gbk text/html]
expected: NOTRUN expected: FAIL
[fetch(): separate response Content-Type: text/html;" \\" text/plain ";charset=GBK] [fetch(): separate response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: NOTRUN expected: FAIL
[fetch(): combined response Content-Type: text/html;" text/plain]
expected: NOTRUN
[Response: combined response Content-Type: text/html text/plain]
expected: NOTRUN
[<iframe>: combined response Content-Type: text/plain;charset=gbk text/plain] [<iframe>: combined response Content-Type: text/plain;charset=gbk text/plain]
expected: FAIL expected: FAIL
[fetch(): combined response Content-Type: text/html;" \\" text/plain]
expected: NOTRUN
[fetch(): separate response Content-Type: text/plain;charset=gbk text/plain;charset=windows-1252]
expected: NOTRUN
[Request: combined response Content-Type: text/html;x=" text/plain] [Request: combined response Content-Type: text/html;x=" text/plain]
expected: NOTRUN expected: FAIL
[Response: combined response Content-Type: text/plain */*]
expected: NOTRUN
[Request: combined response Content-Type: text/html */*;charset=gbk]
expected: NOTRUN
[<iframe>: separate response Content-Type: text/plain;charset=gbk text/plain] [<iframe>: separate response Content-Type: text/plain;charset=gbk text/plain]
expected: FAIL expected: FAIL
[Response: combined response Content-Type: text/plain]
expected: TIMEOUT
[<iframe>: combined response Content-Type: text/plain;charset=gbk text/plain;charset=windows-1252] [<iframe>: combined response Content-Type: text/plain;charset=gbk text/plain;charset=windows-1252]
expected: FAIL expected: FAIL
[fetch(): combined response Content-Type: text/html */*] [fetch(): combined response Content-Type: text/html */*]
expected: NOTRUN expected: FAIL
[Request: combined response Content-Type: text/html;" \\" text/plain] [Request: combined response Content-Type: text/html;" \\" text/plain]
expected: NOTRUN expected: FAIL
[fetch(): separate response Content-Type: text/html */*;charset=gbk]
expected: NOTRUN
[Response: combined response Content-Type: text/html;" text/plain] [Response: combined response Content-Type: text/html;" text/plain]
expected: NOTRUN expected: FAIL
[<iframe>: combined response Content-Type: text/html;" " text/plain] [<iframe>: combined response Content-Type: text/html;" " text/plain]
expected: FAIL expected: FAIL
[Request: combined response Content-Type: text/plain;charset=gbk;x=foo text/plain]
expected: NOTRUN
[Response: combined response Content-Type: text/html;" " text/plain]
expected: NOTRUN
[<iframe>: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK] [<iframe>: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: FAIL expected: FAIL
[Response: combined response Content-Type: text/html;x=" text/plain] [Response: combined response Content-Type: text/html;x=" text/plain]
expected: NOTRUN expected: FAIL
[<iframe>: combined response Content-Type: text/html;charset=gbk text/html;x=",text/plain] [<iframe>: combined response Content-Type: text/html;charset=gbk text/html;x=",text/plain]
expected: FAIL expected: FAIL
[fetch(): separate response Content-Type: text/plain;charset=gbk text/plain]
expected: NOTRUN
[<iframe>: combined response Content-Type: text/plain ] [<iframe>: combined response Content-Type: text/plain ]
expected: FAIL expected: FAIL
[<iframe>: combined response Content-Type: text/html text/plain] [<iframe>: combined response Content-Type: text/html text/plain]
expected: FAIL expected: FAIL
[Request: combined response Content-Type: text/plain;charset=gbk text/html;charset=windows-1254]
expected: NOTRUN
[<iframe>: combined response Content-Type: text/plain] [<iframe>: combined response Content-Type: text/plain]
expected: FAIL expected: FAIL
[Response: combined response Content-Type: */* text/html]
expected: NOTRUN
[<iframe>: separate response Content-Type: text/html;" " text/plain] [<iframe>: separate response Content-Type: text/html;" " text/plain]
expected: FAIL expected: FAIL
[fetch(): separate response Content-Type: text/plain */*;charset=gbk]
expected: NOTRUN
[<iframe>: separate response Content-Type: text/html text/plain] [<iframe>: separate response Content-Type: text/html text/plain]
expected: FAIL expected: FAIL
[Response: combined response Content-Type: text/html;" \\" text/plain] [Response: combined response Content-Type: text/html;" \\" text/plain]
expected: NOTRUN expected: FAIL
[<iframe>: combined response Content-Type: text/plain;charset=gbk;x=foo text/plain] [<iframe>: combined response Content-Type: text/plain;charset=gbk;x=foo text/plain]
expected: FAIL expected: FAIL
[Request: combined response Content-Type: text/plain;charset=gbk text/html]
expected: NOTRUN
[fetch(): separate response Content-Type: text/html;charset=gbk text/html;x=",text/plain]
expected: NOTRUN
[Response: combined response Content-Type: text/plain;charset=gbk text/html;charset=windows-1254]
expected: NOTRUN
[Response: combined response Content-Type: text/html;charset=gbk text/plain text/html]
expected: NOTRUN
[Response: combined response Content-Type: text/html;charset=gbk text/html;x=",text/plain]
expected: NOTRUN
[fetch(): combined response Content-Type: text/plain] [fetch(): combined response Content-Type: text/plain]
expected: FAIL expected: FAIL
[fetch(): separate response Content-Type: text/plain */*]
expected: NOTRUN
[<iframe>: separate response Content-Type: text/plain;charset=gbk;x=foo text/plain] [<iframe>: separate response Content-Type: text/plain;charset=gbk;x=foo text/plain]
expected: FAIL expected: FAIL
[Request: combined response Content-Type: text/plain ]
expected: NOTRUN
[Response: combined response Content-Type: text/html */*;charset=gbk]
expected: NOTRUN
[Request: combined response Content-Type: text/html;" " text/plain]
expected: NOTRUN
[fetch(): combined response Content-Type: text/plain */*] [fetch(): combined response Content-Type: text/plain */*]
expected: NOTRUN expected: FAIL
[Request: combined response Content-Type: text/plain */*;charset=gbk]
expected: NOTRUN
[<iframe>: separate response Content-Type: text/html;charset=gbk text/html;x=",text/plain] [<iframe>: separate response Content-Type: text/html;charset=gbk text/html;x=",text/plain]
expected: FAIL expected: FAIL
[fetch(): separate response Content-Type: text/plain;charset=gbk text/html;charset=windows-1254]
expected: NOTRUN
[fetch(): combined response Content-Type: text/plain */*;charset=gbk] [fetch(): combined response Content-Type: text/plain */*;charset=gbk]
expected: NOTRUN expected: FAIL
[fetch(): separate response Content-Type: text/plain;charset=gbk;x=foo text/plain]
expected: NOTRUN
[fetch(): combined response Content-Type: text/plain;charset=gbk text/plain;charset=windows-1252] [fetch(): combined response Content-Type: text/plain;charset=gbk text/plain;charset=windows-1252]
expected: NOTRUN expected: FAIL
[Response: combined response Content-Type: text/plain;charset=gbk text/plain]
expected: NOTRUN
[<iframe>: combined response Content-Type: text/plain */*] [<iframe>: combined response Content-Type: text/plain */*]
expected: FAIL expected: FAIL
[fetch(): separate response Content-Type: text/html text/plain]
expected: NOTRUN
[Request: combined response Content-Type: text/html;" text/plain] [Request: combined response Content-Type: text/html;" text/plain]
expected: NOTRUN expected: FAIL
[<iframe>: separate response Content-Type: text/html;" \\" text/plain ";charset=GBK] [<iframe>: separate response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: FAIL expected: FAIL
[fetch(): combined response Content-Type: text/html;" " text/plain] [fetch(): combined response Content-Type: text/html;" " text/plain]
expected: NOTRUN expected: FAIL
[fetch(): separate response Content-Type: text/html;" " text/plain]
expected: NOTRUN
[<iframe>: separate response Content-Type: text/plain;charset=gbk text/plain;charset=windows-1252] [<iframe>: separate response Content-Type: text/plain;charset=gbk text/plain;charset=windows-1252]
expected: FAIL expected: FAIL
[Response: combined response Content-Type: text/plain */*;charset=gbk]
expected: NOTRUN
[Request: combined response Content-Type: text/html;charset=gbk text/html;x=",text/plain]
expected: NOTRUN
[fetch(): combined response Content-Type: text/html;charset=gbk text/html;x=",text/plain] [fetch(): combined response Content-Type: text/html;charset=gbk text/html;x=",text/plain]
expected: NOTRUN expected: FAIL
[Response: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK] [Response: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: NOTRUN expected: FAIL
[<iframe>: separate response Content-Type: text/plain;charset=gbk text/html] [<iframe>: separate response Content-Type: text/plain;charset=gbk text/html]
expected: FAIL expected: FAIL
@ -302,6 +160,3 @@
[<iframe>: separate response Content-Type: */* text/html] [<iframe>: separate response Content-Type: */* text/html]
expected: FAIL expected: FAIL
[fetch(): separate response Content-Type: text/plain ]
expected: NOTRUN