Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/wasm_streaming/wasm_response_apis.html

Issue 2826283003: [wasm] Tests for Response instantiate APIs (Closed)
Patch Set: fix Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/wasm_streaming/wasm_response_apis.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/wasm_streaming/wasm_response_apis.html b/third_party/WebKit/LayoutTests/http/tests/wasm_streaming/wasm_response_apis.html
index b6b1d4fb7e7f22c4ab5de42b7268b86400421a3e..0e9c22a537179c46ccac8fe995c3edcfabc9b345 100644
--- a/third_party/WebKit/LayoutTests/http/tests/wasm_streaming/wasm_response_apis.html
+++ b/third_party/WebKit/LayoutTests/http/tests/wasm_streaming/wasm_response_apis.html
@@ -2,11 +2,19 @@
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
<script src="wasm_response_apis.js"></script>
+<script src="../wasm/resources/wasm-constants.js"></script>
+<script src="../wasm/resources/wasm-module-builder.js"></script>
<script>
promise_test(TestStreamedCompile, "test streamed compile");
promise_test(TestShortFormStreamedCompile, "test streamed compile with promise parameter");
promise_test(NegativeTestStreamedCompilePromise, "promise must produce a Response");
- promise_test(BlankResponse, "blank response");
- promise_test(FromArrayBuffer, "from array buffer");
- promise_test(FromInvalidArrayBuffer, "from an invalid array buffer");
+ promise_test(CompileBlankResponse, "compile blank response");
+ promise_test(InstantiateBlankResponse, "instantiate blank response");
+ promise_test(CompileFromArrayBuffer, "compile from array buffer");
+ promise_test(CompileFromInvalidArrayBuffer, "compile from an invalid array buffer");
+ promise_test(TestStreamedInstantiate, "test streamed instantiate");
+ promise_test(InstantiateFromArrayBuffer, "test regular instantiate");
+ promise_test(InstantiateFromInvalidArrayBuffer, "test instantiate from invalid buffer");
+ promise_test(TestShortFormStreamedInstantiate, "test streamed instantiate with promise parameter");
+ promise_test(TestInstantiateComplexModule, "instantiate locally built module");
</script>

Powered by Google App Engine
This is Rietveld 408576698