Skip to content
Permalink
Browse files
Adjust isPlainObject test to run in an iframe.
  • Loading branch information
jeresig committed Mar 24, 2010
1 parent 96ea3d6 commit 3b221da8b03265543f335f6160b945bfe55f8d9e
Showing 1 changed file with 1 addition and 1 deletion.
@@ -271,7 +271,7 @@ test("isPlainObject", function() {

var doc = iframe.contentDocument || iframe.contentWindow.document;
doc.open();
doc.write("<body onload='window.top.iframeDone(Object);'>");
doc.write("<body onload='window.parent.iframeDone(Object);'>");
doc.close();
});

0 comments on commit 3b221da

Please sign in to comment.