Skip to content

Commit

Permalink
IsCorsEnabled should be true in most cases where IsStandard is true (…
Browse files Browse the repository at this point in the history
…we default IsStandard to true)

Default IsSecure = true - seems like a logical default
  • Loading branch information
amaitland committed Mar 27, 2017
1 parent b432d5a commit 0a2693f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CefSharp/CefCustomScheme.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public sealed class CefCustomScheme

/// <summary>
/// If true the scheme can be sent CORS requests.
/// This value should be true in most cases where IsStandard| is true.
/// This value should be true in most cases where IsStandard is true.
/// </summary>
public bool IsCorsEnabled { get; set; }

Expand All @@ -101,8 +101,8 @@ public CefCustomScheme()
IsStandard = true;
IsLocal = false;
IsDisplayIsolated = false;
IsSecure = false;
IsCorsEnabled = false;
IsSecure = true;
IsCorsEnabled = true;
}

/// <summary>
Expand Down

0 comments on commit 0a2693f

Please sign in to comment.