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.

"ios_saf/11.0.0" es.symbol.description does not support

See original GitHub issue

A bug report

What

Symbol('foo').description == 'foo' in “ios_saf/11.0.0” return false

Details

  • Browser : Mozilla/5.0 (iPhone; CPU iPhone OS 11_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1
  • Device IPhone 6 puls 11.4.1

image

// node_modules/core-js-compat/data.json

{
"es.symbol": {
    "android": "49",
    "chrome": "49",
    "deno": "1.0",
    "edge": "15",
    "electron": "0.37",
    "firefox": "51",
    "ios": "10.0",
    "node": "6.0",
    "opera": "36",
    "opera_mobile": "36",
    "safari": "10.0",
    "samsung": "5.0"
  },
  "es.symbol.description": {
    "android": "70",
    "chrome": "70",
    "deno": "1.0",
    "edge": "74",
    "electron": "5.0",
    "firefox": "63",
    "ios": "12.2",
    "node": "11.0",
    "opera": "57",
    "opera_mobile": "49",
    "safari": "12.1",
    "samsung": "10.0"
  }
}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13

github_iconTop GitHub Comments

1reaction
romainmenkecommented, Nov 15, 2021

I don’t think that url is correct. When using always you should also use gated (not required, but we don’t test or expect everything to work with always without gated).

I think the polyfill script is just throwing errors because of that and any polyfills after the error are not applied.

1reaction
chenyuluncommented, Nov 15, 2021

I was wrong, I thought these attributes were added by default, so I added them again

// ....
'Reflect.preventExtensions',
  'Reflect.set',
  'Reflect.setPrototypeOf',
+ 'Symbol.prototype.description',
+ 'Symbol.for',
+ 'Symbol.isConcatSpreadable',
+ 'Symbol.keyFor',
  // 'setImmediate',
]);
Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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