git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96ea3d6
)
Adjust isPlainObject test to run in an iframe.
author
jeresig
<jeresig@gmail.com>
Wed, 24 Mar 2010 19:18:11 +0000
(15:18 -0400)
committer
jeresig
<jeresig@gmail.com>
Wed, 24 Mar 2010 19:18:11 +0000
(15:18 -0400)
test/unit/core.js
patch
|
blob
|
history
diff --git
a/test/unit/core.js
b/test/unit/core.js
index
eccf544
..
590bb0c
100644
(file)
--- 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();
});