Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 Area-Undefined
New issue 48163 by wyqbailey: javascript bug of find parent document in
iframe page
http://code.google.com/p/chromium/issues/detail?id=48163
Chrome Version : <6.0.447.0 dev>
URLs (if applicable) :
Other browsers tested:
Safari 5:OK
Firefox 3.x:OK
IE 7:OK
IE 8:OK
opera 10:OK
What steps will reproduce the problem?
1.a simple html page that include a iframe element
2.in the iframe src page,get parent page document using javascript
3.code like this:<script>alert(window.parent.document)</script>
What is the expected result?
object HTMLDocument
What happens instead?
undefined