Auto merge of #24977 - ridhimrastogi:async-wasm-compilation-final, r=jdm

Add StreamConsumer wrapper and methods to response

<!-- Please describe your changes on the following line: -->
Add Streamconsumer wrapper to Response

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21476
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit is contained in:
bors-servo 2019-12-03 17:38:53 -05:00 committed by GitHub
commit 6e3c131139
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 51 additions and 90 deletions

View file

@ -1,22 +1,12 @@
[contenttype.any.worker.html]
expected: TIMEOUT
[Response with Content-Type "application/wasm": compileStreaming]
expected: TIMEOUT
[Response with Content-Type "APPLICATION/wasm": compileStreaming]
expected: NOTRUN
[Response with Content-Type "APPLICATION/wasm": instantiateStreaming]
expected: NOTRUN
expected: FAIL
[Response with Content-Type "APPLICATION/WASM": instantiateStreaming]
expected: NOTRUN
expected: FAIL
[Response with Content-Type "application/wasm": instantiateStreaming]
expected: NOTRUN
[Response with Content-Type "APPLICATION/WASM": compileStreaming]
expected: NOTRUN
expected: FAIL
[contenttype.any.sharedworker.html]
@ -26,24 +16,14 @@
[contenttype.any.html]
expected: TIMEOUT
[Response with Content-Type "application/wasm": compileStreaming]
expected: TIMEOUT
[Response with Content-Type "APPLICATION/wasm": compileStreaming]
expected: NOTRUN
[Response with Content-Type "APPLICATION/wasm": instantiateStreaming]
expected: NOTRUN
expected: FAIL
[Response with Content-Type "APPLICATION/WASM": instantiateStreaming]
expected: NOTRUN
expected: FAIL
[Response with Content-Type "application/wasm": instantiateStreaming]
expected: NOTRUN
[Response with Content-Type "APPLICATION/WASM": compileStreaming]
expected: NOTRUN
expected: FAIL
[contenttype.any.serviceworker.html]

View file

@ -1,49 +1,27 @@
[status.any.html]
expected: TIMEOUT
[Response with status 300: instantiateStreaming]
expected: NOTRUN
expected: FAIL
[Response with status 500: instantiateStreaming]
expected: NOTRUN
[Response with status 700: instantiateStreaming]
expected: NOTRUN
[Response with status 700: compileStreaming]
expected: NOTRUN
[Response with status 600: instantiateStreaming]
expected: NOTRUN
[Response with status 0: instantiateStreaming]
expected: NOTRUN
expected: FAIL
[Response with status 404: compileStreaming]
expected: NOTRUN
expected: FAIL
[Response with status 500: compileStreaming]
expected: NOTRUN
[Response with status 600: compileStreaming]
expected: NOTRUN
expected: FAIL
[Response with status 300: compileStreaming]
expected: TIMEOUT
expected: FAIL
[Response with status 400: compileStreaming]
expected: NOTRUN
expected: FAIL
[Response with status 400: instantiateStreaming]
expected: NOTRUN
[Response with status 999: instantiateStreaming]
expected: NOTRUN
[Response with status 999: compileStreaming]
expected: NOTRUN
expected: FAIL
[Response with status 404: instantiateStreaming]
expected: NOTRUN
expected: FAIL
[status.any.serviceworker.html]
@ -59,49 +37,27 @@
[status.any.worker.html]
expected: TIMEOUT
[Response with status 300: instantiateStreaming]
expected: NOTRUN
expected: FAIL
[Response with status 500: instantiateStreaming]
expected: NOTRUN
[Response with status 700: instantiateStreaming]
expected: NOTRUN
[Response with status 700: compileStreaming]
expected: NOTRUN
[Response with status 600: instantiateStreaming]
expected: NOTRUN
[Response with status 0: instantiateStreaming]
expected: NOTRUN
expected: FAIL
[Response with status 404: compileStreaming]
expected: NOTRUN
expected: FAIL
[Response with status 500: compileStreaming]
expected: NOTRUN
[Response with status 600: compileStreaming]
expected: NOTRUN
expected: FAIL
[Response with status 300: compileStreaming]
expected: TIMEOUT
expected: FAIL
[Response with status 400: compileStreaming]
expected: NOTRUN
expected: FAIL
[Response with status 400: instantiateStreaming]
expected: NOTRUN
[Response with status 999: instantiateStreaming]
expected: NOTRUN
[Response with status 999: compileStreaming]
expected: NOTRUN
expected: FAIL
[Response with status 404: instantiateStreaming]
expected: NOTRUN
expected: FAIL