Upload Kmake

This commit is contained in:
Gorochu
2026-05-26 23:36:42 -07:00
parent ba051b2f74
commit 555ec72358
41615 changed files with 13344630 additions and 1 deletions

View File

@ -0,0 +1,5 @@
// Copyright 2020 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
console.log('load1.js');

View File

@ -0,0 +1,7 @@
// Copyright 2020 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
console.log('/shell.js');
if (!ok)
throw new Error(`assertion failed: ${f} did not throw as expected`);

View File

@ -0,0 +1,22 @@
// Copyright 2020 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
load('load1.js');
loadRelativeToScript('load2.js');
console.log('load.js');
if (!ok)
throw new Error(`Assertion failed: Some text`);
print("Assertion failed: Some text");
// Another check that exceptions get thrown by the main test file.
try {
if (test) {
throw Exception();
}
} catch (e){}
// Check that we can load template literals with null cooked value.
check()`\01`;

View File

@ -0,0 +1,5 @@
// Copyright 2020 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
console.log('load2.js');

View File

@ -0,0 +1,38 @@
// Copyright 2020 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original: resources/spidermonkey_stubs.js
var document = {
all: undefined
};
// Original: spidermonkey/shell.js
console.log('/shell.js');
if (!ok) ;
// Original: spidermonkey/test/shell.js
console.log('/test/shell.js');
function testFun(test) {
if (test) ;
}
testFun(() => {
;
});
// Original: spidermonkey/load1.js
console.log('load1.js');
// Original: spidermonkey/test/load2.js
console.log('load2.js');
// Original: spidermonkey/test/load.js
console.log('load.js');
if (!ok) throw new Error(`*****tion failed: Some text`);
print("*****tion failed: Some text");
try {
if (test) {
throw Exception();
}
} catch (e) {}
check()`\01`;

View File

@ -0,0 +1,11 @@
// Copyright 2020 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
console.log('/test/shell.js');
function testFun(test) {
if (test) throw Exception();
}
testFun(() => { throw Exception(() => { throw Exception()}); });