]> source.dussan.org Git - jquery.git/commitdiff
Adding in test case to support #9211.
authorJohn Resig <jeresig@gmail.com>
Wed, 11 May 2011 15:43:37 +0000 (11:43 -0400)
committerJohn Resig <jeresig@gmail.com>
Wed, 11 May 2011 15:43:37 +0000 (11:43 -0400)
build/release-notes.js
test/qunit
test/unit/manipulation.js

index 37b9d38973d300d700656642eb88fe0eb2efc848..0166732efb179a723d5fea2c8c2689357d30daf7 100644 (file)
@@ -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: []
 };
 
index d97b37ec322136406790e75d03333559f38bbecb..9887663380693009874e8c76f0bf77a921931766 160000 (submodule)
@@ -1 +1 @@
-Subproject commit d97b37ec322136406790e75d03333559f38bbecb
+Subproject commit 9887663380693009874e8c76f0bf77a921931766
index 0f980463f26d4f99c16535185d4f659e5b182b43..2f125b17ee35198da9f19762189b2f27c4d8af37 100644 (file)
@@ -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" );
 });