You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[FileExplorerPreview] Move everything from WebBrowser to WebView2 (microsoft#17588)
* Move MarkdownPreviewHandler from WebBrowser to WebView2
* Disable context menu
Open links in default browser
* Update expect.txt
* Move SvgPreviewHandler from WebBrowser to WebView2
* Migrate SvgThumbnailProvider from WebBrowser to WebView2
* Migrate CustomControlTest to WebView2
Remove WebBrowser related stuff
* Update tests
* Revert GetThumbnail return value
Disable javascript dialogs in WebView2 for Svg thumbnail and preview
* expect.txt
* Increase timeout for Markdown tests
* Add sleeps
* Add zero check
Copy file name to clipboardExpand all lines: src/codeAnalysis/GlobalSuppressions.cs
-1
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,6 @@
26
26
[assembly:SuppressMessage("Microsoft.Design","CA1009:DeclareEventHandlersCorrectly",Scope="member",Target="Microsoft.Templates.Core.Locations.TemplatesSynchronization.#SyncStatusChanged",Justification="Using an Action<object, SyncStatusEventArgs> does not allow the required notation")]
27
27
28
28
// Non general suppressions
29
-
[assembly:SuppressMessage("Microsoft.Globalization","CA1303:Do not pass literals as localized parameters",Justification="The WebBrowser is loading source code to be shown to the user. No localization required.",MessageId="System.Windows.Controls.WebBrowser.NavigateToString(System.String)",Scope="member",Target="Microsoft.Templates.UI.Controls.CodeViewer.#UpdateCodeView(System.Func`2<System.String,System.String>,System.String,System.String,System.Boolean)")]
30
29
[assembly:SuppressMessage("Microsoft.Globalization","CA1303:Do not pass literals as localized parameters",Justification="This is part of the markdown processing",MessageId="System.Windows.Documents.Run.#ctor(System.String)",Scope="member",Target="Microsoft.Templates.UI.Controls.Markdown.#ImageInlineEvaluator(System.Text.RegularExpressions.Match)")]
31
30
[assembly:SuppressMessage("Microsoft.Globalization","CA1308:NormalizeStringsToUppercase",Justification="We need to have the names of these keys in lowercase to be able to compare with the keys becoming form the template json. ContainsKey does not allow StringComparer specification to IgnoreCase",Scope="member",Target="Microsoft.Templates.Core.ITemplateInfoExtensions.#GetQueryableProperties(Microsoft.TemplateEngine.Abstractions.ITemplateInfo)")]
32
31
[assembly:SuppressMessage("Microsoft.Globalization","CA1308:NormalizeStringsToUppercase",Justification="We need to have the names of these keys in lowercase to be able to compare with the keys becoming form the template json. ContainsKey does not allow StringComparer specification to IgnoreCase",Scope="member",Target="Microsoft.Templates.Core.Composition.CompositionQuery.#Match(System.Collections.Generic.IEnumerable`1<Microsoft.Templates.Core.Composition.QueryNode>,Microsoft.Templates.Core.Composition.QueryablePropertyDictionary)")]
Copy file name to clipboardExpand all lines: src/modules/imageresizer/codeAnalysis/GlobalSuppressions.cs
-1
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,6 @@
26
26
[assembly:SuppressMessage("Microsoft.Design","CA1009:DeclareEventHandlersCorrectly",Scope="member",Target="Microsoft.Templates.Core.Locations.TemplatesSynchronization.#SyncStatusChanged",Justification="Using an Action<object, SyncStatusEventArgs> does not allow the required notation")]
27
27
28
28
// Non general suppressions
29
-
[assembly:SuppressMessage("Microsoft.Globalization","CA1303:Do not pass literals as localized parameters",Justification="The WebBrowser is loading source code to be shown to the user. No localization required.",MessageId="System.Windows.Controls.WebBrowser.NavigateToString(System.String)",Scope="member",Target="Microsoft.Templates.UI.Controls.CodeViewer.#UpdateCodeView(System.Func`2<System.String,System.String>,System.String,System.String,System.Boolean)")]
30
29
[assembly:SuppressMessage("Microsoft.Globalization","CA1303:Do not pass literals as localized parameters",Justification="This is part of the markdown processing",MessageId="System.Windows.Documents.Run.#ctor(System.String)",Scope="member",Target="Microsoft.Templates.UI.Controls.Markdown.#ImageInlineEvaluator(System.Text.RegularExpressions.Match)")]
31
30
[assembly:SuppressMessage("Microsoft.Globalization","CA1308:NormalizeStringsToUppercase",Justification="We need to have the names of these keys in lowercase to be able to compare with the keys becoming form the template json. ContainsKey does not allow StringComparer specification to IgnoreCase",Scope="member",Target="Microsoft.Templates.Core.ITemplateInfoExtensions.#GetQueryableProperties(Microsoft.TemplateEngine.Abstractions.ITemplateInfo)")]
32
31
[assembly:SuppressMessage("Microsoft.Globalization","CA1308:NormalizeStringsToUppercase",Justification="We need to have the names of these keys in lowercase to be able to compare with the keys becoming form the template json. ContainsKey does not allow StringComparer specification to IgnoreCase",Scope="member",Target="Microsoft.Templates.Core.Composition.CompositionQuery.#Match(System.Collections.Generic.IEnumerable`1<Microsoft.Templates.Core.Composition.QueryNode>,Microsoft.Templates.Core.Composition.QueryablePropertyDictionary)")]
0 commit comments