mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
949296571b
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43459 Changelog: [General][Changed] - Console polyfill now copies all properties from the existing `console` object Fusebox now exposes a full WHATWG `console` object integrated directly with CDP debugging (D54826073). Some WHATWG `console` methods are missing from React Native's polyfill/shim, so let's pass those through unmodified so they can still be called. (Long term, we shouldn't need most of `console.js`, but let's get there gradually as there are many RN users still depending on `nativeLoggingHook` etc.) NOTE: We also update the "bundled" copy of `console.js` that lives in the jsinspector-modern C++ test suite. Reviewed By: huntie Differential Revision: D54827902 fbshipit-source-id: c6c9128903496810192614f4f8d80b68b02e25c4