You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yep, looks like tainting affected the maps being used in the caches which caused Intl to fail to initialize. The fix is probably to expose a platform.Map and use new platform.Map() instead of new Map().
…nd Object.defineProperty.
Merge pull request #3196 from dilijev:intl-tainting
* Expose and use platform.Map
* Use ObjectDefineProperty instead of Object.defineProperty
Fixes#3189
…ting of Map and Object.defineProperty.
Merge pull request #3196 from dilijev:intl-tainting
* Expose and use platform.Map
* Use ObjectDefineProperty instead of Object.defineProperty
Fixes#3189
https://stackoverflow.com/a/44637643/646551
Steps to reproduce
Run the following code using ch.exe:
Expected result
dateString contains something like "20/06/2017 5:46:36 PM"
Actual result
Workaround
Uncomment the first line so Intl is initialised before Map is overridden.
Other browsers
Google Chrome: Not affected
Mozilla Firefox: Not affected
The text was updated successfully, but these errors were encountered: