diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2015-03-25 19:46:00 +0100 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2015-03-25 23:01:57 +0100 |
commit | 95c0a10e15477a5031185e2d656d896905562afa (patch) | |
tree | de1df60f36a0155e1ed68ac5e8186d2a71575728 | |
parent | 0065e1f3e3021fc2bcb32e915177498bca034b34 (diff) | |
download | jquery-95c0a10e15477a5031185e2d656d896905562afa.tar.gz jquery-95c0a10e15477a5031185e2d656d896905562afa.zip |
Data: Drop the tests relying on applets
BrowserStack regularly has outdated Java in their IE instances causing our
data tests to hang & give no output. Skip the tests that create applets,
applets are treated in the same way as an embed elements which we're already
testing.
Fixes gh-1938
Closes gh-2166
-rw-r--r-- | test/unit/data.js | 9 |
1 files changed, 3 insertions, 6 deletions
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(<embed>)", 25, function() { dataTests( document.createElement("embed") ); }); -test("jQuery.data(<applet>)", 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" ); |