Adjust isPlainObject test to run in an iframe.
This commit is contained in:
parent
568db29c2b
commit
d4aff802da
1 changed files with 1 additions and 1 deletions
|
@ -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