[SERVER-62177] Implement non-standard Array class functions for backwards compatibility Created: 17/Dec/21 Updated: 03/Jan/24 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Justin Seyster | Assignee: | Backlog - Query Execution |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | query-product-scope-1, query-product-urgency-3, query-product-value-1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Query Execution
|
||||||||
| Participants: | |||||||||
| Description |
|
Several non-standard Array functions (such as Array.concat) existed in MozJS-60 but were removed in MozJS-91. Note that the Mozilla issue report refers to these functions as "generic," but they would be best described as "static member functions" if we were to use C++ terminology. Note that this does not apply to member functions like Array.prototype.concat, which are part of the standard and continue to work in MozJS-91. |
| Comments |
| Comment by Xiaochen Wu [ 31/Mar/23 ] |
|
We don't think it is something we should work on any time soon. Suggest to backlog! |
| Comment by Ethan Zhang (Inactive) [ 30/Mar/22 ] |
|
Oh good catch! max.hirschhorn I did not find this before. I will include it in the downstream impact message for the MozJS project as well! |
| Comment by Max Hirschhorn [ 29/Mar/22 ] |
|
Not sure if this has been noted elsewhere but the String generic methods were also removed. https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/68#javascript |