diff --git a/test/unit/data.js b/test/unit/data.js index d4cc14b97..7330f02cd 100644 --- a/test/unit/data.js +++ b/test/unit/data.js @@ -159,10 +159,6 @@ test("jQuery.data()", 25, function() { dataTests( document.createElement("embed") ); }); -test("jQuery.data()", 25, function() { - dataTests( document.createElement("applet") ); -}); - test("jQuery.data(object/flash)", 25, function() { var flash = document.createElement("object"); flash.setAttribute( "classid", "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ); @@ -766,14 +762,15 @@ test(".data doesn't throw when calling selection is empty. #13551", function() { } }); -test("jQuery.acceptData", 11, function() { +test("jQuery.acceptData", function() { + expect( 10 ); + var flash, pdf; ok( jQuery.acceptData( document ), "document" ); ok( jQuery.acceptData( document.documentElement ), "documentElement" ); ok( jQuery.acceptData( {} ), "object" ); ok( jQuery.acceptData( document.createElement( "embed" ) ), "embed" ); - ok( jQuery.acceptData( document.createElement( "applet" ) ), "applet" ); flash = document.createElement( "object" ); flash.setAttribute( "classid", "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" );