Bug 142566

Summary: Class constructor should throw TypeError when "called"
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: JavaScriptCoreAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, buildbot, commit-queue, fpizlo, ggaren, mark.lam, rniwa, saam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 140491    
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from ews101 for mac-mavericks
none
Archive of layout-test-results from ews106 for mac-mavericks-wk2
none
Skipped the test
none
Don't enable ES6 by deafult none

Ryosuke Niwa
Reported 2015-03-10 21:55:56 PDT
ES6 disallows the constructor of a class to be involved with [[Call]] semantics.
Attachments
Patch (29.02 KB, patch)
2015-03-13 01:46 PDT, Ryosuke Niwa
no flags
Archive of layout-test-results from ews101 for mac-mavericks (586.22 KB, application/zip)
2015-03-13 02:41 PDT, Build Bot
no flags
Archive of layout-test-results from ews106 for mac-mavericks-wk2 (578.80 KB, application/zip)
2015-03-13 02:49 PDT, Build Bot
no flags
Skipped the test (35.11 KB, patch)
2015-03-13 13:04 PDT, Ryosuke Niwa
no flags
Don't enable ES6 by deafult (29.77 KB, patch)
2015-03-13 13:55 PDT, Ryosuke Niwa
no flags
Ryosuke Niwa
Comment 1 2015-03-13 01:46:40 PDT
Build Bot
Comment 2 2015-03-13 02:41:31 PDT
Comment on attachment 248580 [details] Patch Attachment 248580 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/6121258450157568 New failing tests: js/class-syntax-call.html
Build Bot
Comment 3 2015-03-13 02:41:35 PDT
Created attachment 248581 [details] Archive of layout-test-results from ews101 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-mavericks Platform: Mac OS X 10.9.5
Build Bot
Comment 4 2015-03-13 02:49:25 PDT
Comment on attachment 248580 [details] Patch Attachment 248580 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/5378845972627456 New failing tests: js/class-syntax-call.html
Build Bot
Comment 5 2015-03-13 02:49:28 PDT
Created attachment 248583 [details] Archive of layout-test-results from ews106 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Ryosuke Niwa
Comment 6 2015-03-13 13:04:02 PDT
Created attachment 248600 [details] Skipped the test
Michael Saboff
Comment 7 2015-03-13 13:27:49 PDT
Comment on attachment 248600 [details] Skipped the test You enable the ES6 class syntax feature, but the tests are disabled. Seems like these should match.
Ryosuke Niwa
Comment 8 2015-03-13 13:51:47 PDT
(In reply to comment #7) > Comment on attachment 248600 [details] > Skipped the test > > You enable the ES6 class syntax feature, but the tests are disabled. Seems > like these should match. Oh oops, that was supposed to be excluded. Let me re-upload the patch.
Ryosuke Niwa
Comment 9 2015-03-13 13:55:44 PDT
Created attachment 248606 [details] Don't enable ES6 by deafult
Michael Saboff
Comment 10 2015-03-13 14:48:13 PDT
Comment on attachment 248606 [details] Don't enable ES6 by deafult r=me
Ryosuke Niwa
Comment 11 2015-03-13 15:15:44 PDT
Comment on attachment 248606 [details] Don't enable ES6 by deafult Thanks for the review!
WebKit Commit Bot
Comment 12 2015-03-13 16:02:24 PDT
Comment on attachment 248606 [details] Don't enable ES6 by deafult Clearing flags on attachment: 248606 Committed r181490: <http://trac.webkit.org/changeset/181490>
WebKit Commit Bot
Comment 13 2015-03-13 16:02:32 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.