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:47:17 +0300
commitef30bdf4f1b361b6f2e99f5b7233b419f95a62f2 (patch)
tree5b0682978dd115dc4269641623e2a78bcd70c087 /test
parent57fb2dc02ec286c51b456f0e460ad258f332b6ac (diff)
downloadjquery-ef30bdf4f1b361b6f2e99f5b7233b419f95a62f2.tar.gz
jquery-ef30bdf4f1b361b6f2e99f5b7233b419f95a62f2.zip
Event: remove deprecated event aliases
(Cherry-picked from 0705be475092aede1eddae01319ec931fb9c65fc) 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 dbfb2cd53..0476b8e92 100644
--- a/test/unit/event.js
+++ b/test/unit/event.js
@@ -905,7 +905,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");
@@ -937,13 +937,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");