react-native/Libraries/Blob/__tests__
Matt Hargett 63038500a2 Flesh out the URL polyfill a bit more (#22901)
Summary:
This expands functionality of URL minimally so Apollo Server can run in React Native contexts. Add explicit-fail getters so undefined values won't get generated from the otherwise missing implemenation.

Use of URL in apollo-server here: 458bc71ead/packages/apollo-datasource-rest/src/RESTDataSource.ts (L79)

Credit to my colleague dysonpro for debugging the issue and providing the initial working stub implementation.

Changelog:
----------

Help reviewers and the release process by writing your own changelog entry. See http://facebook.github.io/react-native/docs/contributing#changelog for an example.

[INTERNAL] [ENHANCEMENT] - Support construction, toString(), and href() of URL objects.
Pull Request resolved: https://github.com/facebook/react-native/pull/22901

Differential Revision: D13690954

Pulled By: cpojer

fbshipit-source-id: 7966bc17be8af9bf656bffea5d530b1e626acfb3
2019-01-16 05:31:55 -08:00
..
Blob-test.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
BlobManager-test.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
File-test.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
FileReader-test.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
URL-test.js Flesh out the URL polyfill a bit more (#22901) 2019-01-16 05:31:55 -08:00