Bug 216789

Summary: Functions should consistently enumerate length before name
Product: WebKit Reporter: Keith Miller <keith_miller>
Component: New BugsAssignee: Keith Miller <keith_miller>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, mark.lam, msaboff, saam, tzagallo, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
ews-feeder: commit-queue-
Patch
none
Patch for landing none

Description Keith Miller 2020-09-21 10:25:32 PDT
Functions should consistently enumerate length before name
Comment 1 Keith Miller 2020-09-21 11:25:26 PDT
Created attachment 409287 [details]
Patch
Comment 2 Keith Miller 2020-09-21 11:57:22 PDT
Created attachment 409290 [details]
Patch
Comment 3 Yusuke Suzuki 2020-09-21 12:56:28 PDT
Comment on attachment 409290 [details]
Patch

r=me
Comment 4 Mark Lam 2020-09-21 13:03:44 PDT
Comment on attachment 409290 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=409290&action=review

> Source/JavaScriptCore/runtime/InternalFunction.cpp:57
> +    // The enumeration order is length then name so we have to make sure we add the properties in that order.

/order is length then name so we/order must be length before name. So, we/
Comment 5 Keith Miller 2020-09-21 13:06:43 PDT
Comment on attachment 409290 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=409290&action=review

>> Source/JavaScriptCore/runtime/InternalFunction.cpp:57
>> +    // The enumeration order is length then name so we have to make sure we add the properties in that order.
> 
> /order is length then name so we/order must be length before name. So, we/

I changed it to "The enumeration order is length followed by name. So, we make sure to add the properties in that order."
Comment 6 Keith Miller 2020-09-21 13:06:55 PDT
Created attachment 409307 [details]
Patch for landing
Comment 7 EWS 2020-09-21 13:41:12 PDT
Committed r267364: <https://trac.webkit.org/changeset/267364>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 409307 [details].
Comment 8 Radar WebKit Bug Importer 2020-09-21 13:42:19 PDT
<rdar://problem/69324655>