enable test for binding events cross-frame that was fixed in r6316
This commit is contained in:
parent
851846aabe
commit
45b8d2531e
|
@ -47,15 +47,11 @@ test("bind(), no data", function() {
|
||||||
|
|
||||||
test("bind(), iframes", function() {
|
test("bind(), iframes", function() {
|
||||||
// events don't work with iframes, see #939 - this test fails in IE because of contentDocument
|
// events don't work with iframes, see #939 - this test fails in IE because of contentDocument
|
||||||
// var doc = document.getElementById("iframe").contentDocument;
|
var doc = jQuery("#loadediframe").contents();
|
||||||
//
|
|
||||||
// doc.body.innerHTML = "<input type='text'/>";
|
jQuery("div", doc).bind("click", function() {
|
||||||
//
|
ok( true, "Binding to element inside iframe" );
|
||||||
// var input = doc.getElementsByTagName("input")[0];
|
}).click().unbind('click');
|
||||||
//
|
|
||||||
// jQuery(input).bind("click",function() {
|
|
||||||
// ok( true, "Binding to element inside iframe" );
|
|
||||||
// }).click();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
test("bind(), trigger change on select", function() {
|
test("bind(), trigger change on select", function() {
|
||||||
|
|
Loading…
Reference in a new issue