-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
groupCollapsed is not available in the console polyfill when debugging in JSC (iOS) #21446
Comments
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
Summary: `groupCollapsed` is used to group logs but collapsed which is very useful when the console has many logs (e.g. when using `redux-logger`). For developers who prefer to debug iOS apps using Safari JSC, the `groupCollapsed` was not polyfilled. Fixes #21446 Pull Request resolved: #21457 Differential Revision: D13761796 Pulled By: cpojer fbshipit-source-id: e7c4f1ff4728c6a7f6ffd6cc629f7fbc1aa67e87
Summary: `groupCollapsed` is used to group logs but collapsed which is very useful when the console has many logs (e.g. when using `redux-logger`). For developers who prefer to debug iOS apps using Safari JSC, the `groupCollapsed` was not polyfilled. Fixes facebook#21446 Pull Request resolved: facebook#21457 Differential Revision: D13761796 Pulled By: cpojer fbshipit-source-id: e7c4f1ff4728c6a7f6ffd6cc629f7fbc1aa67e87
Environment
Description
The console polyfill doesn't have the
groupCollapsed
function when debugging using Safari.This makes the console log very spammy as we can't collapse any console log calls.
Reproducible Demo
react-native run-ios
console.groupCollapsed
in the console and you will getundefined
Notes
react-native/Libraries/polyfills/console.js
Line 539 in 1151c09
because not having to "Debug JS remotely" is crash free and much faster.
The text was updated successfully, but these errors were encountered: