Skip to content

Commit

Permalink
Update Wasm tests (#49809)
Browse files Browse the repository at this point in the history
* Update Wasm tests

* Ignore linting errors in automatically imported Wasm tests

---------

Co-authored-by: wpt-pr-bot <wpt-pr-bot@users.noreply.github.com>
Co-authored-by: Panos Astithas <pastithas@google.com>
  • Loading branch information
3 people authored Dec 20, 2024
1 parent dbed603 commit 6b2239d
Show file tree
Hide file tree
Showing 300 changed files with 168,453 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lint.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -806,3 +806,9 @@ TESTDRIVER-IN-UNSUPPORTED-TYPE: payment-handler/change-shipping-address-manual.h
TESTDRIVER-IN-UNSUPPORTED-TYPE: payment-handler/change-shipping-option-manual.https.html
TESTDRIVER-IN-UNSUPPORTED-TYPE: payment-handler/payment-request-event-manual.https.html
TESTDRIVER-IN-UNSUPPORTED-TYPE: payment-handler/supports-shipping-contact-delegation-manual.https.html

# Tests automatically imported from the WebAssembly/spec repository that should be removed after getting fixed upstream.
SET TIMEOUT: wasm/core/js/harness/testharness.js
ASSERT_THROWS: wasm/core/js/harness/testharness.js
GENERATE_TESTS: wasm/core/js/harness/testharness.js
PROMISE_REJECTS: wasm/core/js/harness/testharness.js
16 changes: 16 additions & 0 deletions wasm/core/address.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/address.wast.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions wasm/core/align.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/align.wast.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions wasm/core/binary-leb128.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/binary-leb128.wast.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions wasm/core/binary.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/binary.wast.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions wasm/core/block.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/block.wast.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions wasm/core/br.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/br.wast.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions wasm/core/br_if.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/br_if.wast.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions wasm/core/br_table.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/br_table.wast.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions wasm/core/bulk.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/bulk.wast.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions wasm/core/call.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/call.wast.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions wasm/core/call_indirect.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/call_indirect.wast.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions wasm/core/comments.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/comments.wast.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions wasm/core/const.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/const.wast.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions wasm/core/conversions.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/conversions.wast.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions wasm/core/custom.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/custom.wast.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions wasm/core/data.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/data.wast.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions wasm/core/elem.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/elem.wast.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions wasm/core/endianness.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/endianness.wast.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions wasm/core/exports.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/exports.wast.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions wasm/core/f32.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/f32.wast.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions wasm/core/f32_bitwise.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/f32_bitwise.wast.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions wasm/core/f32_cmp.wast.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>WebAssembly Web Platform Test</title>
</head>
<body>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./js/harness/async_index.js"></script>

<div id=log></div>
<script src="./js/f32_cmp.wast.js"></script>
</body>
</html>
Loading

0 comments on commit 6b2239d

Please sign in to comment.