-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Labels
arch-wasmWebAssembly architectureWebAssembly architecturearea-VM-threading-monodisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issueos-browserBrowser variant of arch-wasmBrowser variant of arch-wasm
Milestone
Description
The test internally calls the XmlDownloadManager
which makes a GET HTTP request to http://bla/
and at that point the test execution gets stuck and eventually timeouts. I assume that this is caused by making a HTTP request on a non-browser thread but there might be something else going on.
Ref #74408
Stack:
-> using (Stream respStream = await client.GetStreamAsync(uri).ConfigureAwait(false))
-> return GetNonFileStreamAsync(uri, credentials, proxy).GetAwaiter().GetResult();
-> XmlDownloadManager.GetStream(absoluteUri, _credentials, _proxy);
-> stream = (Stream?)_laterInitParam.inputUriResolver.GetEntity(_laterInitParam.inputbaseUri, string.Empty, typeof(Stream));
-> FinishInitUriString();
-> XmlResolver tmpResolver = GetXmlResolver() ?? GetDefaultPermissiveResolver();
-> XmlReader reader = XmlReader.Create(schemaUri, _readerSettings);
-> sc.Add("xsdauthor", "http://Bla");
GetNonFileStreamAsync
is called with a comment:
// This code should be changed if HttpClient ever gets real synchronous methods. For now,
// we just use the asynchronous methods and block waiting for them to complete.
Expected exception form the hanging function: [out of order message from the browser]: http://bla/ - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Metadata
Metadata
Assignees
Labels
arch-wasmWebAssembly architectureWebAssembly architecturearea-VM-threading-monodisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issueos-browserBrowser variant of arch-wasmBrowser variant of arch-wasm
Type
Projects
Status
Done