mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
c19fd11ccf
Summary: The `XMLHttpRequest` example with a single file download doesn't seem to be working anymore. The test case is quite old so it seems like something changed in between with the example URLs. - Changing the URL for the example. Using another file from `filesamples.com` as it's already being used in the chunk file download example as well. - Adding an `onerror` callback as it was loading infinitely when something went wrong. ## Changelog: [INTERNAL] [FIXED] - fixing `XMLHttpRequest` file download example Pull Request resolved: https://github.com/facebook/react-native/pull/47152 Test Plan: Using the `rn-tester`, see the before and after for comparison <details> <summary>Before and after videos</summary> **Before**: https://github.com/user-attachments/assets/01f89cd9-0f5e-4ddb-9ff2-c3e053be5413 **After**: https://github.com/user-attachments/assets/59ef161c-d5ba-43e3-827e-e250cc663276 </details> Reviewed By: cipolleschi Differential Revision: D65126952 Pulled By: NickGerleman fbshipit-source-id: 7a4b2187570fd85d4444bfe63ae7bc77b09af261 |
||
---|---|---|
.. | ||
assets | ||
babel-plugin-codegen | ||
community-cli-plugin | ||
core-cli-utils | ||
debugger-frontend | ||
dev-middleware | ||
eslint-config-react-native | ||
eslint-plugin-react-native | ||
eslint-plugin-specs | ||
gradle-plugin | ||
helloworld | ||
hermes-inspector-msggen | ||
metro-config | ||
normalize-color | ||
polyfills | ||
react-native | ||
react-native-babel-preset | ||
react-native-babel-transformer | ||
react-native-bots | ||
react-native-codegen | ||
react-native-codegen-typescript-test | ||
react-native-info | ||
react-native-popup-menu-android | ||
react-native-test-library | ||
react-native-test-renderer | ||
rn-tester | ||
typescript-config | ||
virtualized-lists |