haikuwebkit/JSTests/stress/toctou-having-a-bad-time-ne...

19 lines
379 B
JavaScript
Raw Permalink Normal View History

[JSC] Skip unrelated / too-compute-heavy tests in Apple Watch Series 3 https://bugs.webkit.org/show_bug.cgi?id=214768 Reviewed by Mark Lam. JSTests: We skip following tests in Apple Watch Series 3. 1. Tests take very long time to reproduce crash. 2. Tests for FTL, which are unrelated to Apple Watch Series 3. 3. Tests for fast for-of semantics update, which is not supported in 32bit architectures. 4. Tests for denormalized numbers where ceil / floor works differently in ARMv7k as expected. * ChakraCore.yaml: * stress/for-of-iterator-open-osr-at-inlined-return-non-object.js: * stress/for-of-iterator-open-osr-at-iterator-set-local.js: * stress/for-of-iterator-open-return-non-object.js: * stress/op_bitand.js: * stress/op_bitor.js: * stress/op_bitxor.js: * stress/op_lshift-ConstVar.js: * stress/op_lshift-VarConst.js: * stress/op_lshift-VarVar.js: * stress/op_mul-ConstVar.js: * stress/op_mul-VarConst.js: * stress/op_mul-VarVar.js: * stress/op_rshift-ConstVar.js: * stress/op_rshift-VarConst.js: * stress/op_rshift-VarVar.js: * stress/op_sub-ConstVar.js: * stress/op_sub-VarConst.js: * stress/op_sub-VarVar.js: * stress/op_urshift-ConstVar.js: * stress/op_urshift-VarConst.js: * stress/op_urshift-VarVar.js: * stress/spread-forward-call-varargs-stack-overflow.js: * stress/toctou-having-a-bad-time-new-array.js: LayoutTests: * js/script-tests/math-denorm.js: Canonical link: https://commits.webkit.org/227596@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@264873 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-07-25 00:25:32 +00:00
//@ skip if $buildType == "debug" || $model == "Apple Watch Series 3" # This test takes very long time to reproduce crash.
let code = `
function foo() {
return [Date.prototype];
}
for (let i = 0; i < 50; ++i) {
foo();
}
let [proto] = foo();
Object.defineProperty(proto, '0', {});
`;
for (let i = 0; i < 2000; i++) {
runString(code);
}