| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ced3162 commit 176b139
22 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,7 +7,6 @@ | |||
| 7 | 7 | using System.Diagnostics; | |
| 8 | 8 | using System.IO; | |
| 9 | 9 | using System.Linq; | |
| 10 | - using System.Net; | ||
| 11 | 10 | using System.Net.Http; | |
| 12 | 11 | using System.Threading; | |
| 13 | 12 | using System.Threading.Tasks; | |
@@ -406,9 +405,9 @@ private async Task<Document> LoadDocumentAsync(DocumentSettings settings, Uri ur | |||
| 406 | 405 | } | |
| 407 | 406 | else | |
| 408 | 407 | { | |
| 409 | - using (var client = new WebClient()) | ||
| 408 | + using (var client = new HttpClient()) | ||
| 410 | 409 | { | |
| 411 | - contents = await client.DownloadStringTaskAsync(uri).ConfigureAwait(false); | ||
| 410 | + contents = await client.GetStringAsync(uri).ConfigureAwait(false); | ||
| 412 | 411 | } | |
| 413 | 412 | } | |
| 414 | 413 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,5 +7,5 @@ | |||
| 7 | 7 | ||
| 8 | 8 | #define CLEARSCRIPT_VERSION_STRING "7.1.7" | |
| 9 | 9 | #define CLEARSCRIPT_VERSION_COMMA_SEPARATED 7,1,7 | |
| 10 | - #define CLEARSCRIPT_VERSION_STRING_INFORMATIONAL "7.1.7-preview" | ||
| 11 | - #define CLEARSCRIPT_FILE_FLAGS VS_FF_PRERELEASE | ||
| 10 | + #define CLEARSCRIPT_VERSION_STRING_INFORMATIONAL "7.1.7" | ||
| 11 | + #define CLEARSCRIPT_FILE_FLAGS 0L | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,13 +20,13 @@ | |||
| 20 | 20 | [assembly: ComVisible(false)] | |
| 21 | 21 | [assembly: AssemblyVersion("7.1.7")] | |
| 22 | 22 | [assembly: AssemblyFileVersion("7.1.7")] | |
| 23 | - [assembly: AssemblyInformationalVersion("7.1.7-preview")] | ||
| 23 | + [assembly: AssemblyInformationalVersion("7.1.7")] | ||
| 24 | 24 | ||
| 25 | 25 | namespace Microsoft.ClearScript.Properties | |
| 26 | 26 | { | |
| 27 | 27 | internal static class ClearScriptVersion | |
| 28 | 28 | { | |
| 29 | 29 | public const string Triad = "7.1.7"; | |
| 30 | - public const string Informational = "7.1.7-preview"; | ||
| 30 | + public const string Informational = "7.1.7"; | ||
| 31 | 31 | } | |
| 32 | 32 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,4 +17,4 @@ | |||
| 17 | 17 | [assembly: ComVisible(false)] | |
| 18 | 18 | [assembly: AssemblyVersion("7.1.7")] | |
| 19 | 19 | [assembly: AssemblyFileVersion("7.1.7")] | |
| 20 | - [assembly: AssemblyInformationalVersion("7.1.7-preview")] | ||
| 20 | + [assembly: AssemblyInformationalVersion("7.1.7")] | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,4 +18,4 @@ | |||
| 18 | 18 | [assembly: ComVisible(false)] | |
| 19 | 19 | [assembly: AssemblyVersion("7.1.7")] | |
| 20 | 20 | [assembly: AssemblyFileVersion("7.1.7")] | |
| 21 | - [assembly: AssemblyInformationalVersion("7.1.7-preview")] | ||
| 21 | + [assembly: AssemblyInformationalVersion("7.1.7")] | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,4 +17,4 @@ | |||
| 17 | 17 | [assembly: ComVisible(false)] | |
| 18 | 18 | [assembly: AssemblyVersion("7.1.7")] | |
| 19 | 19 | [assembly: AssemblyFileVersion("7.1.7")] | |
| 20 | - [assembly: AssemblyInformationalVersion("7.1.7-preview")] | ||
| 20 | + [assembly: AssemblyInformationalVersion("7.1.7")] | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,4 +13,4 @@ | |||
| 13 | 13 | [assembly: ComVisible(false)] | |
| 14 | 14 | [assembly: AssemblyVersion("7.1.7")] | |
| 15 | 15 | [assembly: AssemblyFileVersion("7.1.7")] | |
| 16 | - [assembly: AssemblyInformationalVersion("7.1.7-preview")] | ||
| 16 | + [assembly: AssemblyInformationalVersion("7.1.7")] | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,7 +5,7 @@ | |||
| 5 | 5 | using System.Collections.Generic; | |
| 6 | 6 | using System.Diagnostics; | |
| 7 | 7 | using System.Linq; | |
| 8 | - using System.Net; | ||
| 8 | + using System.Net.Http; | ||
| 9 | 9 | using System.Text; | |
| 10 | 10 | ||
| 11 | 11 | namespace Microsoft.ClearScript.Test | |
@@ -113,9 +113,9 @@ private static int RunTest(ScriptEngine engine, MockDOM mockDOM, int index) | |||
| 113 | 113 | ||
| 114 | 114 | private static string DownloadFileAsString(string name) | |
| 115 | 115 | { | |
| 116 | - using (var client = new WebClient()) | ||
| 116 | + using (var client = new HttpClient()) | ||
| 117 | 117 | { | |
| 118 | - return client.DownloadString(baseUrl + name); | ||
| 118 | + return client.GetStringAsync(baseUrl + name).Result; | ||
| 119 | 119 | } | |
| 120 | 120 | } | |
| 121 | 121 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -78,9 +78,13 @@ public static unsafe void BugFix_V8StackLimitIntegerOverflow() | |||
| 78 | 78 | ||
| 79 | 79 | public static void BugFix_MultipleAppDomains() | |
| 80 | 80 | { | |
| 81 | + #pragma warning disable SYSLIB0024 // Creating and unloading AppDomains is not supported and throws an exception | ||
| 82 | + | ||
| 81 | 83 | var domain1 = AppDomain.CreateDomain("domain1"); | |
| 82 | 84 | var domain2 = AppDomain.CreateDomain("domain2"); | |
| 83 | 85 | ||
| 86 | + #pragma warning restore SYSLIB0024 // Creating and unloading AppDomains is not supported and throws an exception | ||
| 87 | + | ||
| 84 | 88 | var obj1 = (MultiAppDomainTest)domain1.CreateInstanceAndUnwrap(Assembly.GetEntryAssembly().FullName, typeof(MultiAppDomainTest).FullName); | |
| 85 | 89 | var obj2 = (MultiAppDomainTest)domain2.CreateInstanceAndUnwrap(Assembly.GetEntryAssembly().FullName, typeof(MultiAppDomainTest).FullName); | |
| 86 | 90 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,4 +13,4 @@ | |||
| 13 | 13 | [assembly: ComVisible(false)] | |
| 14 | 14 | [assembly: AssemblyVersion("7.1.7")] | |
| 15 | 15 | [assembly: AssemblyFileVersion("7.1.7")] | |
| 16 | - [assembly: AssemblyInformationalVersion("7.1.7-preview")] | ||
| 16 | + [assembly: AssemblyInformationalVersion("7.1.7")] | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments