Commit d4aff802 authored by jeresig's avatar jeresig Committed by wycats

Adjust isPlainObject test to run in an iframe.

parent 568db29c
...@@ -271,7 +271,7 @@ test("isPlainObject", function() { ...@@ -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();
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment