mirror of
https://github.com/bellard/quickjs.git
synced 2025-09-30 15:04:24 +03:00
update test262
This commit is contained in:
@@ -71,10 +71,10 @@ index b397be0..c197ddc 100644
|
||||
return result;
|
||||
}
|
||||
diff --git a/harness/sm/non262.js b/harness/sm/non262.js
|
||||
index c1829e3..3a3ee27 100644
|
||||
index 89df923..79ded15 100644
|
||||
--- a/harness/sm/non262.js
|
||||
+++ b/harness/sm/non262.js
|
||||
@@ -41,8 +41,6 @@ globalThis.createNewGlobal = function() {
|
||||
@@ -34,8 +34,6 @@ globalThis.createNewGlobal = function() {
|
||||
return $262.createRealm().global
|
||||
}
|
||||
|
||||
@@ -83,15 +83,8 @@ index c1829e3..3a3ee27 100644
|
||||
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
|
||||
+}
|
||||
diff --git a/test/staging/sm/extensions/regress-469625-01.js b/test/staging/sm/extensions/regress-469625-01.js
|
||||
index 5b62aeb..da07aae 100644
|
||||
index 81f84fc..4652002 100644
|
||||
--- a/test/staging/sm/extensions/regress-469625-01.js
|
||||
+++ b/test/staging/sm/extensions/regress-469625-01.js
|
||||
@@ -14,8 +14,7 @@ esid: pending
|
||||
@@ -104,17 +97,17 @@ index 5b62aeb..da07aae 100644
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
@@ -27,9 +26,6 @@ function test()
|
||||
printBugNumber(BUGNUMBER);
|
||||
printStatus (summary);
|
||||
|
||||
@@ -24,9 +23,6 @@ test();
|
||||
|
||||
function test()
|
||||
{
|
||||
- expect = 'TypeError: [].__proto__ is not a function';
|
||||
-
|
||||
-
|
||||
Array.prototype.__proto__ = function () { return 3; };
|
||||
|
||||
try
|
||||
@@ -38,8 +34,10 @@ function test()
|
||||
@@ -35,8 +31,10 @@ function test()
|
||||
}
|
||||
catch(ex)
|
||||
{
|
||||
|
Reference in New Issue
Block a user