From f8c62a49fb73536a0b94eb7e0ece6d660e379500 Mon Sep 17 00:00:00 2001 From: test262-automation Date: Wed, 5 Sep 2018 18:21:18 +0000 Subject: [PATCH 1/2] [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha ce279990f8 on Wed Sep 05 2018 18:18:55 GMT+0000 (Coordinated Universal Time) --- .../javascriptcore/stress/regress-189185.js | 1 + .../javascriptcore/stress/regress-189292.js | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 implementation-contributed/javascriptcore/stress/regress-189292.js diff --git a/implementation-contributed/javascriptcore/stress/regress-189185.js b/implementation-contributed/javascriptcore/stress/regress-189185.js index d67f9d41b2..c016efd268 100644 --- a/implementation-contributed/javascriptcore/stress/regress-189185.js +++ b/implementation-contributed/javascriptcore/stress/regress-189185.js @@ -1,4 +1,5 @@ //@ runDefault +//@ skip if $architecture == "x86" // This passes if it does not crash. new WebAssembly.CompileError({ valueOf() { diff --git a/implementation-contributed/javascriptcore/stress/regress-189292.js b/implementation-contributed/javascriptcore/stress/regress-189292.js new file mode 100644 index 0000000000..4314f9abe3 --- /dev/null +++ b/implementation-contributed/javascriptcore/stress/regress-189292.js @@ -0,0 +1,18 @@ +//@ runDefault + +function assert(a, b) { + if (a != b) + throw "FAIL"; +} + +function test(script) { + try { + eval(script); + } catch (e) { + return e; + } +} + +assert(test("class C1 { async constructor() { } }"), "SyntaxError: Cannot declare an async method named 'constructor'."); +assert(test("class C1 { *constructor() { } }"), "SyntaxError: Cannot declare a generator function named 'constructor'."); +assert(test("class C1 { async *constructor() { } }"), "SyntaxError: Cannot declare an async generator method named 'constructor'."); From eee8723d91afa0d25238cec7a1a8f237f330ceee Mon Sep 17 00:00:00 2001 From: test262-automation Date: Wed, 5 Sep 2018 18:21:22 +0000 Subject: [PATCH 2/2] [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files. sourceRevisionAtLastExport: ce279990f8 targetRevisionAtLastExport: 170f4cbbb --- implementation-contributed/curation_logs/javascriptcore.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/implementation-contributed/curation_logs/javascriptcore.json b/implementation-contributed/curation_logs/javascriptcore.json index 1fa6ef461c..8bf7f05d11 100644 --- a/implementation-contributed/curation_logs/javascriptcore.json +++ b/implementation-contributed/curation_logs/javascriptcore.json @@ -1,6 +1,6 @@ { - "sourceRevisionAtLastExport": "ce279990f8", - "targetRevisionAtLastExport": "170f4cbbb", + "sourceRevisionAtLastExport": "3ced8564a6", + "targetRevisionAtLastExport": "f8c62a49f", "curatedFiles": { "/stress/Number-isNaN-basics.js": "DELETED_IN_TARGET", "/stress/Object_static_methods_Object.getOwnPropertyDescriptors-proxy.js": "DELETED_IN_TARGET",