We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fb4159 commit c3e257fCopy full SHA for c3e257f
dotnet/src/webdriver/DevTools/Json/StringConverter.cs
@@ -19,7 +19,6 @@ internal sealed class StringConverter : JsonConverter<string>
19
}
20
catch (InvalidOperationException)
21
{
22
- // Backwards compatibility with Newtonsoft tolerating invalid UTF-16 sequences
23
// CDP sometimes sends invalid surrogate pairs on file upload
24
25
var bytes = reader.ValueSpan;
@@ -28,7 +27,7 @@ internal sealed class StringConverter : JsonConverter<string>
28
27
29
sb.Append(Convert.ToChar(b));
30
31
-
+
32
return sb.ToString();
33
34
0 commit comments