Skip to content

Commit 176b139

Browse files
Version 7.1.7: Fixed a crash affecting JavaScript iteration protocols in V8 (GitHub Issue #299); disabled V8 pointer compression to improve performance and fix GitHub Issue #291; added support for Visual Studio 2022; added symbols to managed component packages. Tested with V8 9.5.172.21.
1 parent ced3162 commit 176b139

22 files changed

Lines changed: 69 additions & 34 deletions

File tree

ClearScript/DocumentLoader.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
using System.Diagnostics;
88
using System.IO;
99
using System.Linq;
10-
using System.Net;
1110
using System.Net.Http;
1211
using System.Threading;
1312
using System.Threading.Tasks;
@@ -406,9 +405,9 @@ private async Task<Document> LoadDocumentAsync(DocumentSettings settings, Uri ur
406405
}
407406
else
408407
{
409-
using (var client = new WebClient())
408+
using (var client = new HttpClient())
410409
{
411-
contents = await client.DownloadStringTaskAsync(uri).ConfigureAwait(false);
410+
contents = await client.GetStringAsync(uri).ConfigureAwait(false);
412411
}
413412
}
414413

ClearScript/Exports/VersionSymbols.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77

88
#define CLEARSCRIPT_VERSION_STRING "7.1.7"
99
#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

ClearScript/Properties/AssemblyInfo.Core.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
[assembly: ComVisible(false)]
2121
[assembly: AssemblyVersion("7.1.7")]
2222
[assembly: AssemblyFileVersion("7.1.7")]
23-
[assembly: AssemblyInformationalVersion("7.1.7-preview")]
23+
[assembly: AssemblyInformationalVersion("7.1.7")]
2424

2525
namespace Microsoft.ClearScript.Properties
2626
{
2727
internal static class ClearScriptVersion
2828
{
2929
public const string Triad = "7.1.7";
30-
public const string Informational = "7.1.7-preview";
30+
public const string Informational = "7.1.7";
3131
}
3232
}

ClearScript/Properties/AssemblyInfo.V8.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
[assembly: ComVisible(false)]
1818
[assembly: AssemblyVersion("7.1.7")]
1919
[assembly: AssemblyFileVersion("7.1.7")]
20-
[assembly: AssemblyInformationalVersion("7.1.7-preview")]
20+
[assembly: AssemblyInformationalVersion("7.1.7")]

ClearScript/Properties/AssemblyInfo.Windows.Core.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
[assembly: ComVisible(false)]
1919
[assembly: AssemblyVersion("7.1.7")]
2020
[assembly: AssemblyFileVersion("7.1.7")]
21-
[assembly: AssemblyInformationalVersion("7.1.7-preview")]
21+
[assembly: AssemblyInformationalVersion("7.1.7")]

ClearScript/Properties/AssemblyInfo.Windows.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
[assembly: ComVisible(false)]
1818
[assembly: AssemblyVersion("7.1.7")]
1919
[assembly: AssemblyFileVersion("7.1.7")]
20-
[assembly: AssemblyInformationalVersion("7.1.7-preview")]
20+
[assembly: AssemblyInformationalVersion("7.1.7")]

ClearScriptBenchmarks/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
[assembly: ComVisible(false)]
1414
[assembly: AssemblyVersion("7.1.7")]
1515
[assembly: AssemblyFileVersion("7.1.7")]
16-
[assembly: AssemblyInformationalVersion("7.1.7-preview")]
16+
[assembly: AssemblyInformationalVersion("7.1.7")]

ClearScriptBenchmarks/SunSpider.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Collections.Generic;
66
using System.Diagnostics;
77
using System.Linq;
8-
using System.Net;
8+
using System.Net.Http;
99
using System.Text;
1010

1111
namespace Microsoft.ClearScript.Test
@@ -113,9 +113,9 @@ private static int RunTest(ScriptEngine engine, MockDOM mockDOM, int index)
113113

114114
private static string DownloadFileAsString(string name)
115115
{
116-
using (var client = new WebClient())
116+
using (var client = new HttpClient())
117117
{
118-
return client.DownloadString(baseUrl + name);
118+
return client.GetStringAsync(baseUrl + name).Result;
119119
}
120120
}
121121

ClearScriptConsole/ConsoleTest.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,13 @@ public static unsafe void BugFix_V8StackLimitIntegerOverflow()
7878

7979
public static void BugFix_MultipleAppDomains()
8080
{
81+
#pragma warning disable SYSLIB0024 // Creating and unloading AppDomains is not supported and throws an exception
82+
8183
var domain1 = AppDomain.CreateDomain("domain1");
8284
var domain2 = AppDomain.CreateDomain("domain2");
8385

86+
#pragma warning restore SYSLIB0024 // Creating and unloading AppDomains is not supported and throws an exception
87+
8488
var obj1 = (MultiAppDomainTest)domain1.CreateInstanceAndUnwrap(Assembly.GetEntryAssembly().FullName, typeof(MultiAppDomainTest).FullName);
8589
var obj2 = (MultiAppDomainTest)domain2.CreateInstanceAndUnwrap(Assembly.GetEntryAssembly().FullName, typeof(MultiAppDomainTest).FullName);
8690

ClearScriptConsole/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
[assembly: ComVisible(false)]
1414
[assembly: AssemblyVersion("7.1.7")]
1515
[assembly: AssemblyFileVersion("7.1.7")]
16-
[assembly: AssemblyInformationalVersion("7.1.7-preview")]
16+
[assembly: AssemblyInformationalVersion("7.1.7")]

0 commit comments

Comments
 (0)