From 5032c509e0536f5955c8ab0a8e3ecf0920aaee89 Mon Sep 17 00:00:00 2001 From: test262-automation <test262-automation@bocoup.com> Date: Wed, 22 Aug 2018 18:15:45 +0000 Subject: [PATCH] [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 93457d631e on Wed Aug 22 2018 18:13:32 GMT+0000 (Coordinated Universal Time) --- .../javascriptcore/stress/bug-188298.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 implementation-contributed/javascriptcore/stress/bug-188298.js diff --git a/implementation-contributed/javascriptcore/stress/bug-188298.js b/implementation-contributed/javascriptcore/stress/bug-188298.js new file mode 100644 index 0000000000..6691bff33c --- /dev/null +++ b/implementation-contributed/javascriptcore/stress/bug-188298.js @@ -0,0 +1,12 @@ +// This test passes if it does not crash. + +function foo() { + if (1 < 2); + while (true) { + if (1 < 2) break; + } +} + +for (var i = 0; i < 10000; i++) + foo(); + -- GitLab