Bug 189745 - Array.prototype.reverse() shoud not trigger CoW
Summary: Array.prototype.reverse() shoud not trigger CoW
Status: CLOSED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: Other
Hardware: Unspecified Other
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-19 05:11 PDT by fanmingfei
Modified: 2018-09-19 05:38 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fanmingfei 2018-09-19 05:11:12 PDT
Question & Answer: https://stackoverflow.com/questions/52390368/array-state-will-be-cached-in-ios-12-safari-is-bug-or-feature/52392901#52392901

Use modify Array.prototype.reverse to resolve it.
https://github.com/fanmingfei/array-reverse-ios12

Please Check it.
Comment 1 fanmingfei 2018-09-19 05:14:06 PDT
The demo: https://fanmingfei.github.io/array-reverse-ios12/origin.html
Comment 2 fanmingfei 2018-09-19 05:26:11 PDT
I hasn't notice this.
https://bugs.webkit.org/show_bug.cgi?id=188794