RESOLVED FIXED 170580
Fix and enable ChakraCore/test/es6/ES6Function_bugs.js after r215072
https://bugs.webkit.org/show_bug.cgi?id=170580
Summary Fix and enable ChakraCore/test/es6/ES6Function_bugs.js after r215072
Michael Saboff
Reported 2017-04-06 17:44:42 PDT
After change set r215072, ChakraCore/test/es6/ES6Function_bugs.js fails one subtest. That subtest however appears to be wrong. It checks that defineProperty("length") to a getter on a sealed function shouldn't throw. JSC and V8 both throw and that behavior seems to be consistent with the ECMAScript spec. That part of the test should be disabled.
Attachments
Patch (2.48 KB, patch)
2017-04-06 17:47 PDT, Michael Saboff
no flags
Michael Saboff
Comment 1 2017-04-06 17:47:16 PDT
JF Bastien
Comment 2 2017-04-07 17:37:37 PDT
Comment on attachment 306449 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=306449&action=review r=me > JSTests/ChakraCore/test/es6/ES6Function_bugs.js:32 > + * Verified that V8 also throws here. Can you file a bug on test262 for this?
Michael Saboff
Comment 3 2017-04-07 17:38:20 PDT
(In reply to JF Bastien from comment #2) > Comment on attachment 306449 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=306449&action=review > > r=me > > > JSTests/ChakraCore/test/es6/ES6Function_bugs.js:32 > > + * Verified that V8 also throws here. > > Can you file a bug on test262 for this? This is Chakra's own test.
WebKit Commit Bot
Comment 4 2017-04-07 17:56:27 PDT
Comment on attachment 306449 [details] Patch Clearing flags on attachment: 306449 Committed r215133: <http://trac.webkit.org/changeset/215133>
WebKit Commit Bot
Comment 5 2017-04-07 17:56:29 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.