mirror of
https://github.com/jquery/jquery.git
synced 2024-10-05 11:34:18 +00:00
Enforce expects in events.js (https://github.com/jquery/2012-dev-summit/issues/53) Closes gh-961
This commit is contained in:
parent
57aa7977dd
commit
6ac8716789
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user