Permalink
Browse files

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
  • Loading branch information...
mgol committed Mar 25, 2015
1 parent 0065e1f commit 95c0a10e15477a5031185e2d656d896905562afa
Showing with 3 additions and 6 deletions.
  1. +3 −6 test/unit/data.js
View
@@ -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" );

0 comments on commit 95c0a10

Please sign in to comment.