Adjust isPlainObject test to run in an iframe.
This commit is contained in:
parent
96ea3d615e
commit
3b221da8b0
|
@ -271,7 +271,7 @@ test("isPlainObject", function() {
|
||||||
|
|
||||||
var doc = iframe.contentDocument || iframe.contentWindow.document;
|
var doc = iframe.contentDocument || iframe.contentWindow.document;
|
||||||
doc.open();
|
doc.open();
|
||||||
doc.write("<body onload='window.top.iframeDone(Object);'>");
|
doc.write("<body onload='window.parent.iframeDone(Object);'>");
|
||||||
doc.close();
|
doc.close();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue