Adjust isPlainObject test to run in an iframe.
This commit is contained in:
parent
568db29c2b
commit
d4aff802da
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue