aspnetcore/test/Microsoft.AspNetCore.Blazor.../TestFiles/RuntimeCodeGenerationTest
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
..
AsyncEventHandler_OnElement_ActionEventArgs_Lambda
AsyncEventHandler_OnElement_ActionEventArgs_MethodGroup
AsyncEventHandler_OnElement_Action_Lambda
AsyncEventHandler_OnElement_Action_MethodGroup
BindToComponent_SpecifiesValueAndChangeEvent_WithMatchingProperties Add type checking for component parameters 2018-06-05 19:58:50 -07:00
BindToComponent_SpecifiesValueAndChangeEvent_WithoutMatchingProperties
BindToComponent_SpecifiesValue_WithMatchingProperties Add type checking for component parameters 2018-06-05 19:58:50 -07:00
BindToComponent_SpecifiesValue_WithoutMatchingProperties
BindToComponent_TypeChecked_WithMatchingProperties Add type checking for component parameters 2018-06-05 19:58:50 -07:00
BindToElementFallback_WithFormat_WritesAttributes
BindToElementFallback_WritesAttributes
BindToElementWithSuffix_WritesAttributes
BindToElement_WritesAttributes
BuiltIn_BindToInputCheckbox_WritesAttributes
BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes
BuiltIn_BindToInputText_WithFormat_WritesAttributes
BuiltIn_BindToInputText_WritesAttributes
BuiltIn_BindToInputWithoutType_WritesAttributes
ChildComponent_Simple
ChildComponent_WithChildContent Reenable markup blocks (#1286) 2018-08-10 16:29:39 -07:00
ChildComponent_WithElementOnlyChildContent Reenable markup blocks (#1286) 2018-08-10 16:29:39 -07:00
ChildComponent_WithExplicitEventHandler
ChildComponent_WithExplicitStringParameter Add type checking for component parameters 2018-06-05 19:58:50 -07:00
ChildComponent_WithLambdaEventHandler
ChildComponent_WithNonPropertyAttributes
ChildComponent_WithPageDirective
ChildComponent_WithParameters Add type checking for component parameters 2018-06-05 19:58:50 -07:00
ChildComponent_WithWeaklyTypeEventHandler Fix #954 - use weak typing for 'event handlers' 2018-07-05 09:15:01 -07:00
ComponentParameter_TypeMismatch_ReportsDiagnostic Add type checking for component parameters 2018-06-05 19:58:50 -07:00
Component_WithDocType Reenable markup blocks (#1286) 2018-08-10 16:29:39 -07:00
Component_WithRef
Component_WithRef_WithChildContent Reenable markup blocks (#1286) 2018-08-10 16:29:39 -07:00
Element_WithRef
Element_WithRef_CSharpReservedWord
Element_WithRef_LeadingAt
Element_WithRef_NoLeadingAt
EventHandler_OnElement_ArbitraryEventName_WithEventArgsMethodGroup
EventHandler_OnElement_WithDelegate
EventHandler_OnElement_WithEventArgsLambdaDelegate
EventHandler_OnElement_WithEventArgsMethodGroup
EventHandler_OnElement_WithLambdaDelegate
EventHandler_OnElement_WithNoArgMethodGroup
EventHandler_OnElement_WithNoArgsLambdaDelegate
EventHandler_OnElement_WithString
LeadingWhiteSpace_WithCSharpExpression Reenable markup blocks (#1286) 2018-08-10 16:29:39 -07:00
LeadingWhiteSpace_WithComponent Reenable markup blocks (#1286) 2018-08-10 16:29:39 -07:00
LeadingWhiteSpace_WithDirective Reenable markup blocks (#1286) 2018-08-10 16:29:39 -07:00
Regression_597
Regression_609
Regression_772 Reenable markup blocks (#1286) 2018-08-10 16:29:39 -07:00
Regression_773 Reenable markup blocks (#1286) 2018-08-10 16:29:39 -07:00
Regression_784
ScriptTag_WithErrorSuppressed
TrailingWhiteSpace_WithCSharpExpression Reenable markup blocks (#1286) 2018-08-10 16:29:39 -07:00
TrailingWhiteSpace_WithComponent Reenable markup blocks (#1286) 2018-08-10 16:29:39 -07:00
TrailingWhiteSpace_WithDirective Reenable markup blocks (#1286) 2018-08-10 16:29:39 -07:00