[visualforce] Add test for VfUnescapeEl with $MessageChannel

This commit is contained in:
Andreas Dangel
2020-07-09 12:11:33 +02:00
parent 2fb196b16a
commit d89a6d080d
2 changed files with 17 additions and 0 deletions

View File

@@ -537,4 +537,17 @@
<a onclick="openTab({!HTMLENCODE('/apex/Download?redirectUrl=' + downloadURL)}', 'test');">
]]></code>
</test-code>
<test-code>
<description>Support new message channel feature #2620</description>
<expected-problems>0</expected-problems>
<code><![CDATA[
<script type="text/javascript">
// Binding message channel to variable accessible to static resource.
window.util = {
messageChannel: '{!$MessageChannel.Record_Selected__c}'
};
</script>
]]></code>
</test-code>
</test-data>