From e2ac29b62674bae524464b334624e5522991180e Mon Sep 17 00:00:00 2001 From: perry Date: Thu, 7 Mar 2024 09:04:01 +0800 Subject: [PATCH] Add tests for bufferData, bufferSubData and getBufferSubData from WASM Memories of 4GB and 16GB in size. (#3630) Related to crbug.com/325090165 . --- sdk/tests/conformance2/wasm/00_test_list.txt | 6 +++ .../wasm/bufferdata-16gb-wasm-memory.html | 51 ++++++++++++++++++ .../wasm/bufferdata-4gb-wasm-memory.html | 51 ++++++++++++++++++ .../wasm/buffersubdata-16gb-wasm-memory.html | 52 +++++++++++++++++++ .../wasm/buffersubdata-4gb-wasm-memory.html | 52 +++++++++++++++++++ .../getbuffersubdata-16gb-wasm-memory.html | 48 +++++++++++++++++ .../getbuffersubdata-4gb-wasm-memory.html | 48 +++++++++++++++++ 7 files changed, 308 insertions(+) create mode 100644 sdk/tests/conformance2/wasm/bufferdata-16gb-wasm-memory.html create mode 100644 sdk/tests/conformance2/wasm/bufferdata-4gb-wasm-memory.html create mode 100644 sdk/tests/conformance2/wasm/buffersubdata-16gb-wasm-memory.html create mode 100644 sdk/tests/conformance2/wasm/buffersubdata-4gb-wasm-memory.html create mode 100644 sdk/tests/conformance2/wasm/getbuffersubdata-16gb-wasm-memory.html create mode 100644 sdk/tests/conformance2/wasm/getbuffersubdata-4gb-wasm-memory.html diff --git a/sdk/tests/conformance2/wasm/00_test_list.txt b/sdk/tests/conformance2/wasm/00_test_list.txt index 35c886b75..d188fc30a 100644 --- a/sdk/tests/conformance2/wasm/00_test_list.txt +++ b/sdk/tests/conformance2/wasm/00_test_list.txt @@ -4,3 +4,9 @@ --min-version 2.0.1 teximage2d-4gb-wasm-memory.html --min-version 2.0.1 texsubimage2d-16gb-wasm-memory.html --min-version 2.0.1 texsubimage2d-4gb-wasm-memory.html +--min-version 2.0.1 bufferdata-16gb-wasm-memory.html +--min-version 2.0.1 bufferdata-4gb-wasm-memory.html +--min-version 2.0.1 buffersubdata-16gb-wasm-memory.html +--min-version 2.0.1 buffersubdata-4gb-wasm-memory.html +--min-version 2.0.1 getbuffersubdata-16gb-wasm-memory.html +--min-version 2.0.1 getbuffersubdata-4gb-wasm-memory.html \ No newline at end of file diff --git a/sdk/tests/conformance2/wasm/bufferdata-16gb-wasm-memory.html b/sdk/tests/conformance2/wasm/bufferdata-16gb-wasm-memory.html new file mode 100644 index 000000000..0dd21bf64 --- /dev/null +++ b/sdk/tests/conformance2/wasm/bufferdata-16gb-wasm-memory.html @@ -0,0 +1,51 @@ + + + + + +bufferData test to Wasm Memory 16GB in size. + + + + + + +
+
+ + + + diff --git a/sdk/tests/conformance2/wasm/bufferdata-4gb-wasm-memory.html b/sdk/tests/conformance2/wasm/bufferdata-4gb-wasm-memory.html new file mode 100644 index 000000000..2296c3a5e --- /dev/null +++ b/sdk/tests/conformance2/wasm/bufferdata-4gb-wasm-memory.html @@ -0,0 +1,51 @@ + + + + + +bufferData test to Wasm Memory 4GB in size. + + + + + + +
+
+ + + + diff --git a/sdk/tests/conformance2/wasm/buffersubdata-16gb-wasm-memory.html b/sdk/tests/conformance2/wasm/buffersubdata-16gb-wasm-memory.html new file mode 100644 index 000000000..08d6d1df5 --- /dev/null +++ b/sdk/tests/conformance2/wasm/buffersubdata-16gb-wasm-memory.html @@ -0,0 +1,52 @@ + + + + + +bufferSubData test to Wasm Memory 16GB in size. + + + + + + +
+
+ + + + diff --git a/sdk/tests/conformance2/wasm/buffersubdata-4gb-wasm-memory.html b/sdk/tests/conformance2/wasm/buffersubdata-4gb-wasm-memory.html new file mode 100644 index 000000000..2834a6901 --- /dev/null +++ b/sdk/tests/conformance2/wasm/buffersubdata-4gb-wasm-memory.html @@ -0,0 +1,52 @@ + + + + + +bufferSubData test to Wasm Memory 4GB in size. + + + + + + +
+
+ + + + diff --git a/sdk/tests/conformance2/wasm/getbuffersubdata-16gb-wasm-memory.html b/sdk/tests/conformance2/wasm/getbuffersubdata-16gb-wasm-memory.html new file mode 100644 index 000000000..8390957b0 --- /dev/null +++ b/sdk/tests/conformance2/wasm/getbuffersubdata-16gb-wasm-memory.html @@ -0,0 +1,48 @@ + + + + + +getBufferSubData test to Wasm Memory 16GB in size. + + + + + + +
+
+ + + + diff --git a/sdk/tests/conformance2/wasm/getbuffersubdata-4gb-wasm-memory.html b/sdk/tests/conformance2/wasm/getbuffersubdata-4gb-wasm-memory.html new file mode 100644 index 000000000..09a336b75 --- /dev/null +++ b/sdk/tests/conformance2/wasm/getbuffersubdata-4gb-wasm-memory.html @@ -0,0 +1,48 @@ + + + + + +getBufferSubData test to Wasm Memory 4GB in size. + + + + + + +
+
+ + + +