-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WASM] Environment.UserName raises "not supported" exception #38164
Comments
Looks like on Xamarin iOS/Android we returned a dummy "somebody" string from Environment.UserName. |
#38256 fixed the crash but we're still reporting We should probably return the same dummy value that we return for Xamarin.iOS/Android. |
Also, the test should be re-enabled or skipped without ActiveIssue before we close the issue. runtime/src/libraries/System.Runtime.Extensions/tests/System/Environment.UserName.cs Line 9 in 4aef3cc
|
Update: UserName now fails with
System.IO.IOException : Not supported
This is causingSystem.Runtime.Extensions.Tests
to crash.Crashes with:I guess this API should throw PNSE in WASM?Will disable the tests against this issue in the meantime.
cc: @steveisok @lewing @marek-safar @akoeplinger
The text was updated successfully, but these errors were encountered: