Summary: | [JSC] Cache the number of non-custom constructor arguments | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Kentaro Hara <haraken> | ||||||||
Component: | WebCore JavaScript | Assignee: | Kentaro Hara <haraken> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | abarth, darin, japhet, sam, webkit.review.bot | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 77393 | ||||||||||
Attachments: |
|
Description
Kentaro Hara
2012-02-08 18:56:19 PST
Created attachment 126221 [details]
Patch
Comment on attachment 126221 [details]
Patch
Looks good. I’d like to see some test covering this, though. It’s not great to land a fix like this without a test.
Created attachment 127096 [details]
Patch
(In reply to comment #2) > (From update of attachment 126221 [details]) > Looks good. I’d like to see some test covering this, though. It’s not great to land a fix like this without a test. Darin: I added the tests. Would you take another look? Thanks! Comment on attachment 127096 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=127096&action=review > LayoutTests/fast/js/constructor-length.html:8 > +description("This tests the length property of constructors."); Could we sort these alphabetically? Created attachment 127098 [details]
patch for commit
sorted tests alphabetically
Comment on attachment 127098 [details] patch for commit Clearing flags on attachment: 127098 Committed r107772: <http://trac.webkit.org/changeset/107772> |