aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorOleg Gaidarenko <markelog@gmail.com>2015-05-09 21:39:49 +0300
committerOleg Gaidarenko <markelog@gmail.com>2015-05-19 13:43:34 +0300
commit0705be475092aede1eddae01319ec931fb9c65fc (patch)
tree668bda9f5668c3f4dd21b8d30ab5d57a6100f58b /test
parentc074006a69db73a116dc04ec78844468a8cea7d3 (diff)
downloadjquery-0705be475092aede1eddae01319ec931fb9c65fc.tar.gz
jquery-0705be475092aede1eddae01319ec931fb9c65fc.zip
Event: remove deprecated event aliases
Fixes gh-2286 Closes gh-2287 Ref trac-11733
Diffstat (limited to 'test')
-rw-r--r--test/unit/event.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/test/unit/event.js b/test/unit/event.js
index d9bdafc34..a84ec087a 100644
--- a/test/unit/event.js
+++ b/test/unit/event.js
@@ -901,7 +901,7 @@ test("mouseenter, mouseleave don't catch exceptions", function() {
if ( jQuery.fn.click ) {
test("trigger() shortcuts", function() {
- expect(6);
+ expect(5);
var counter, clickCounter,
elem = jQuery("<li><a href='#'>Change location</a></li>").prependTo("#firstUL");
@@ -933,13 +933,6 @@ if ( jQuery.fn.click ) {
jQuery("#simon1").click();
equal( clickCounter, 1, "Check that click, triggers onclick event handler on an a tag also" );
- elem = jQuery("<img />").load(function(){
- ok( true, "Trigger the load event, using the shortcut .load() (#2819)");
- }).load();
-
- // manually clean up detached elements
- elem.remove();
-
// test that special handlers do not blow up with VML elements (#7071)
jQuery("<xml:namespace ns='urn:schemas-microsoft-com:vml' prefix='v' />").appendTo("head");
jQuery("<v:oval id='oval' style='width:100pt;height:75pt;' fillcolor='red'> </v:oval>").appendTo("#form");