mirror of
https://github.com/jquery/jquery.git
synced 2026-01-24 11:18:20 -05:00
Adding in test case to support #9211.
This commit is contained in:
@@ -9,9 +9,9 @@ var fs = require("fs"),
|
||||
extract = /<a href="\/ticket\/(\d+)" title="View ticket">(.*?)<[^"]+"component">\s*(\S+)/g;
|
||||
|
||||
var opts = {
|
||||
version: "1.6",
|
||||
short_version: "1.6",
|
||||
final_version: "1.6",
|
||||
version: "1.6.1 RC 1",
|
||||
short_version: "1.6rc1",
|
||||
final_version: "1.6.1",
|
||||
categories: []
|
||||
};
|
||||
|
||||
|
||||
Submodule test/qunit updated: d97b37ec32...9887663380
@@ -1398,7 +1398,7 @@ test("jQuery.buildFragment - no plain-text caching (Bug #6779)", function() {
|
||||
});
|
||||
|
||||
test( "jQuery.html - execute scripts escaped with html comment or CDATA (#9221)", function() {
|
||||
expect( 2 );
|
||||
expect( 3 );
|
||||
jQuery( [
|
||||
'<script type="text/javascript">',
|
||||
'<!--',
|
||||
@@ -1413,4 +1413,11 @@ test( "jQuery.html - execute scripts escaped with html comment or CDATA (#9221)"
|
||||
'//]]>',
|
||||
'</script>'
|
||||
].join ( "\n" ) ).appendTo( "#qunit-fixture" );
|
||||
jQuery( [
|
||||
'<script type="text/javascript">',
|
||||
'<!--//--><![CDATA[//><!--',
|
||||
'ok( true, "<!--//--><![CDATA[//><!-- (Drupal case) handled" );',
|
||||
'//--><!]]>',
|
||||
'</script>'
|
||||
].join ( "\n" ) ).appendTo( "#qunit-fixture" );
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user