diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2025-04-21 16:23:42 +0200 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2025-04-21 16:23:42 +0200 |
commit | e5e724829a21bc507414a7b30dcd987158f1cc5e (patch) | |
tree | dd39818ea562064b451903d67ab272ae12208f98 /tests/test262.patch | |
parent | fbf7d8a205e9ecbefed5d72947c53272405d2cee (diff) | |
download | quickjs-e5e724829a21bc507414a7b30dcd987158f1cc5e.tar.gz quickjs-e5e724829a21bc507414a7b30dcd987158f1cc5e.zip |
added staging test262 tests
Diffstat (limited to 'tests/test262.patch')
-rw-r--r-- | tests/test262.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/test262.patch b/tests/test262.patch index 93acea5..3047751 100644 --- a/tests/test262.patch +++ b/tests/test262.patch @@ -70,3 +70,23 @@ index b397be0..c197ddc 100644 } return result; } +diff --git a/harness/sm/non262.js b/harness/sm/non262.js +index c1829e3..3a3ee27 100644 +--- a/harness/sm/non262.js ++++ b/harness/sm/non262.js +@@ -41,8 +41,6 @@ globalThis.createNewGlobal = function() { + return $262.createRealm().global + } + +-function print(...args) { +-} + function assertEq(...args) { + assert.sameValue(...args) + } +@@ -71,4 +69,4 @@ if (globalThis.createExternalArrayBuffer === undefined) { + if (globalThis.enableGeckoProfilingWithSlowAssertions === undefined) { + globalThis.enableGeckoProfilingWithSlowAssertions = globalThis.enableGeckoProfiling = + globalThis.disableGeckoProfiling = () => {} +-} +\ No newline at end of file ++} |