Skip to content
Permalink
Browse files

enable test for binding events cross-frame that was fixed in r6316

  • Loading branch information
brandonaaron committed Apr 29, 2009
1 parent 851846a commit 45b8d2531ef6a7c775ca3bac06bcad6ffc5419e3
Showing with 5 additions and 9 deletions.
  1. +5 −9 test/unit/event.js
@@ -47,15 +47,11 @@ test("bind(), no data", function() {

test("bind(), iframes", function() {
// events don't work with iframes, see #939 - this test fails in IE because of contentDocument
// var doc = document.getElementById("iframe").contentDocument;
//
// doc.body.innerHTML = "<input type='text'/>";
//
// var input = doc.getElementsByTagName("input")[0];
//
// jQuery(input).bind("click",function() {
// ok( true, "Binding to element inside iframe" );
// }).click();
var doc = jQuery("#loadediframe").contents();

jQuery("div", doc).bind("click", function() {
ok( true, "Binding to element inside iframe" );
}).click().unbind('click');
});

test("bind(), trigger change on select", function() {

0 comments on commit 45b8d25

Please sign in to comment.
You can’t perform that action at this time.