question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AsyncIterator: Attempting to change value of a readonly property

See original GitHub issue

What

When including the es2018 bundle, we get the following exception on some iOS devices.

Details

The stack trace points to the asyncIterator polyfill.

Additional information

Example user agents:

  • Mozilla/5.0 (iPhone; CPU iPhone OS 13_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 144.0.0.17.119 (iPhone12,1; iOS 13_5_1; en_CA; en-CA; scale=2.00; 828x1792; 217426887)
  • Mozilla/5.0 (iPhone; CPU iPhone OS 13_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 148.0.0.26.120 (iPhone10,3; iOS 13_5_1; en_US; en-US; scale=3.00; 1125x2436; 226453516)
  • Mozilla/5.0 (iPhone; CPU iPhone OS 13_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Mobile/15E148 Safari/604.1
  • Mozilla/5.0 (iPhone; CPU iPhone OS 13_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) GSA/114.0.318129667 Mobile/15E148 Safari/604.1

Possibly related #230

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
klarstrupcommented, Jan 20, 2022

Still seeing this around on 3.110.1

1reaction
vanderhoopcommented, Nov 1, 2021

Hey @JakeChampion, we’re still seeing this issue of attempting to overwrite the readonly and already available Symbol.asyncIterator API, specifically in iOS safari, versions 14.X and 15.X.

Interestingly enough, we’re not seeing this on Mac OS, even on the latest versions (14.X and 15.X). I suspect this is due to the user agent string of the iOS safaris

We’re on polyfill.io, version 3.108.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: Attempting to change value of a readonly property ...
I am answering my own question as I found this link which is solving this problem. Set top box is using webkit to...
Read more >
for await...of - JavaScript - MDN Web Docs
The for await...of statement creates a loop iterating over async iterable objects as well as sync iterables. This statement can only be used ......
Read more >
Node.js v19.3.0 Documentation
ifError(value); assert.match(string, regexp[, message]); assert. ... Functions to convert from C types to Node-API ... asyncIterator](). Class: fs.Dirent.
Read more >
Creating readonly objects and array properties
The code contains a variable given a Result type, which in tern has readonly array and object properties. Let's try to add a...
Read more >
Built-in Types — Python 3.11.1 documentation
However, when using the default arguments, don't try to convert a value ... prime P . The value of P is made available...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found