aspnetcore/test
Ryan Nowak a05cb42845 Reenable markup blocks (#1286)
* Reenable HtmlBlock unit tests

* Add E2E tests for HTML Block cases

* Remove harded GenerateBaselines=true

* Fix #1193

This commit addresses the root cause of #1193. When we merge HTML
text nodes into HTML blocks we need to re-encode any HTML entities that
were encoded eariler.

I did a bit of a deep dive on how HTML encoding is handled in Blazor and
I think this is the best strategy. I think it's valuable that the
BrowserRenderer uses document.createTextNode, which will always encode
the text - this handles dynamic content. We want to keep this in place
to avoid HTML injection attacks.

* Fix #1265 Reenable MarkupBlock

* test cleanup
2018-08-10 16:29:39 -07:00
..
Microsoft.AspNetCore.Blazor.Analyzers.Test
Microsoft.AspNetCore.Blazor.Browser.Test
Microsoft.AspNetCore.Blazor.Build.Test Reenable markup blocks (#1286) 2018-08-10 16:29:39 -07:00
Microsoft.AspNetCore.Blazor.E2ETest Reenable markup blocks (#1286) 2018-08-10 16:29:39 -07:00
Microsoft.AspNetCore.Blazor.Razor.Extensions.Test Reenable markup blocks (#1286) 2018-08-10 16:29:39 -07:00
Microsoft.AspNetCore.Blazor.Test Add HTML Block rewriting (#1146) 2018-07-23 18:18:07 +01:00
Microsoft.AspnetCore.Blazor.Server.Test Add HTML Block rewriting (#1146) 2018-07-23 18:18:07 +01:00
Microsoft.JSInterop.Test Allow passing DotNetObjectRef to JS in interop calls, and invoking 2018-07-19 18:57:17 +01:00
shared Add HTML Block rewriting (#1146) 2018-07-23 18:18:07 +01:00
testapps Reenable markup blocks (#1286) 2018-08-10 16:29:39 -07:00