Skip to content
Permalink
Browse files

Adjust isPlainObject test to run in an iframe.

  • Loading branch information
jeresig authored and wycats committed Mar 24, 2010
1 parent 568db29 commit d4aff802da1882a4969b389f37ecb60b9d61f1ce
Showing with 1 addition and 1 deletion.
  1. +1 −1 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();
});

0 comments on commit d4aff80

Please sign in to comment.
You can’t perform that action at this time.