Adjust isPlainObject test to run in an iframe.

This commit is contained in:
jeresig 2010-03-24 15:18:11 -04:00
parent 96ea3d615e
commit 3b221da8b0

View file

@ -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();
});