mirror of
https://github.com/jquery/jquery.git
synced 2026-01-24 18:08:30 -05:00
Adjust isPlainObject test to run in an iframe.
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user