3 Commits
Author SHA1 Message Date
github-actions[bot]andKatelyn Gadd 23a291174a [release/5.0] Backport string marshaling fixes #42486 and #42658 (#42884)
Co-authored-by: Katelyn Gadd <[email protected]>
2020-10-09 19:46:03 +02:00
Kenneth PounceyandStephen Toub ed5190b919 [release/5.0-rc2] [wasm][http] Add support for Blob URLs (#42522)
* [wasm][http] Add support for Blob URLs

* Modify the string to read `Only 'http' 'https' and 'blob' schemes are allowed.` for browser

* Add more tests

* Add blob Uri marshal test

* Address review comments to add comments within code about intentions.

* Multiple review comments.

- Split Fact into theory instead of specific test for blob.
- Split large test into multiple tests as well as mark it Theory where appropriate.

* Rename

* Add message to other validations as well

* Change name

* Update src/libraries/System.Net.Http/src/Resources/Strings.resx

Co-authored-by: Stephen Toub <[email protected]>

* Create partial classes for HttpUtilities to replace the proliferating use of TARGETS_BROWSER in the sources.

* Define and call `HttpUtilities.InvalidUriMessage` to provide the invalid message to be thrown.

* Fix CI Build

* Rename modules to follow current standards

Co-authored-by: Stephen Toub <[email protected]>
2020-09-21 19:12:14 -05:00
Steve Pfister 5620160d49 [Wasm] Rename System.Runtime.InteropServices.JavaScript to System.Private.Runtime.InteropServices.JavaScript (#40478)
Fixes https://github.com/dotnet/runtime/issues/39042
2020-08-07 09:45:17 -04:00