react-native-macos/Libraries/Blob
jeswinsimon e104204ae0 URL: Do not prepend baseUrl if the URL is not a relative URL (#26009)
Summary:
Fix for bug https://github.com/facebook/react-native/issues/26006 URL with base is always used, even when absolute URL is provided

## Changelog

[Javascript] [Fixed] - `URL`: Base url value is ignored when the input url is not a relative url.
Pull Request resolved: https://github.com/facebook/react-native/pull/26009

Test Plan:
`new URL('http://github.com', 'http://google.com')` now returns `http://github.com/`
Added a test case to `URL-test.js` to verify the same.

Differential Revision: D16781921

Pulled By: cpojer

fbshipit-source-id: 038aca3610e34f513f603e8993f9a925b7d28626
2019-08-13 02:55:21 -07:00
..
__mocks__ xplat/js/react-native-github 2019-08-09 10:11:15 -07:00
__tests__ URL: Do not prepend baseUrl if the URL is not a relative URL (#26009) 2019-08-13 02:55:21 -07:00
Blob.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
BlobManager.js xplat/js/react-native-github 2019-08-09 10:11:15 -07:00
BlobRegistry.js xplat/js/react-native-github 2019-08-09 10:11:15 -07:00
BlobTypes.js Release underlying resources when JS instance in GC'ed (#24745) 2019-05-08 14:15:09 -07:00
File.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
FileReader.js xplat/js/react-native-github 2019-08-09 10:11:15 -07:00
NativeBlobModule.js xplat/js/react-native-github 2019-08-09 10:11:15 -07:00
NativeFileReaderModule.js xplat/js/react-native-github 2019-08-09 10:11:15 -07:00
RCTBlobCollector.h Release underlying resources when JS instance in GC'ed (#24745) 2019-05-08 14:15:09 -07:00
RCTBlobCollector.mm CocoaPods frameworks compatibility: Step 2 (#25619) 2019-07-24 23:27:09 -07:00
RCTBlobManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTBlobManager.mm CocoaPods frameworks compatibility: Step 2 (#25619) 2019-07-24 23:27:09 -07:00
RCTFileReaderModule.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTFileReaderModule.m CocoaPods frameworks compatibility: Step 2 (#25619) 2019-07-24 23:27:09 -07:00
React-RCTBlob.podspec Remove 's.static_framework = true' requirement for podspec (#25816) 2019-07-25 11:46:43 -07:00
URL.js URL: Do not prepend baseUrl if the URL is not a relative URL (#26009) 2019-08-13 02:55:21 -07:00