diff options
author | James Huston <james@jameshuston.net> | 2012-10-15 12:16:49 -0400 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2012-10-15 12:16:49 -0400 |
commit | 6ac87167893e1de24761eaff47bbf9a20d0d6f98 (patch) | |
tree | ce5957253cef8ace8534b66f71a7643b5004c150 /test/unit/event.js | |
parent | 57aa7977dd6d88898b5d1cf748a4f85c1e7a3bee (diff) | |
download | jquery-6ac87167893e1de24761eaff47bbf9a20d0d6f98.tar.gz jquery-6ac87167893e1de24761eaff47bbf9a20d0d6f98.zip |
Enforce expects in events.js (https://github.com/jquery/2012-dev-summit/issues/53) Closes gh-961
Diffstat (limited to 'test/unit/event.js')
-rw-r--r-- | test/unit/event.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/event.js b/test/unit/event.js index 74d30dbb6..48ba2df91 100644 --- a/test/unit/event.js +++ b/test/unit/event.js @@ -420,6 +420,8 @@ test("bind/delegate bubbling, isDefaultPrevented", function() { }); test("bind(), iframes", function() { + expect( 1 ); + // events don't work with iframes, see #939 - this test fails in IE because of contentDocument var doc = jQuery("#loadediframe").contents(); @@ -2511,6 +2513,8 @@ test("delegate with change", function(){ }); test("delegate with submit", function() { + expect( 2 ); + var count1 = 0, count2 = 0; jQuery("#body").delegate("#testForm", "submit", function(ev) { |