diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2015-03-25 23:10:12 +0100 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2015-03-25 23:14:23 +0100 |
commit | 19c0377fcc92a765c8a15ce68119f52fad2aae1b (patch) | |
tree | 7401059724e2ea91620c5584fe1c2cda5fdc5b13 /test/unit/data.js | |
parent | 7b111310977a30d02a8260a7ed6c9c437bb1b0a5 (diff) | |
download | jquery-19c0377fcc92a765c8a15ce68119f52fad2aae1b.tar.gz jquery-19c0377fcc92a765c8a15ce68119f52fad2aae1b.zip |
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 95c0a10e15477a5031185e2d656d896905562afa)
Fixes gh-2153
Closes gh-2154
Diffstat (limited to 'test/unit/data.js')
-rw-r--r-- | test/unit/data.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/data.js b/test/unit/data.js index e7f701771..2e85acaec 100644 --- a/test/unit/data.js +++ b/test/unit/data.js @@ -134,7 +134,7 @@ test("Data is not being set on comment and text nodes", function() { }); test("jQuery.acceptData", function() { - expect( 11 ); + expect( 10 ); var flash, pdf; @@ -142,7 +142,6 @@ test("jQuery.acceptData", function() { 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" ); |