Skip to content

Commit 19c0377

Browse files
committed
Core: Update tested jsdom, drop obsolete workarounds
The latest version supporting Node.js is 3.1.2; some workarounds are not needed for this version. For example, in jsdom 3.1.2 a document created via document.implementation.createHTMLDocument( "" ) has a body. (partially cherry-picked from 95c0a10) Fixes gh-2153 Closes gh-2154
1 parent 7b11131 commit 19c0377

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/unit/data.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,15 +134,14 @@ test("Data is not being set on comment and text nodes", function() {
134134
});
135135

136136
test("jQuery.acceptData", function() {
137-
expect( 11 );
137+
expect( 10 );
138138

139139
var flash, pdf;
140140

141141
ok( jQuery.acceptData( document ), "document" );
142142
ok( jQuery.acceptData( document.documentElement ), "documentElement" );
143143
ok( jQuery.acceptData( {} ), "object" );
144144
ok( !jQuery.acceptData( document.createElement( "embed" ) ), "embed" );
145-
ok( !jQuery.acceptData( document.createElement( "applet" ) ), "applet" );
146145

147146
flash = document.createElement( "object" );
148147
flash.setAttribute( "classid", "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" );

0 commit comments

Comments
 (0)