From: jeresig <jeresig@gmail.com>
Date: Wed, 24 Mar 2010 19:18:11 +0000 (-0400)
Subject: Adjust isPlainObject test to run in an iframe.
X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=3b221da8b03265543f335f6160b945bfe55f8d9e;p=jquery.git

Adjust isPlainObject test to run in an iframe.
---

diff --git a/test/unit/core.js b/test/unit/core.js
index eccf544..590bb0c 100644
--- a/test/unit/core.js
+++ b/test/unit/core.js
@@ -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();
 });