diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2013-05-08 21:07:41 -0400 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2013-05-09 14:53:15 -0400 |
commit | 9fdbc8bf33418f7b3a3a88df9a04ffee53c8dc66 (patch) | |
tree | 627b49f56c0415fbf023c4291467ab7acdf6e269 /test/unit/selector.js | |
parent | c9267ab078ad223eceb381fb45ab06a86baccfb0 (diff) | |
download | jquery-9fdbc8bf33418f7b3a3a88df9a04ffee53c8dc66.tar.gz jquery-9fdbc8bf33418f7b3a3a88df9a04ffee53c8dc66.zip |
Fix #13223. Re-allow leading space in HTML. Close gh-1264.
(cherry picked from commit 00eafdf028f7730665ce1c05ab44e3f0bc80fbc2)
Diffstat (limited to 'test/unit/selector.js')
-rw-r--r-- | test/unit/selector.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/unit/selector.js b/test/unit/selector.js index 440e7167b..7939ea350 100644 --- a/test/unit/selector.js +++ b/test/unit/selector.js @@ -73,18 +73,6 @@ test("disconnected nodes - jQuery only", function() { equal( $opt.is(":selected"), true, "selected option" ); }); -test("jQuery only - broken", 1, function() { - raises(function() { - // Setting context to null here somehow avoids QUnit's window.error handling - // making the e & e.message correct - // For whatever reason, without this, - // Sizzle.error will be called but no error will be seen in oldIE - jQuery.call( null, " <div/> " ); - }, function( e ) { - return (/syntax.err/i).test( e.message ); - }, "leading space invalid: $(' <div/> ')" ); -}); - testIframe("selector/html5_selector", "attributes - jQuery.attr", function( jQuery, window, document ) { expect( 35 ); |